Class: OpenAI::Models::Admin::Organization::UsageModerationsResponse::Data::Result::OrganizationUsageAudioTranscriptionsResult
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::UsageModerationsResponse::Data::Result::OrganizationUsageAudioTranscriptionsResult
- Defined in:
- lib/openai/models/admin/organization/usage_moderations_response.rb,
sig/openai/models/admin/organization/usage_moderations_response.rbs
Instance Attribute Summary collapse
-
#api_key_id ⇒ String?
When
group_by=api_key_id, this field provides the API key ID of the grouped usage result. -
#model ⇒ String?
When
group_by=model, this field provides the model name of the grouped usage result. -
#num_model_requests ⇒ Integer
The count of requests made to the model.
- #object ⇒ Symbol, :"organization.usage.audio_transcriptions.result"
-
#project_id ⇒ String?
When
group_by=project_id, this field provides the project ID of the grouped usage result. -
#seconds ⇒ Integer
The number of seconds processed.
-
#user_id ⇒ String?
When
group_by=user_id, this field provides the user ID of the grouped usage result.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize ⇒ OrganizationUsageAudioTranscriptionsResult
constructor
A new instance of OrganizationUsageAudioTranscriptionsResult.
- #to_hash ⇒ { num_model_requests: Integer, ?object: :"organization.usage.audio_transcriptions.result", seconds: Integer, ?api_key_id: String?, ?model: String?, ?project_id: String?, ?user_id: String? }
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 ⇒ OrganizationUsageAudioTranscriptionsResult
Returns a new instance of OrganizationUsageAudioTranscriptionsResult.
749 750 751 752 753 754 755 756 757 |
# File 'sig/openai/models/admin/organization/usage_moderations_response.rbs', line 749
def initialize: (
num_model_requests: Integer,
seconds: Integer,
?api_key_id: String?,
?model: String?,
?project_id: String?,
?user_id: String?,
?object: :"organization.usage.audio_transcriptions.result"
) -> void
|
Instance Attribute Details
#api_key_id ⇒ String?
When group_by=api_key_id, this field provides the API key ID of the grouped
usage result.
795 |
# File 'lib/openai/models/admin/organization/usage_moderations_response.rb', line 795 optional :api_key_id, String, nil?: true |
#model ⇒ String?
When group_by=model, this field provides the model name of the grouped usage
result.
802 |
# File 'lib/openai/models/admin/organization/usage_moderations_response.rb', line 802 optional :model, String, nil?: true |
#num_model_requests ⇒ Integer
The count of requests made to the model.
777 |
# File 'lib/openai/models/admin/organization/usage_moderations_response.rb', line 777 required :num_model_requests, Integer |
#object ⇒ Symbol, :"organization.usage.audio_transcriptions.result"
782 |
# File 'lib/openai/models/admin/organization/usage_moderations_response.rb', line 782 required :object, const: :"organization.usage.audio_transcriptions.result" |
#project_id ⇒ String?
When group_by=project_id, this field provides the project ID of the grouped
usage result.
809 |
# File 'lib/openai/models/admin/organization/usage_moderations_response.rb', line 809 optional :project_id, String, nil?: true |
#seconds ⇒ Integer
The number of seconds processed.
788 |
# File 'lib/openai/models/admin/organization/usage_moderations_response.rb', line 788 required :seconds, Integer |
#user_id ⇒ String?
When group_by=user_id, this field provides the user ID of the grouped usage
result.
816 |
# File 'lib/openai/models/admin/organization/usage_moderations_response.rb', line 816 optional :user_id, String, nil?: true |
Instance Method Details
#to_hash ⇒ { num_model_requests: Integer, ?object: :"organization.usage.audio_transcriptions.result", seconds: Integer, ?api_key_id: String?, ?model: String?, ?project_id: String?, ?user_id: String? }
759 760 761 762 763 764 765 766 767 |
# File 'sig/openai/models/admin/organization/usage_moderations_response.rbs', line 759
def to_hash: -> {
num_model_requests: Integer,
?object: :"organization.usage.audio_transcriptions.result",
seconds: Integer,
?api_key_id: String?,
?model: String?,
?project_id: String?,
?user_id: String?
}
|