Sha256: bbe0a44fdf1c77e470e939743554f68968da01027a764c5f0d81511c03f19423

Contents?: true

Size: 1.56 KB

Versions: 4

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

4 entries across 4 versions & 1 rubygems

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