Class UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder
-
- All Implemented Interfaces:
public final class UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.BuilderA builder for OrganizationUsageFileSearchesResult.
-
-
Method Summary
-
-
Method Detail
-
numRequests
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder numRequests(Long numRequests)
The count of file search calls.
-
numRequests
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder numRequests(JsonField<Long> numRequests)
Sets Builder.numRequests to an arbitrary JSON value.
You should usually call Builder.numRequests with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder object_(JsonValue object_)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("organization.usage.file_searches.result")This method is primarily for setting the field to an undocumented or not yet supported value.
-
apiKeyId
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder apiKeyId(String apiKeyId)
When
group_by=api_key_id, this field provides the API key ID of the grouped usage result.
-
apiKeyId
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder apiKeyId(Optional<String> apiKeyId)
Alias for calling Builder.apiKeyId with
apiKeyId.orElse(null).
-
apiKeyId
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder apiKeyId(JsonField<String> apiKeyId)
Sets Builder.apiKeyId to an arbitrary JSON value.
You should usually call Builder.apiKeyId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
projectId
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder projectId(String projectId)
When
group_by=project_id, this field provides the project ID of the grouped usage result.
-
projectId
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder projectId(Optional<String> projectId)
Alias for calling Builder.projectId with
projectId.orElse(null).
-
projectId
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder projectId(JsonField<String> projectId)
Sets Builder.projectId to an arbitrary JSON value.
You should usually call Builder.projectId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userId
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder userId(String userId)
When
group_by=user_id, this field provides the user ID of the grouped usage result.
-
userId
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder userId(Optional<String> userId)
Alias for calling Builder.userId with
userId.orElse(null).
-
userId
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder userId(JsonField<String> userId)
Sets Builder.userId to an arbitrary JSON value.
You should usually call Builder.userId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
vectorStoreId
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder vectorStoreId(String vectorStoreId)
When
group_by=vector_store_id, this field provides the vector store ID of the grouped usage result.
-
vectorStoreId
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder vectorStoreId(Optional<String> vectorStoreId)
Alias for calling Builder.vectorStoreId with
vectorStoreId.orElse(null).
-
vectorStoreId
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder vectorStoreId(JsonField<String> vectorStoreId)
Sets Builder.vectorStoreId to an arbitrary JSON value.
You should usually call Builder.vectorStoreId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UsageFileSearchCallsResponse.Data.Result.OrganizationUsageFileSearchesResult build()
Returns an immutable instance of OrganizationUsageFileSearchesResult.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.numRequests()
-
-
-
-