Sha256: 363091bb2182838782ad8649590c2e9acd2c505350565eae841d494f7b21978e
Contents?: true
Size: 1.53 KB
Versions: 6
Compression:
Stored size: 1.53 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 # # Enable protection provider specific input. # class EnableProtectionProviderSpecificInput include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["HyperVReplicaAzure"] = "HyperVReplicaAzureEnableProtectionInput" @@discriminatorMap["San"] = "SanEnableProtectionInput" @@discriminatorMap["InMageAzureV2"] = "InMageAzureV2EnableProtectionInput" @@discriminatorMap["InMage"] = "InMageEnableProtectionInput" @@discriminatorMap["A2A"] = "A2AEnableProtectionInput" def initialize @instanceType = "EnableProtectionProviderSpecificInput" end attr_accessor :instanceType # # Mapper for EnableProtectionProviderSpecificInput class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EnableProtectionProviderSpecificInput', type: { name: 'Composite', polymorphic_discriminator: 'instanceType', uber_parent: 'EnableProtectionProviderSpecificInput', class_name: 'EnableProtectionProviderSpecificInput', model_properties: { } } } end end end end
Version data entries
6 entries across 6 versions & 1 rubygems