Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::ProjectTaskProperties
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_04_19::Models::ProjectTaskProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb
Overview
Base class for all types of DMS task properties. If task is not supported by current client, this object is returned.
Direct Known Subclasses
ConnectToSourceSqlServerTaskProperties, ConnectToTargetSqlDbTaskProperties, GetUserTablesSqlTaskProperties, MigrateSqlServerSqlDbTaskProperties
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#errors ⇒ Array<ODataError>
submitted.
-
#state ⇒ TaskState
submitted.
-
#taskType ⇒ Object
Returns the value of attribute taskType.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ProjectTaskProperties class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ProjectTaskProperties
constructor
A new instance of ProjectTaskProperties.
Constructor Details
#initialize ⇒ ProjectTaskProperties
Returns a new instance of ProjectTaskProperties.
22 23 24 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 22 def initialize @taskType = "Unknown" end |
Instance Attribute Details
#errors ⇒ Array<ODataError>
submitted.
30 31 32 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 30 def errors @errors end |
#state ⇒ TaskState
submitted. Possible values include: ‘Unknown’, ‘Queued’, ‘Running’, ‘Canceled’, ‘Succeeded’, ‘Failed’, ‘FailedInputValidation’, ‘Faulted’
35 36 37 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 35 def state @state end |
#taskType ⇒ Object
Returns the value of attribute taskType.
26 27 28 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 26 def taskType @taskType end |
Class Method Details
.mapper ⇒ Object
Mapper for ProjectTaskProperties class as Ruby Hash. This will be used for serialization/deserialization.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Unknown', type: { name: 'Composite', polymorphic_discriminator: 'taskType', uber_parent: 'ProjectTaskProperties', class_name: 'ProjectTaskProperties', model_properties: { errors: { client_side_validation: true, required: false, serialized_name: 'errors', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ODataErrorElementType', type: { name: 'Composite', class_name: 'ODataError' } } } }, state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'state', type: { name: 'String' } } } } } end |