Sha256: df9de3539ecda115b304d85ce6f040512c3b23213cf76a493ba78da81dfb5a03
Contents?: true
Size: 1.83 KB
Versions: 2
Compression:
Stored size: 1.83 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() { 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
2 entries across 2 versions & 1 rubygems