Class UsageEmbeddingsResponse.Data.Result.OrganizationUsageFileSearchesResult
-
- All Implemented Interfaces:
public final class UsageEmbeddingsResponse.Data.Result.OrganizationUsageFileSearchesResultThe aggregated file search calls usage details of the specific time bucket.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUsageEmbeddingsResponse.Data.Result.OrganizationUsageFileSearchesResult.BuilderA builder for OrganizationUsageFileSearchesResult.
-
Method Summary
Modifier and Type Method Description final LongnumRequests()The count of file search calls. final JsonValue_object_()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("organization.usage.file_searches.result")final Optional<String>apiKeyId()When group_by=api_key_id, this field provides the API key ID of the grouped usage result.final Optional<String>projectId()When group_by=project_id, this field provides the project ID of the grouped usage result.final Optional<String>userId()When group_by=user_id, this field provides the user ID of the grouped usage result.final Optional<String>vectorStoreId()When group_by=vector_store_id, this field provides the vector store ID of the grouped usage result.final JsonField<Long>_numRequests()Returns the raw JSON value of numRequests. final JsonField<String>_apiKeyId()Returns the raw JSON value of apiKeyId. final JsonField<String>_projectId()Returns the raw JSON value of projectId. final JsonField<String>_userId()Returns the raw JSON value of userId. final JsonField<String>_vectorStoreId()Returns the raw JSON value of vectorStoreId. final Map<String, JsonValue>_additionalProperties()final UsageEmbeddingsResponse.Data.Result.OrganizationUsageFileSearchesResult.BuildertoBuilder()final UsageEmbeddingsResponse.Data.Result.OrganizationUsageFileSearchesResultvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UsageEmbeddingsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builderbuilder()Returns a mutable builder for constructing an instance of OrganizationUsageFileSearchesResult. -
-
Method Detail
-
numRequests
final Long numRequests()
The count of file search calls.
-
_object_
final JsonValue _object_()
Expected to always return the following:
JsonValue.from("organization.usage.file_searches.result")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
apiKeyId
final Optional<String> apiKeyId()
When
group_by=api_key_id, this field provides the API key ID of the grouped usage result.
-
projectId
final Optional<String> projectId()
When
group_by=project_id, this field provides the project ID of the grouped usage result.
-
userId
final Optional<String> userId()
When
group_by=user_id, this field provides the user ID of the grouped usage result.
-
vectorStoreId
final Optional<String> vectorStoreId()
When
group_by=vector_store_id, this field provides the vector store ID of the grouped usage result.
-
_numRequests
final JsonField<Long> _numRequests()
Returns the raw JSON value of numRequests.
Unlike numRequests, this method doesn't throw if the JSON field has an unexpected type.
-
_apiKeyId
final JsonField<String> _apiKeyId()
Returns the raw JSON value of apiKeyId.
Unlike apiKeyId, this method doesn't throw if the JSON field has an unexpected type.
-
_projectId
final JsonField<String> _projectId()
Returns the raw JSON value of projectId.
Unlike projectId, this method doesn't throw if the JSON field has an unexpected type.
-
_userId
final JsonField<String> _userId()
Returns the raw JSON value of userId.
Unlike userId, this method doesn't throw if the JSON field has an unexpected type.
-
_vectorStoreId
final JsonField<String> _vectorStoreId()
Returns the raw JSON value of vectorStoreId.
Unlike vectorStoreId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UsageEmbeddingsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder toBuilder()
-
validate
final UsageEmbeddingsResponse.Data.Result.OrganizationUsageFileSearchesResult validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static UsageEmbeddingsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder builder()
Returns a mutable builder for constructing an instance of OrganizationUsageFileSearchesResult.
The following fields are required:
.numRequests()
-
-
-
-