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 class
ModelListPageResponse.Builder
A 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.Builder
toBuilder()
final ModelListPageResponse
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ModelListPageResponse.Builder
builder()
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()
-
builder
final static ModelListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of ModelListPageResponse.
The following fields are required:
.data()
-
-
-
-