Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput

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

Overview

Output for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput

Returns a new instance of MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.



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

def initialize
  @resultType = "MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput"
end

Instance Attribute Details

#idString

Returns Result identifier.

Returns:

  • (String)

    Result identifier



30
31
32
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output.rb', line 30

def id
  @id
end

#resultTypeObject

Returns the value of attribute resultType.



27
28
29
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output.rb', line 27

def resultType
  @resultType
end

Class Method Details

.mapperObject

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



38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'resultType',
      uber_parent: 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput',
      class_name: 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end