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

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/openai/models/admin/organization/usage_images_response.rb,
sig/openai/models/admin/organization/usage_images_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

#initialize ⇒ Object

Parameters:

  • usage_bytes —

    The vector stores usage in bytes.

  • project_id —

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



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

def initialize: (

Instance Attribute Details

#object ⇒ Symbol, :"organization.usage.vector_stores.result"

Parameters:

  • value (:"organization.usage.vector_stores.result")

Returns:

  • (Symbol, :"organization.usage.vector_stores.result")


787
# File 'lib/openai/models/admin/organization/usage_images_response.rb', line 787

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

#project_id ⇒ String?

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

Returns:

  • (String, nil)


800
# File 'lib/openai/models/admin/organization/usage_images_response.rb', line 800

optional :project_id, String, nil?: true

#usage_bytes ⇒ Integer

The vector stores usage in bytes.

Returns:

  • (Integer)


793
# File 'lib/openai/models/admin/organization/usage_images_response.rb', line 793

required :usage_bytes, Integer

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


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

def to_hash: -> {