Class: Azure::ServiceFabric::V6_4_0_36::Models::FailedPropertyBatchInfo

Inherits:
PropertyBatchInfo
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/failed_property_batch_info.rb

Overview

Derived from PropertyBatchInfo. Represents the property batch failing. Contains information about the specific batch failure.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFailedPropertyBatchInfo

Returns a new instance of FailedPropertyBatchInfo.



17
18
19
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/failed_property_batch_info.rb', line 17

def initialize
  @Kind = "Failed"
end

Instance Attribute Details

#error_messageString

the exception thrown due to the first unsuccessful operation in the property batch.

Returns:

  • (String)

    The error message of the failed operation. Describes



26
27
28
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/failed_property_batch_info.rb', line 26

def error_message
  @error_message
end

#KindObject

Returns the value of attribute Kind.



21
22
23
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/failed_property_batch_info.rb', line 21

def Kind
  @Kind
end

#operation_indexInteger

property batch.

Returns:

  • (Integer)

    The index of the unsuccessful operation in the



30
31
32
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/failed_property_batch_info.rb', line 30

def operation_index
  @operation_index
end

Class Method Details

.mapperObject

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



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
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/failed_property_batch_info.rb', line 37

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Failed',
    type: {
      name: 'Composite',
      class_name: 'FailedPropertyBatchInfo',
      model_properties: {
        Kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Kind',
          type: {
            name: 'String'
          }
        },
        error_message: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ErrorMessage',
          type: {
            name: 'String'
          }
        },
        operation_index: {
          client_side_validation: true,
          required: false,
          serialized_name: 'OperationIndex',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end