Sha256: a1fc2e8cfa7b1933fb841f71c4d1bfeee4454d8bff71c6a1bd1591a0b86a2305

Contents?: true

Size: 1.46 KB

Versions: 1

Compression:

Stored size: 1.46 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::ARM::RecoveryServicesSiteRecovery
  module Models
    #
    # Provider specific failover input.
    #
    class ProviderSpecificFailoverInput

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["HyperVReplicaAzure"] = "HyperVReplicaAzureFailoverProviderInput"
      @@discriminatorMap["HyperVReplicaAzureFailback"] = "HyperVReplicaAzureFailbackProviderInput"
      @@discriminatorMap["InMageAzureV2"] = "InMageAzureV2FailoverProviderInput"
      @@discriminatorMap["InMage"] = "InMageFailoverProviderInput"
      @@discriminatorMap["A2A"] = "A2AFailoverProviderInput"

      def initialize
        @instanceType = "ProviderSpecificFailoverInput"
      end

      attr_accessor :instanceType


      #
      # Mapper for ProviderSpecificFailoverInput class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'ProviderSpecificFailoverInput',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'instanceType',
            uber_parent: 'ProviderSpecificFailoverInput',
            class_name: 'ProviderSpecificFailoverInput',
            model_properties: {
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services_site_recovery-0.14.0 lib/generated/azure_mgmt_recovery_services_site_recovery/models/provider_specific_failover_input.rb