class Azure::ServiceFabric::V6_5_0_36::Models::RestartPartitionResult
Represents information about an operation in a terminal state (Completed or Faulted).
Attributes
error_code[RW]
@return [Integer] If OperationState
is Completed, this is 0. If OperationState
is Faulted, this is an error code indicating the reason.
selected_partition[RW]
@return [SelectedPartition] This class returns information about the partition that the user-induced operation acted upon.
Public Class Methods
mapper()
click to toggle source
Mapper for RestartPartitionResult
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.5.0.36/generated/azure_service_fabric/models/restart_partition_result.rb, line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RestartPartitionResult', type: { name: 'Composite', class_name: 'RestartPartitionResult', model_properties: { error_code: { client_side_validation: true, required: false, serialized_name: 'ErrorCode', type: { name: 'Number' } }, selected_partition: { client_side_validation: true, required: false, serialized_name: 'SelectedPartition', type: { name: 'Composite', class_name: 'SelectedPartition' } } } } } end