Sha256: 572aa5b92ccfcd651c46692f50ecdc99acec671d11fbdbc96fc4522b7d5f83ce

Contents?: true

Size: 1.75 KB

Versions: 3

Compression:

Stored size: 1.75 KB

Contents

# 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::NetApp::Mgmt::V2020_07_01
  module Models
    #
    # Volume details using the backup policy
    #
    class VolumeBackups

      include MsRestAzure

      # @return [String] Volume name
      attr_accessor :volume_name

      # @return [Integer] Total count of backups for volume
      attr_accessor :backups_count

      # @return [Boolean] Policy enabled
      attr_accessor :policy_enabled


      #
      # Mapper for VolumeBackups class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'volumeBackups',
          type: {
            name: 'Composite',
            class_name: 'VolumeBackups',
            model_properties: {
              volume_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'volumeName',
                type: {
                  name: 'String'
                }
              },
              backups_count: {
                client_side_validation: true,
                required: false,
                serialized_name: 'backupsCount',
                type: {
                  name: 'Number'
                }
              },
              policy_enabled: {
                client_side_validation: true,
                required: false,
                serialized_name: 'policyEnabled',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_netapp-0.23.0 lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_backups.rb
azure_mgmt_netapp-0.22.0 lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_backups.rb
azure_mgmt_netapp-0.21.0 lib/2020-07-01/generated/azure_mgmt_netapp/models/volume_backups.rb