# 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::V2018_01_10
  module Models
    #
    # Input details specific to fabrics during Network Mapping.
    #
    class FabricSpecificCreateNetworkMappingInput

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["AzureToAzure"] = "AzureToAzureCreateNetworkMappingInput"
      @@discriminatorMap["VmmToAzure"] = "VmmToAzureCreateNetworkMappingInput"
      @@discriminatorMap["VmmToVmm"] = "VmmToVmmCreateNetworkMappingInput"

      def initialize
        @instanceType = "FabricSpecificCreateNetworkMappingInput"
      end

      attr_accessor :instanceType


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