Sha256: 4ed81f9f06412ee1c9c041621e9181ab767b7bc5b145838ed035c8bb613a08df

Contents?: true

Size: 1.24 KB

Versions: 2

Compression:

Stored size: 1.24 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::Mgmt::V2016_09_01
  module Models
    #
    # The error detail
    #
    class ErrorModelError

      include MsRestAzure

      # @return [String] The error code
      attr_accessor :code

      # @return [String] The error message
      attr_accessor :message


      #
      # Mapper for ErrorModelError class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'ErrorModel_error',
          type: {
            name: 'Composite',
            class_name: 'ErrorModelError',
            model_properties: {
              code: {
                required: false,
                serialized_name: 'code',
                type: {
                  name: 'String'
                }
              },
              message: {
                required: false,
                serialized_name: 'message',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_service_fabric-0.15.1 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/error_model_error.rb
azure_mgmt_service_fabric-0.15.0 lib/2016-09-01/generated/azure_mgmt_service_fabric/models/error_model_error.rb