Class: Azure::DataMigration::Mgmt::V2017_11_15_preview::Models::SchemaComparisonValidationResultType

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result_type.rb

Overview

Description about the errors happen while performing migration validation

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#object_nameString

Returns Name of the object that has the difference.

Returns:

  • (String)

    Name of the object that has the difference



16
17
18
# File 'lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result_type.rb', line 16

def object_name
  @object_name
end

#object_typeObjectType

(Table/View/StoredProcedure). Possible values include: ‘StoredProcedures’, ‘Table’, ‘User’, ‘View’, ‘Function’

Returns:

  • (ObjectType)

    Type of the object that has the difference. e.g



21
22
23
# File 'lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result_type.rb', line 21

def object_type
  @object_type
end

#update_actionUpdateActionType

Possible values include: ‘DeletedOnTarget’, ‘ChangedOnTarget’, ‘AddedOnTarget’

Returns:



26
27
28
# File 'lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result_type.rb', line 26

def update_action
  @update_action
end

Class Method Details

.mapperObject

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



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
69
70
71
# File 'lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result_type.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SchemaComparisonValidationResultType',
    type: {
      name: 'Composite',
      class_name: 'SchemaComparisonValidationResultType',
      model_properties: {
        object_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'objectName',
          type: {
            name: 'String'
          }
        },
        object_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'objectType',
          type: {
            name: 'Enum',
            module: 'ObjectType'
          }
        },
        update_action: {
          client_side_validation: true,
          required: false,
          serialized_name: 'updateAction',
          type: {
            name: 'Enum',
            module: 'UpdateActionType'
          }
        }
      }
    }
  }
end