Class: OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleCreated
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleCreated
- Defined in:
- lib/openai/models/admin/organization/audit_log_list_response.rb,
sig/openai/models/admin/organization/audit_log_list_response.rbs
Overview
Instance Attribute Summary collapse
-
#id ⇒ String?
The role ID.
-
#permissions ⇒ Array<String>?
The permissions granted by the role.
-
#resource_id ⇒ String?
The resource the role is scoped to.
-
#resource_type ⇒ String?
The type of resource the role belongs to.
-
#role_name ⇒ String?
The name of the role.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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
#initialize ⇒ Object
2207 |
# File 'sig/openai/models/admin/organization/audit_log_list_response.rbs', line 2207
def initialize: (
|
Instance Attribute Details
#id ⇒ String?
The role ID.
2157 |
# File 'lib/openai/models/admin/organization/audit_log_list_response.rb', line 2157 optional :id, String |
#permissions ⇒ Array<String>?
The permissions granted by the role.
2163 |
# File 'lib/openai/models/admin/organization/audit_log_list_response.rb', line 2163 optional :permissions, OpenAI::Internal::Type::ArrayOf[String] |
#resource_id ⇒ String?
The resource the role is scoped to.
2169 |
# File 'lib/openai/models/admin/organization/audit_log_list_response.rb', line 2169 optional :resource_id, String |
#resource_type ⇒ String?
The type of resource the role belongs to.
2175 |
# File 'lib/openai/models/admin/organization/audit_log_list_response.rb', line 2175 optional :resource_type, String |
#role_name ⇒ String?
The name of the role.
2181 |
# File 'lib/openai/models/admin/organization/audit_log_list_response.rb', line 2181 optional :role_name, String |
Instance Method Details
#to_hash ⇒ {
2215 |
# File 'sig/openai/models/admin/organization/audit_log_list_response.rbs', line 2215
def to_hash: -> {
|