Sha256: 253502918ef270d9b956ee271eba46eba8f01dd7d53e1ec3c600e1cd3cc5d751
Contents?: true
Size: 1.59 KB
Versions: 6
Compression:
Stored size: 1.59 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 input # class PolicyProviderSpecificInput include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["HyperVReplicaAzure"] = "HyperVReplicaAzurePolicyInput" @@discriminatorMap["HyperVReplica2012"] = "HyperVReplicaPolicyInput" @@discriminatorMap["HyperVReplica2012R2"] = "HyperVReplicaBluePolicyInput" @@discriminatorMap["InMageAzureV2"] = "InMageAzureV2PolicyInput" @@discriminatorMap["InMage"] = "InMagePolicyInput" @@discriminatorMap["A2A"] = "A2APolicyCreationInput" @@discriminatorMap["VMwareCbt"] = "VMwareCbtPolicyCreationInput" def initialize @instanceType = "PolicyProviderSpecificInput" end attr_accessor :instanceType # # Mapper for PolicyProviderSpecificInput class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PolicyProviderSpecificInput', type: { name: 'Composite', polymorphic_discriminator: 'instanceType', uber_parent: 'PolicyProviderSpecificInput', class_name: 'PolicyProviderSpecificInput', model_properties: { } } } end end end end
Version data entries
6 entries across 6 versions & 1 rubygems