Sha256: 8835821c76e56b2234cb58311234ebb0430ab364c85a2b84de897336029be07b

Contents?: true

Size: 1.33 KB

Versions: 2

Compression:

Stored size: 1.33 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::V7_0_0_42
  module Models
    #
    # The REST API operations for Service Fabric return standard HTTP status
    # codes. This type defines the additional information returned from the
    # Service Fabric API operations that are not successful.
    #
    class FabricError

      include MsRestAzure

      # @return [FabricErrorError] Error object containing error code and error
      # message.
      attr_accessor :error


      #
      # Mapper for FabricError class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'FabricError',
          type: {
            name: 'Composite',
            class_name: 'FabricError',
            model_properties: {
              error: {
                client_side_validation: true,
                required: true,
                serialized_name: 'Error',
                type: {
                  name: 'Composite',
                  class_name: 'FabricErrorError'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/fabric_error.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/fabric_error.rb