Sha256: 6bd4982c1dc2316319100846c9932db9657332308fb2fbbc963893e69c3cd96b

Contents?: true

Size: 1.71 KB

Versions: 5

Compression:

Stored size: 1.71 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_2_0_9
  module Models
    #
    # Represents information about an operation in a terminal state (Completed
    # or Faulted).
    #
    class NodeTransitionResult

      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 [NodeResult] Contains information about a node that was
      # targeted by a user-induced operation.
      attr_accessor :node_result


      #
      # Mapper for NodeTransitionResult class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeTransitionResult',
          type: {
            name: 'Composite',
            class_name: 'NodeTransitionResult',
            model_properties: {
              error_code: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ErrorCode',
                type: {
                  name: 'Number'
                }
              },
              node_result: {
                client_side_validation: true,
                required: false,
                serialized_name: 'NodeResult',
                type: {
                  name: 'Composite',
                  class_name: 'NodeResult'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.2.0.9/generated/azure_service_fabric/models/node_transition_result.rb
azure_service_fabric-0.18.0 lib/6.2.0.9/generated/azure_service_fabric/models/node_transition_result.rb
azure_service_fabric-0.17.2 lib/6.2.0.9/generated/azure_service_fabric/models/node_transition_result.rb
azure_service_fabric-0.17.1 lib/6.2.0.9/generated/azure_service_fabric/models/node_transition_result.rb
azure_service_fabric-0.17.0 lib/6.2.0.9/generated/azure_service_fabric/models/node_transition_result.rb