class Azure::ServiceFabric::V6_3_0_9::Models::FailedPropertyBatchInfo

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

Attributes

Kind[RW]
error_message[RW]

@return [String] The error message of the failed operation. Describes the exception thrown due to the first unsuccessful operation in the property batch.

operation_index[RW]

@return [Integer] The index of the unsuccessful operation in the property batch.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.3.0.9/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
new() click to toggle source
# File lib/6.3.0.9/generated/azure_service_fabric/models/failed_property_batch_info.rb, line 17
def initialize
  @Kind = "Failed"
end