Sha256: 74b53fdcee8a706163982da15f29d019c34a9a0dfc94ac7914da19a43341a582

Contents?: true

Size: 1.65 KB

Versions: 2

Compression:

Stored size: 1.65 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
    #
    # Task details based on specific task type.
    #
    class TaskTypeDetails

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["JobTaskDetails"] = "JobTaskDetails"
      @@discriminatorMap["VirtualMachineTaskDetails"] = "VirtualMachineTaskDetails"
      @@discriminatorMap["FabricReplicationGroupTaskDetails"] = "FabricReplicationGroupTaskDetails"
      @@discriminatorMap["ManualActionTaskDetails"] = "ManualActionTaskDetails"
      @@discriminatorMap["ScriptActionTaskDetails"] = "ScriptActionTaskDetails"
      @@discriminatorMap["VmNicUpdatesTaskDetails"] = "VmNicUpdatesTaskDetails"
      @@discriminatorMap["ConsistencyCheckTaskDetails"] = "ConsistencyCheckTaskDetails"
      @@discriminatorMap["AutomationRunbookTaskDetails"] = "AutomationRunbookTaskDetails"

      def initialize
        @instanceType = "TaskTypeDetails"
      end

      attr_accessor :instanceType


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