Sha256: 24261e2ce1dfa68453172f70d775ed2fd7dbc018bd0ce193ef29d1bc8747de95

Contents?: true

Size: 1.17 KB

Versions: 17

Compression:

Stored size: 1.17 KB

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module OpenApiSDK
  module Shared
  

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

      # A short code indicating the error code returned.
      field :code, ::OpenApiSDK::Shared::InternalServerErrorCode, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('code'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::InternalServerErrorCode, 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::InternalServerErrorCode, 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

17 entries across 17 versions & 1 rubygems

Version Path
dub-0.2.2.pre.alpha.3 lib/open_api_sdk/models/shared/internalservererror_error.rb
dub-0.2.2.pre.alpha.2 lib/open_api_sdk/models/shared/internalservererror_error.rb
dub-0.2.2.pre.alpha.1 lib/open_api_sdk/models/shared/internalservererror_error.rb
dub-0.2.2.pre.alpha lib/open_api_sdk/models/shared/internalservererror_error.rb
dub-0.2.2 lib/open_api_sdk/models/shared/internalservererror_error.rb
dub-0.2.1 lib/open_api_sdk/models/shared/internalservererror_error.rb
dub-0.2.0 lib/open_api_sdk/models/shared/internalservererror_error.rb
dub-0.1.3 lib/open_api_sdk/models/shared/internalservererror_error.rb
dub-0.1.2 lib/open_api_sdk/models/shared/internalservererror_error.rb
dub-0.1.1 lib/open_api_sdk/models/shared/internalservererror_error.rb
dub-0.1.0 lib/open_api_sdk/models/shared/internalservererror_error.rb
dub-0.0.7 lib/open_api_sdk/models/shared/internalservererror_error.rb
dub-0.0.6 lib/open_api_sdk/models/shared/internalservererror_error.rb
dub-0.0.5 lib/open_api_sdk/models/shared/internalservererror_error.rb
dub-0.0.4 lib/open_api_sdk/models/shared/internalservererror_error.rb
dub-0.0.3 lib/open_api_sdk/models/shared/internalservererror_error.rb
dub-0.0.2 lib/open_api_sdk/models/shared/internalservererror_error.rb