Sha256: 2b37aaa4019772a4c88934c377218a2695d44970f0ab7c1959e7964f5196893d

Contents?: true

Size: 1.17 KB

Versions: 51

Compression:

Stored size: 1.17 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  

    class UnprocessableEntityError < ::OpenApiSDK::Utils::FieldAugmented
      extend T::Sig

      # A short code indicating the error code returned.
      field :code, ::OpenApiSDK::Shared::UnprocessableEntityCode, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('code'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::UnprocessableEntityCode, false) } }
      # A human readable explanation of what went wrong.
      field :message, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('message') } }
      # A link to our documentation with more details about this error code
      field :doc_url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('doc_url') } }


      sig { params(code: ::OpenApiSDK::Shared::UnprocessableEntityCode, message: ::String, doc_url: T.nilable(::String)).void }
      def initialize(code: nil, message: nil, doc_url: nil)
        @code = code
        @message = message
        @doc_url = doc_url
      end
    end
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
dub-0.2.2.pre.alpha.15 lib/open_api_sdk/models/shared/unprocessableentity_error.rb
dub-0.2.2.pre.alpha.14 lib/open_api_sdk/models/shared/unprocessableentity_error.rb
dub-0.2.2.pre.alpha.13 lib/open_api_sdk/models/shared/unprocessableentity_error.rb
dub-0.2.2.pre.alpha.12 lib/open_api_sdk/models/shared/unprocessableentity_error.rb
dub-0.2.2.pre.alpha.11 lib/open_api_sdk/models/shared/unprocessableentity_error.rb
dub-0.2.2.pre.alpha.10 lib/open_api_sdk/models/shared/unprocessableentity_error.rb
dub-0.2.2.pre.alpha.9 lib/open_api_sdk/models/shared/unprocessableentity_error.rb
dub-0.2.2.pre.alpha.8 lib/open_api_sdk/models/shared/unprocessableentity_error.rb
dub-0.2.2.pre.alpha.7 lib/open_api_sdk/models/shared/unprocessableentity_error.rb
dub-0.2.2.pre.alpha.6 lib/open_api_sdk/models/shared/unprocessableentity_error.rb
dub-0.2.2.pre.alpha.5 lib/open_api_sdk/models/shared/unprocessableentity_error.rb