Class PermissionRetrieveResponse
-
- All Implemented Interfaces:
public final class PermissionRetrieveResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPermissionRetrieveResponse.BuilderA builder for PermissionRetrieveResponse.
public final classPermissionRetrieveResponse.DataThe
checkpoint.permissionobject represents a permission for a fine-tuned model checkpoint.
-
Method Summary
Modifier and Type Method Description final List<PermissionRetrieveResponse.Data>data()final BooleanhasMore()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 Optional<String>firstId()final Optional<String>lastId()final JsonField<List<PermissionRetrieveResponse.Data>>_data()Returns the raw JSON value of data. final JsonField<Boolean>_hasMore()Returns the raw JSON value of hasMore. final JsonField<String>_firstId()Returns the raw JSON value of firstId. final JsonField<String>_lastId()Returns the raw JSON value of lastId. final Map<String, JsonValue>_additionalProperties()final PermissionRetrieveResponse.BuildertoBuilder()final PermissionRetrieveResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PermissionRetrieveResponse.Builderbuilder()Returns a mutable builder for constructing an instance of PermissionRetrieveResponse. -
-
Method Detail
-
data
final List<PermissionRetrieveResponse.Data> data()
-
_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<PermissionRetrieveResponse.Data>> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_hasMore
final JsonField<Boolean> _hasMore()
Returns the raw JSON value of hasMore.
Unlike hasMore, this method doesn't throw if the JSON field has an unexpected type.
-
_firstId
final JsonField<String> _firstId()
Returns the raw JSON value of firstId.
Unlike firstId, this method doesn't throw if the JSON field has an unexpected type.
-
_lastId
final JsonField<String> _lastId()
Returns the raw JSON value of lastId.
Unlike lastId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PermissionRetrieveResponse.Builder toBuilder()
-
validate
final PermissionRetrieveResponse validate()
-
builder
final static PermissionRetrieveResponse.Builder builder()
Returns a mutable builder for constructing an instance of PermissionRetrieveResponse.
The following fields are required:
.data() .hasMore()
-
-
-
-