Class: OpenAI::Models::Admin::Organization::UsageCompletionsResponse::Data::Result::OrganizationUsageVectorStoresResult

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/openai/models/admin/organization/usage_completions_response.rb,
sig/openai/models/admin/organization/usage_completions_response.rbs

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

#initializeObject



740
# File 'sig/openai/models/admin/organization/usage_completions_response.rbs', line 740

def initialize: (

Instance Attribute Details

#objectSymbol, :"organization.usage.vector_stores.result"



789
# File 'lib/openai/models/admin/organization/usage_completions_response.rb', line 789

required :object, const: :"organization.usage.vector_stores.result"

#project_idString?

When group_by=project_id, this field provides the project ID of the grouped usage result.



802
# File 'lib/openai/models/admin/organization/usage_completions_response.rb', line 802

optional :project_id, String, nil?: true

#usage_bytesInteger

The vector stores usage in bytes.



795
# File 'lib/openai/models/admin/organization/usage_completions_response.rb', line 795

required :usage_bytes, Integer

Instance Method Details

#to_hash{



746
# File 'sig/openai/models/admin/organization/usage_completions_response.rbs', line 746

def to_hash: -> {