Class UsageVectorStoresResponse.Data
-
- All Implemented Interfaces:
public final class UsageVectorStoresResponse.Data
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUsageVectorStoresResponse.Data.BuilderA builder for Data.
public final classUsageVectorStoresResponse.Data.ResultThe aggregated completions usage details of the specific time bucket.
-
Method Summary
Modifier and Type Method Description final LongendTime()final JsonValue_object_()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("bucket")final List<UsageVectorStoresResponse.Data.Result>results()final LongstartTime()final JsonField<Long>_endTime()Returns the raw JSON value of endTime. final JsonField<List<UsageVectorStoresResponse.Data.Result>>_results()Returns the raw JSON value of results. final JsonField<Long>_startTime()Returns the raw JSON value of startTime. final Map<String, JsonValue>_additionalProperties()final UsageVectorStoresResponse.Data.BuildertoBuilder()final UsageVectorStoresResponse.Datavalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UsageVectorStoresResponse.Data.Builderbuilder()Returns a mutable builder for constructing an instance of Data. -
-
Method Detail
-
_object_
final JsonValue _object_()
Expected to always return the following:
JsonValue.from("bucket")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
results
final List<UsageVectorStoresResponse.Data.Result> results()
-
_endTime
final JsonField<Long> _endTime()
Returns the raw JSON value of endTime.
Unlike endTime, this method doesn't throw if the JSON field has an unexpected type.
-
_results
final JsonField<List<UsageVectorStoresResponse.Data.Result>> _results()
Returns the raw JSON value of results.
Unlike results, this method doesn't throw if the JSON field has an unexpected type.
-
_startTime
final JsonField<Long> _startTime()
Returns the raw JSON value of startTime.
Unlike startTime, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UsageVectorStoresResponse.Data.Builder toBuilder()
-
validate
final UsageVectorStoresResponse.Data 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 UsageVectorStoresResponse.Data.Builder builder()
Returns a mutable builder for constructing an instance of Data.
The following fields are required:
.endTime() .results() .startTime()
-
-
-
-