Class: OpenAI::Models::Admin::Organization::AuditLogListResponse::UserUpdated::ChangesRequested

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::UserUpdated#changes_requested

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

#initializeChangesRequested

Returns a new instance of ChangesRequested.

Parameters:

  • role: (String)


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

def initialize: (?role: String) -> void

Instance Attribute Details

#roleString?

The role of the user. Is either owner or member.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :role, String

Instance Method Details

#to_hash{ role: String }

Returns:

  • ({ role: String })


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

def to_hash: -> { role: String }