Sha256: 874cabdfb41e764f7bfbcce5892cf07561aa3e6842fadddc75d6088b42b59e07

Contents?: true

Size: 1.41 KB

Versions: 2

Compression:

Stored size: 1.41 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
    #
    # Provider specific reverse replication input.
    #
    class ReverseReplicationProviderSpecificInput

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["HyperVReplicaAzure"] = "HyperVReplicaAzureReprotectInput"
      @@discriminatorMap["InMageAzureV2"] = "InMageAzureV2ReprotectInput"
      @@discriminatorMap["InMage"] = "InMageReprotectInput"
      @@discriminatorMap["A2A"] = "A2AReprotectInput"

      def initialize
        @instanceType = "ReverseReplicationProviderSpecificInput"
      end

      attr_accessor :instanceType


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services_site_recovery-0.15.1 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/reverse_replication_provider_specific_input.rb
azure_mgmt_recovery_services_site_recovery-0.15.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/reverse_replication_provider_specific_input.rb