Class PermissionDeleteResponse
-
- All Implemented Interfaces:
public final class PermissionDeleteResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPermissionDeleteResponse.BuilderA builder for PermissionDeleteResponse.
-
Method Summary
Modifier and Type Method Description final Stringid()The ID of the fine-tuned model checkpoint permission that was deleted. final Booleandeleted()Whether the fine-tuned model checkpoint permission was successfully deleted. final JsonValue_object_()The object type, which is always "checkpoint.permission". final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Boolean>_deleted()Returns the raw JSON value of deleted. final Map<String, JsonValue>_additionalProperties()final PermissionDeleteResponse.BuildertoBuilder()final PermissionDeleteResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PermissionDeleteResponse.Builderbuilder()Returns a mutable builder for constructing an instance of PermissionDeleteResponse. -
-
Method Detail
-
deleted
final Boolean deleted()
Whether the fine-tuned model checkpoint permission was successfully deleted.
-
_object_
final JsonValue _object_()
The object type, which is always "checkpoint.permission".
Expected to always return the following:
JsonValue.from("checkpoint.permission")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_deleted
final JsonField<Boolean> _deleted()
Returns the raw JSON value of deleted.
Unlike deleted, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PermissionDeleteResponse.Builder toBuilder()
-
validate
final PermissionDeleteResponse 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 PermissionDeleteResponse.Builder builder()
Returns a mutable builder for constructing an instance of PermissionDeleteResponse.
The following fields are required:
.id() .deleted()
-
-
-
-