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