Sha256: 86d66d2ccd3823a2621eafef939e3e21578fd250398a5be9aa3887bcd62048f2
Contents?: true
Size: 1.58 KB
Versions: 6
Compression:
Stored size: 1.58 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 # # Model class for provider specific details for an event. # class EventProviderSpecificDetails include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["HyperVReplicaBaseEventDetails"] = "HyperVReplicaBaseEventDetails" @@discriminatorMap["HyperVReplica2012"] = "HyperVReplica2012EventDetails" @@discriminatorMap["HyperVReplica2012R2"] = "HyperVReplica2012R2EventDetails" @@discriminatorMap["HyperVReplicaAzure"] = "HyperVReplicaAzureEventDetails" @@discriminatorMap["A2A"] = "A2AEventDetails" @@discriminatorMap["InMageAzureV2"] = "InMageAzureV2EventDetails" def initialize @instanceType = "EventProviderSpecificDetails" end attr_accessor :instanceType # # Mapper for EventProviderSpecificDetails class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EventProviderSpecificDetails', type: { name: 'Composite', polymorphic_discriminator: 'instanceType', uber_parent: 'EventProviderSpecificDetails', class_name: 'EventProviderSpecificDetails', model_properties: { } } } end end end end
Version data entries
6 entries across 6 versions & 1 rubygems