Sha256: 64b7d749f25c665e58ccde0ad576f309aed881f2470b2d6a1d330b24887a7a70

Contents?: true

Size: 1.71 KB

Versions: 6

Compression:

Stored size: 1.71 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::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10
  module Models
    #
    # Protection profile custom data details.
    #
    class PolicyProperties

      include MsRestAzure

      # @return [String] The FriendlyName.
      attr_accessor :friendly_name

      # @return [PolicyProviderSpecificDetails] The ReplicationChannelSetting.
      attr_accessor :provider_specific_details


      #
      # Mapper for PolicyProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PolicyProperties',
          type: {
            name: 'Composite',
            class_name: 'PolicyProperties',
            model_properties: {
              friendly_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'friendlyName',
                type: {
                  name: 'String'
                }
              },
              provider_specific_details: {
                client_side_validation: true,
                required: false,
                serialized_name: 'providerSpecificDetails',
                type: {
                  name: 'Composite',
                  polymorphic_discriminator: 'instanceType',
                  uber_parent: 'PolicyProviderSpecificDetails',
                  class_name: 'PolicyProviderSpecificDetails'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services_site_recovery-0.17.3 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/policy_properties.rb
azure_mgmt_recovery_services_site_recovery-0.17.2 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/policy_properties.rb
azure_mgmt_recovery_services_site_recovery-0.17.1 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/policy_properties.rb
azure_mgmt_recovery_services_site_recovery-0.17.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/policy_properties.rb
azure_mgmt_recovery_services_site_recovery-0.16.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/policy_properties.rb
azure_mgmt_recovery_services_site_recovery-0.15.2 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/policy_properties.rb