Sha256: 05bf6686c4fa39168be89afe53cb7a1743411ac7d8fb2bfd1bfbd3aac141f3c0

Contents?: true

Size: 1.56 KB

Versions: 5

Compression:

Stored size: 1.56 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_02_01
  module Models
    #
    # exportPolicy

    # Set of export policy rules
    #
    class VolumePatchPropertiesExportPolicy

      include MsRestAzure

      # @return [Array<ExportPolicyRule>] Export policy rule. Export policy
      # rule
      attr_accessor :rules


      #
      # Mapper for VolumePatchPropertiesExportPolicy class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'volumePatchProperties_exportPolicy',
          type: {
            name: 'Composite',
            class_name: 'VolumePatchPropertiesExportPolicy',
            model_properties: {
              rules: {
                client_side_validation: true,
                required: false,
                serialized_name: 'rules',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'ExportPolicyRuleElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'ExportPolicyRule'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_netapp-0.23.0 lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb
azure_mgmt_netapp-0.22.0 lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb
azure_mgmt_netapp-0.21.0 lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb
azure_mgmt_netapp-0.20.2 lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb
azure_mgmt_netapp-0.20.1 lib/2020-02-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb