Sha256: 709b5f0bdb13455315e8baca0b66ceb8fcd49f6dab1fa49e32b378b61f8572b9

Contents?: true

Size: 1.87 KB

Versions: 6

Compression:

Stored size: 1.87 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
    #
    # Base class for Provider specific details for policies.
    #
    class PolicyProviderSpecificDetails

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["HyperVReplicaAzure"] = "HyperVReplicaAzurePolicyDetails"
      @@discriminatorMap["HyperVReplicaBasePolicyDetails"] = "HyperVReplicaBasePolicyDetails"
      @@discriminatorMap["HyperVReplica2012"] = "HyperVReplicaPolicyDetails"
      @@discriminatorMap["HyperVReplica2012R2"] = "HyperVReplicaBluePolicyDetails"
      @@discriminatorMap["InMageBasePolicyDetails"] = "InMageBasePolicyDetails"
      @@discriminatorMap["InMageAzureV2"] = "InMageAzureV2PolicyDetails"
      @@discriminatorMap["InMage"] = "InMagePolicyDetails"
      @@discriminatorMap["A2A"] = "A2APolicyDetails"
      @@discriminatorMap["RcmAzureMigration"] = "RcmAzureMigrationPolicyDetails"
      @@discriminatorMap["VMwareCbt"] = "VmwareCbtPolicyDetails"

      def initialize
        @instanceType = "PolicyProviderSpecificDetails"
      end

      attr_accessor :instanceType


      #
      # Mapper for PolicyProviderSpecificDetails class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PolicyProviderSpecificDetails',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'instanceType',
            uber_parent: 'PolicyProviderSpecificDetails',
            class_name: 'PolicyProviderSpecificDetails',
            model_properties: {
            }
          }
        }
      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_provider_specific_details.rb
azure_mgmt_recovery_services_site_recovery-0.17.2 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/policy_provider_specific_details.rb
azure_mgmt_recovery_services_site_recovery-0.17.1 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/policy_provider_specific_details.rb
azure_mgmt_recovery_services_site_recovery-0.17.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/policy_provider_specific_details.rb
azure_mgmt_recovery_services_site_recovery-0.16.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/policy_provider_specific_details.rb
azure_mgmt_recovery_services_site_recovery-0.15.2 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/policy_provider_specific_details.rb