Class: OpenAI::Models::Admin::Organization::AuditLogListResponse::RoleUpdated::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::RoleUpdated#changes_requested

Instance Attribute Summary collapse

Attributes inherited from Internal::Type::BaseModel

#last_response

Instance Method Summary collapse

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, coerce_with_error, 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

Parameters:

  • description —

    The updated role description, when provided.

  • metadata —

    Additional metadata stored on the role.

  • permissions_added —

    The permissions added to the role.

  • permissions_removed —

    The permissions removed from the role.

  • resource_id —

    The resource the role is scoped to.

  • resource_type —

    The type of resource the role belongs to.

  • role_name —

    The updated role name, when provided.



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

def initialize: (

Instance Attribute Details

#description ⇒ String?

The updated role description, when provided.

Returns:

  • (String, nil)


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

optional :description, String

#metadata ⇒ top?

Additional metadata stored on the role.

Returns:

  • (top, nil)


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

optional :metadata, OpenAI::Internal::Type::Unknown

#permissions_added ⇒ ::Array[String]?

The permissions added to the role.

Returns:

  • (::Array[String], nil)


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

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

#permissions_removed ⇒ ::Array[String]?

The permissions removed from the role.

Returns:

  • (::Array[String], nil)


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

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

#resource_id ⇒ String?

The resource the role is scoped to.

Returns:

  • (String, nil)


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

optional :resource_id, String

#resource_type ⇒ String?

The type of resource the role belongs to.

Returns:

  • (String, nil)


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

optional :resource_type, String

#role_name ⇒ String?

The updated role name, when provided.

Returns:

  • (String, nil)


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

optional :role_name, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


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

def to_hash: -> {