Sha256: 75fa332a4bc78c1ee5d3e0d61414d590f00626cc3901d38f9dcd9886d96d520d

Contents?: true

Size: 1.27 KB

Versions: 2

Compression:

Stored size: 1.27 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
    #
    # Replication provider specific settings.
    #
    class ConfigurationSettings

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["HyperVVirtualMachine"] = "HyperVVirtualMachineDetails"
      @@discriminatorMap["VMwareVirtualMachine"] = "VMwareVirtualMachineDetails"
      @@discriminatorMap["ReplicationGroupDetails"] = "ReplicationGroupDetails"

      def initialize
        @instanceType = "ConfigurationSettings"
      end

      attr_accessor :instanceType


      #
      # Mapper for ConfigurationSettings class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'ConfigurationSettings',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'instanceType',
            uber_parent: 'ConfigurationSettings',
            class_name: 'ConfigurationSettings',
            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/configuration_settings.rb
azure_mgmt_recovery_services_site_recovery-0.15.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/configuration_settings.rb