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

Inherits:
Internal::Type::BaseModel
  • Object
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::OrganizationUpdated#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_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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 ⇒ ChangesRequested

Returns a new instance of ChangesRequested.

Parameters:

  • api_call_logging —

    How your organization logs data from supported API calls. One of disabled, enabled_per_call, enabled_for_all_projects, or enabled_for_selected_projects

  • api_call_logging_project_ids —

    The list of project ids if api_call_logging is set to enabled_for_selected_projects

  • description —

    The organization description.

  • name —

    The organization name.

  • threads_ui_visibility —

    Visibility of the threads page which shows messages created with the Assistants API and Playground. One of ANY_ROLE, OWNERS, or NONE.

  • title —

    The organization title.

  • usage_dashboard_visibility —

    Visibility of the usage dashboard which shows activity and costs for your organization. One of ANY_ROLE or OWNERS.

  • api_call_logging: (String)
  • api_call_logging_project_ids: (String)
  • description: (String)
  • name: (String)
  • threads_ui_visibility: (String)
  • title: (String)
  • usage_dashboard_visibility: (String)


2471
2472
2473
2474
2475
2476
2477
2478
2479
# File 'sig/openai/models/admin/organization/audit_log_list_response.rbs', line 2471

def initialize: (
  ?api_call_logging: String,
  ?api_call_logging_project_ids: String,
  ?description: String,
  ?name: String,
  ?threads_ui_visibility: String,
  ?title: String,
  ?usage_dashboard_visibility: String
) -> void

Instance Attribute Details

#api_call_logging ⇒ String?

How your organization logs data from supported API calls. One of disabled, enabled_per_call, enabled_for_all_projects, or enabled_for_selected_projects

Returns:

  • (String, nil)


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

optional :api_call_logging, String

#api_call_logging_project_ids ⇒ String?

The list of project ids if api_call_logging is set to enabled_for_selected_projects

Returns:

  • (String, nil)


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

optional :api_call_logging_project_ids, String

#description ⇒ String?

The organization description.

Returns:

  • (String, nil)


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

optional :description, String

#name ⇒ String?

The organization name.

Returns:

  • (String, nil)


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

optional :name, String

#threads_ui_visibility ⇒ String?

Visibility of the threads page which shows messages created with the Assistants API and Playground. One of ANY_ROLE, OWNERS, or NONE.

Returns:

  • (String, nil)


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

optional :threads_ui_visibility, String

#title ⇒ String?

The organization title.

Returns:

  • (String, nil)


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

optional :title, String

#usage_dashboard_visibility ⇒ String?

Visibility of the usage dashboard which shows activity and costs for your organization. One of ANY_ROLE or OWNERS.

Returns:

  • (String, nil)


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

optional :usage_dashboard_visibility, String

Instance Method Details

#to_hash ⇒ { ?api_call_logging: String, ?api_call_logging_project_ids: String, ?description: String, ?name: String, ?threads_ui_visibility: String, ?title: String, ?usage_dashboard_visibility: String }

Returns:

  • ({ ?api_call_logging: String, ?api_call_logging_project_ids: String, ?description: String, ?name: String, ?threads_ui_visibility: String, ?title: String, ?usage_dashboard_visibility: String })


2481
2482
2483
2484
2485
2486
2487
2488
2489
# File 'sig/openai/models/admin/organization/audit_log_list_response.rbs', line 2481

def to_hash: -> {
  ?api_call_logging: String,
  ?api_call_logging_project_ids: String,
  ?description: String,
  ?name: String,
  ?threads_ui_visibility: String,
  ?title: String,
  ?usage_dashboard_visibility: String
}