Class: OpenAI::Models::Admin::Organization::UsageWebSearchCallsResponse
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/openai/models/admin/organization/usage_web_search_calls_response.rb,
sig/openai/models/admin/organization/usage_web_search_calls_response.rbs
Overview
Defined Under Namespace
Classes: Data
Instance Attribute Summary collapse
#last_response
Instance Method Summary
collapse
==, #==, #[], #_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
#coerce, coerce, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
22
|
# File 'sig/openai/models/admin/organization/usage_web_search_calls_response.rbs', line 22
def initialize: (
|
Instance Attribute Details
12
13
14
15
16
17
|
# File 'lib/openai/models/admin/organization/usage_web_search_calls_response.rb', line 12
required(
:data,
-> {
OpenAI::Internal::Type::ArrayOf[OpenAI::Models::Admin::Organization::UsageWebSearchCallsResponse::Data]
}
)
|
22
|
# File 'lib/openai/models/admin/organization/usage_web_search_calls_response.rb', line 22
required :has_more, OpenAI::Internal::Type::Boolean
|
#next_page ⇒ String?
27
|
# File 'lib/openai/models/admin/organization/usage_web_search_calls_response.rb', line 27
required :next_page, String, nil?: true
|
#object ⇒ Symbol, :page
32
|
# File 'lib/openai/models/admin/organization/usage_web_search_calls_response.rb', line 32
required :object, const: :page
|
Instance Method Details
#to_hash ⇒ {
29
|
# File 'sig/openai/models/admin/organization/usage_web_search_calls_response.rbs', line 29
def to_hash: -> {
|