Sha256: 70a2dc2b03c0da88e789ea504e607c64d349a895db2fa4863b59028fc65f7aff
Contents?: true
Size: 1.11 KB
Versions: 34
Compression:
Stored size: 1.11 KB
Contents
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module DingSDK module Shared class ErrorResponse < ::DingSDK::Utils::FieldAugmented extend T::Sig # A machine-readable code that describes the error. field :code, T.nilable(::DingSDK::Shared::Code), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('code'), 'decoder': Utils.enum_from_string(::DingSDK::Shared::Code, true) } } # A link to the documentation that describes the error. field :doc_url, T.nilable(::String), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('doc_url') } } # A human-readable message that describes the error. field :message, T.nilable(::String), { 'format_json': { 'letter_case': ::DingSDK::Utils.field_name('message') } } sig { params(code: T.nilable(::DingSDK::Shared::Code), doc_url: T.nilable(::String), message: T.nilable(::String)).void } def initialize(code: nil, doc_url: nil, message: nil) @code = code @doc_url = doc_url @message = message end end end end
Version data entries
34 entries across 34 versions & 1 rubygems