Sha256: f319e72ff4bfe9f62be2a715c39f164552b2ddea57ecbf28b42bf9fca044a841
Contents?: true
Size: 1.69 KB
Versions: 6
Compression:
Stored size: 1.69 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() { client_side_validation: true, 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
6 entries across 6 versions & 1 rubygems