Class: OpenAI::Models::Admin::Organization::UsageAudioTranscriptionsResponse::Data::Result::OrganizationUsageFileSearchesResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, 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, #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



488
# File 'sig/openai/models/admin/organization/usage_audio_transcriptions_response.rbs', line 488

def initialize: (

Instance Attribute Details

#api_key_idString?

When group_by=api_key_id, this field provides the API key ID of the grouped usage result.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


678
# File 'lib/openai/models/admin/organization/usage_audio_transcriptions_response.rb', line 678

optional :api_key_id, String, nil?: true

#num_requestsInteger

The count of file search calls.

Parameters:

  • value (Integer)

Returns:

  • (Integer)


666
# File 'lib/openai/models/admin/organization/usage_audio_transcriptions_response.rb', line 666

required :num_requests, Integer

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

Parameters:

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

Returns:

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


671
# File 'lib/openai/models/admin/organization/usage_audio_transcriptions_response.rb', line 671

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

#project_idString?

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

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


685
# File 'lib/openai/models/admin/organization/usage_audio_transcriptions_response.rb', line 685

optional :project_id, String, nil?: true

#user_idString?

When group_by=user_id, this field provides the user ID of the grouped usage result.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


692
# File 'lib/openai/models/admin/organization/usage_audio_transcriptions_response.rb', line 692

optional :user_id, String, nil?: true

#vector_store_idString?

When group_by=vector_store_id, this field provides the vector store ID of the grouped usage result.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


699
# File 'lib/openai/models/admin/organization/usage_audio_transcriptions_response.rb', line 699

optional :vector_store_id, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


497
# File 'sig/openai/models/admin/organization/usage_audio_transcriptions_response.rbs', line 497

def to_hash: -> {