Sha256: 50580a12f4a5bf4022d163d631f5126200a76b86a76c9cf9e3ab82b86a917f7f
Contents?: true
Size: 1.13 KB
Versions: 1
Compression:
Stored size: 1.13 KB
Contents
# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module OpenApiSDK module Shared class NotFoundError < ::OpenApiSDK::Utils::FieldAugmented extend T::Sig # A short code indicating the error code returned. field :code, ::OpenApiSDK::Shared::NotFoundCode, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('code'), 'decoder': Utils.enum_from_string(::OpenApiSDK::Shared::NotFoundCode, 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::NotFoundCode, 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dub-0.2.2.pre.alpha.4 | lib/open_api_sdk/models/shared/notfound_error.rb |