Sha256: a742ba2792bdb2ce8a908a07b2562a5360da26d26ecdf31af7bad8952b29b3ad

Contents?: true

Size: 1.46 KB

Versions: 3

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_07_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

3 entries across 3 versions & 1 rubygems

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