Class: OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleCreated

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

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from OpenAI::Internal::Type::BaseModel

Instance Attribute Details

#idString?

The role ID.

Returns:

  • (String, nil)


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

optional :id, String

#permissionsArray<String>?

The permissions granted by the role.

Returns:

  • (Array<String>, nil)


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

optional :permissions, OpenAI::Internal::Type::ArrayOf[String]

#resource_idString?

The resource the role is scoped to.

Returns:

  • (String, nil)


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

optional :resource_id, String

#resource_typeString?

The type of resource the role belongs to.

Returns:

  • (String, nil)


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

optional :resource_type, String

#role_nameString?

The name of the role.

Returns:

  • (String, nil)


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

optional :role_name, String