Class: OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleAssignmentDeleted

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#role_assignment_deleted

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



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

def initialize: (

Instance Attribute Details

#idString?

The identifier of the role assignment.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :id, String

#principal_idString?

The principal (user or group) that had the role removed.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :principal_id, String

#principal_typeString?

The type of principal (user or group) that had the role removed.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :principal_type, String

#resource_idString?

The resource the role assignment was scoped to.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :resource_id, String

#resource_typeString?

The type of resource the role assignment was scoped to.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :resource_type, String

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {