Class: OpenAI::Models::Admin::Organization::AuditLogListResponse::LogoutFailed

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/admin/organization/audit_log_list_response.rb,
sig/openai/models/admin/organization/audit_log_list_response.rbs

Overview

See Also:

  • OpenAI::Models::Admin::Organization::AuditLogListResponse#logout_failed

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initializeObject



1495
# File 'sig/openai/models/admin/organization/audit_log_list_response.rbs', line 1495

def initialize: (

Instance Attribute Details

#error_codeString?

The error code of the failure.

Parameters:

  • (String)

Returns:

  • (String, nil)


1510
# File 'lib/openai/models/admin/organization/audit_log_list_response.rb', line 1510

optional :error_code, String

#error_messageString?

The error message of the failure.

Parameters:

  • (String)

Returns:

  • (String, nil)


1516
# File 'lib/openai/models/admin/organization/audit_log_list_response.rb', line 1516

optional :error_message, String

Instance Method Details

#to_hash{ error_code: String, error_message: String }

Returns:

  • ({ error_code: String, error_message: String })


1500
# File 'sig/openai/models/admin/organization/audit_log_list_response.rbs', line 1500

def to_hash: -> { error_code: String, error_message: String }