Class BetaDeletedFile
-
- All Implemented Interfaces:
public final class BetaDeletedFile
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaDeletedFile.BuilderA builder for BetaDeletedFile.
public final classBetaDeletedFile.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<BetaDeletedFile.Type>type()Deleted object type. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<BetaDeletedFile.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final BetaDeletedFile.BuildertoBuilder()final BetaDeletedFilevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaDeletedFile.Builderbuilder()Returns a mutable builder for constructing an instance of BetaDeletedFile. final static BetaDeletedFileof(String id)Returns an immutable instance of BetaDeletedFile with the required id set to the given value. -
-
Method Detail
-
type
final Optional<BetaDeletedFile.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<BetaDeletedFile.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 BetaDeletedFile.Builder toBuilder()
-
validate
final BetaDeletedFile 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 BetaDeletedFile.Builder builder()
Returns a mutable builder for constructing an instance of BetaDeletedFile.
The following fields are required:
.id()
-
of
final static BetaDeletedFile of(String id)
Returns an immutable instance of BetaDeletedFile with the required id set to the given value.
-
-
-
-