Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::SyncMigrationDatabaseErrorEvent

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-04-19/generated/azure_mgmt_data_migration/models/sync_migration_database_error_event.rb

Overview

Database migration errors for online migration

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#event_textString

Returns Event text.

Returns:

  • (String)

    Event text.



22
23
24
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/sync_migration_database_error_event.rb', line 22

def event_text
  @event_text
end

#event_type_stringString

Returns Event type.

Returns:

  • (String)

    Event type.



19
20
21
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/sync_migration_database_error_event.rb', line 19

def event_type_string
  @event_type_string
end

#timestamp_stringString

Returns String value of timestamp.

Returns:

  • (String)

    String value of timestamp.



16
17
18
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/sync_migration_database_error_event.rb', line 16

def timestamp_string
  @timestamp_string
end

Class Method Details

.mapperObject

Mapper for SyncMigrationDatabaseErrorEvent class as Ruby Hash. This will be used for serialization/deserialization.



29
30
31
32
33
34
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
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/sync_migration_database_error_event.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SyncMigrationDatabaseErrorEvent',
    type: {
      name: 'Composite',
      class_name: 'SyncMigrationDatabaseErrorEvent',
      model_properties: {
        timestamp_string: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'timestampString',
          type: {
            name: 'String'
          }
        },
        event_type_string: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'eventTypeString',
          type: {
            name: 'String'
          }
        },
        event_text: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'eventText',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end