Package com.anthropic.models.beta.files
Class DeletedFile
-
- All Implemented Interfaces:
public final class DeletedFile
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDeletedFile.BuilderA builder for DeletedFile.
public final classDeletedFile.TypeDeleted object type.
For file deletion, this is always
"file_deleted".
-
Method Summary
Modifier and Type Method Description final Stringid()ID of the deleted file. final Optional<DeletedFile.Type>type()Deleted object type. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<DeletedFile.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final DeletedFile.BuildertoBuilder()final DeletedFilevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static DeletedFile.Builderbuilder()Returns a mutable builder for constructing an instance of DeletedFile. -
-
Method Detail
-
type
final Optional<DeletedFile.Type> type()
Deleted object type.
For file deletion, this is always
"file_deleted".
-
_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.
-
_type
final JsonField<DeletedFile.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final DeletedFile.Builder toBuilder()
-
validate
final DeletedFile validate()
-
builder
final static DeletedFile.Builder builder()
Returns a mutable builder for constructing an instance of DeletedFile.
The following fields are required:
.id()
-
-
-
-