# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10
  module Models
    #
    # The retention details of the MT.
    #
    class RetentionVolume

      include MsRestAzure

      # @return [String] The volume name.
      attr_accessor :volume_name

      # @return [Integer] The volume capacity.
      attr_accessor :capacity_in_bytes

      # @return [Integer] The free space available in this volume.
      attr_accessor :free_space_in_bytes

      # @return [Integer] The threshold percentage.
      attr_accessor :threshold_percentage


      #
      # Mapper for RetentionVolume class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'RetentionVolume',
          type: {
            name: 'Composite',
            class_name: 'RetentionVolume',
            model_properties: {
              volume_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'volumeName',
                type: {
                  name: 'String'
                }
              },
              capacity_in_bytes: {
                client_side_validation: true,
                required: false,
                serialized_name: 'capacityInBytes',
                type: {
                  name: 'Number'
                }
              },
              free_space_in_bytes: {
                client_side_validation: true,
                required: false,
                serialized_name: 'freeSpaceInBytes',
                type: {
                  name: 'Number'
                }
              },
              threshold_percentage: {
                client_side_validation: true,
                required: false,
                serialized_name: 'thresholdPercentage',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end
