Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::MigrateSqlServerSqlDbSyncTaskOutputDatabaseError
- Inherits:
-
MigrateSqlServerSqlDbSyncTaskOutput
- Object
- MigrateSqlServerSqlDbSyncTaskOutput
- Azure::DataMigration::Mgmt::V2018_04_19::Models::MigrateSqlServerSqlDbSyncTaskOutputDatabaseError
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_database_error.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#error_message ⇒ String
Error message.
-
#events ⇒ Array<SyncMigrationDatabaseErrorEvent>
List of error events.
-
#resultType ⇒ Object
Returns the value of attribute resultType.
Attributes inherited from MigrateSqlServerSqlDbSyncTaskOutput
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for MigrateSqlServerSqlDbSyncTaskOutputDatabaseError class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ MigrateSqlServerSqlDbSyncTaskOutputDatabaseError
constructor
A new instance of MigrateSqlServerSqlDbSyncTaskOutputDatabaseError.
Constructor Details
#initialize ⇒ MigrateSqlServerSqlDbSyncTaskOutputDatabaseError
Returns a new instance of MigrateSqlServerSqlDbSyncTaskOutputDatabaseError.
17 18 19 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_database_error.rb', line 17 def initialize @resultType = "DatabaseLevelErrorOutput" end |
Instance Attribute Details
#error_message ⇒ String
Returns Error message.
24 25 26 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_database_error.rb', line 24 def @error_message end |
#events ⇒ Array<SyncMigrationDatabaseErrorEvent>
Returns List of error events.
27 28 29 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_database_error.rb', line 27 def events @events end |
#resultType ⇒ Object
Returns the value of attribute resultType.
21 22 23 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_database_error.rb', line 21 def resultType @resultType end |
Class Method Details
.mapper ⇒ Object
Mapper for MigrateSqlServerSqlDbSyncTaskOutputDatabaseError class as Ruby Hash. This will be used for serialization/deserialization.
35 36 37 38 39 40 41 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 83 84 85 86 87 88 89 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_database_error.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DatabaseLevelErrorOutput', type: { name: 'Composite', class_name: 'MigrateSqlServerSqlDbSyncTaskOutputDatabaseError', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, resultType: { client_side_validation: true, required: true, serialized_name: 'resultType', type: { name: 'String' } }, error_message: { client_side_validation: true, required: false, serialized_name: 'errorMessage', type: { name: 'String' } }, events: { client_side_validation: true, required: false, serialized_name: 'events', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SyncMigrationDatabaseErrorEventElementType', type: { name: 'Composite', class_name: 'SyncMigrationDatabaseErrorEvent' } } } } } } } end |