Class PermissionListResponse
-
- All Implemented Interfaces:
public final class PermissionListResponseThe
checkpoint.permissionobject represents a permission for a fine-tuned model checkpoint.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPermissionListResponse.BuilderA builder for PermissionListResponse.
-
Method Summary
Modifier and Type Method Description final Stringid()The permission identifier, which can be referenced in the API endpoints. final LongcreatedAt()The Unix timestamp (in seconds) for when the permission was created. final JsonValue_object_()The object type, which is always "checkpoint.permission". final StringprojectId()The project identifier that the permission is for. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_projectId()Returns the raw JSON value of projectId. final Map<String, JsonValue>_additionalProperties()final PermissionListResponse.BuildertoBuilder()final PermissionListResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PermissionListResponse.Builderbuilder()Returns a mutable builder for constructing an instance of PermissionListResponse. -
-
Method Detail
-
createdAt
final Long createdAt()
The Unix timestamp (in seconds) for when the permission was created.
-
_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.
-
_createdAt
final JsonField<Long> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_projectId
final JsonField<String> _projectId()
Returns the raw JSON value of projectId.
Unlike projectId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PermissionListResponse.Builder toBuilder()
-
validate
final PermissionListResponse 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 PermissionListResponse.Builder builder()
Returns a mutable builder for constructing an instance of PermissionListResponse.
The following fields are required:
.id() .createdAt() .projectId()
-
-
-
-