Sha256: 39847c98f8bef57b69838c3873401bcca5b1ca0b90626c9c4cab1bb601192555

Contents?: true

Size: 1.76 KB

Versions: 3

Compression:

Stored size: 1.76 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::V6_5_0_36
  module Models
    #
    # Represents information about an operation in a terminal state (Completed
    # or Faulted).
    #
    class InvokeQuorumLossResult

      include MsRestAzure

      # @return [Integer] If OperationState is Completed, this is 0.  If
      # OperationState is Faulted, this is an error code indicating the reason.
      attr_accessor :error_code

      # @return [SelectedPartition] This class returns information about the
      # partition that the user-induced operation acted upon.
      attr_accessor :selected_partition


      #
      # Mapper for InvokeQuorumLossResult class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'InvokeQuorumLossResult',
          type: {
            name: 'Composite',
            class_name: 'InvokeQuorumLossResult',
            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
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.5.0.36/generated/azure_service_fabric/models/invoke_quorum_loss_result.rb
azure_service_fabric-0.18.0 lib/6.5.0.36/generated/azure_service_fabric/models/invoke_quorum_loss_result.rb
azure_service_fabric-0.17.2 lib/6.5.0.36/generated/azure_service_fabric/models/invoke_quorum_loss_result.rb