Sha256: b10bd7e914890f757c121dbfa4f5acc2ce654a89b993d578030353d330fbbf30

Contents?: true

Size: 1.35 KB

Versions: 4

Compression:

Stored size: 1.35 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::V2018_01_10
  module Models
    #
    # Fabric specific details.
    #
    class FabricSpecificDetails

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["Azure"] = "AzureFabricSpecificDetails"
      @@discriminatorMap["HyperVSite"] = "HyperVSiteDetails"
      @@discriminatorMap["VMM"] = "VmmDetails"
      @@discriminatorMap["VMware"] = "VMwareDetails"
      @@discriminatorMap["VMwareV2"] = "VMwareV2FabricSpecificDetails"

      def initialize
        @instanceType = "FabricSpecificDetails"
      end

      attr_accessor :instanceType


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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services_site_recovery-0.17.3 lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_specific_details.rb
azure_mgmt_recovery_services_site_recovery-0.17.2 lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_specific_details.rb
azure_mgmt_recovery_services_site_recovery-0.17.1 lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_specific_details.rb
azure_mgmt_recovery_services_site_recovery-0.17.0 lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/fabric_specific_details.rb