Package com.openai.models.models
Class ModelListPageResponse
-
- All Implemented Interfaces:
public final class ModelListPageResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classModelListPageResponse.BuilderA builder for ModelListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<Model>data()final JsonValue_object_()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("list")final JsonField<List<Model>>_data()Returns the raw JSON value of data. final Map<String, JsonValue>_additionalProperties()final ModelListPageResponse.BuildertoBuilder()final ModelListPageResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ModelListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of ModelListPageResponse. -
-
Method Detail
-
_object_
final JsonValue _object_()
Expected to always return the following:
JsonValue.from("list")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_data
final JsonField<List<Model>> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ModelListPageResponse.Builder toBuilder()
-
validate
final ModelListPageResponse 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 ModelListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of ModelListPageResponse.
The following fields are required:
.data()
-
-
-
-