Sha256: a33c6086fd2498d22e898ea42c1926810c1de79998ca1b6d46c55ca4b484c8f9

Contents?: true

Size: 1.46 KB

Versions: 4

Compression:

Stored size: 1.46 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_06_01
  module Models
    #
    # List of Snapshot Policies
    #
    class SnapshotPoliciesList

      include MsRestAzure

      # @return [Array<SnapshotPolicy>] A list of snapshot policies
      attr_accessor :value


      #
      # Mapper for SnapshotPoliciesList class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'snapshotPoliciesList',
          type: {
            name: 'Composite',
            class_name: 'SnapshotPoliciesList',
            model_properties: {
              value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'value',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'SnapshotPolicyElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'SnapshotPolicy'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_netapp-0.23.0 lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb
azure_mgmt_netapp-0.22.0 lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb
azure_mgmt_netapp-0.21.0 lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb
azure_mgmt_netapp-0.20.2 lib/2020-06-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb