# 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
    #
    # Properties of site details provided during the time of site creation
    #
    class FabricCreationInputProperties

      include MsRestAzure

      # @return [FabricSpecificCreationInput] Fabric provider specific creation
      # input.
      attr_accessor :custom_details


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