Class VideoDeleteResponse
-
- All Implemented Interfaces:
public final class VideoDeleteResponseConfirmation payload returned after deleting a video.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVideoDeleteResponse.BuilderA builder for VideoDeleteResponse.
-
Method Summary
Modifier and Type Method Description final Stringid()Identifier of the deleted video. final Booleandeleted()Indicates that the video resource was deleted. final JsonValue_object_()The object type that signals the deletion response. 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 VideoDeleteResponse.BuildertoBuilder()final VideoDeleteResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static VideoDeleteResponse.Builderbuilder()Returns a mutable builder for constructing an instance of VideoDeleteResponse. -
-
Method Detail
-
_object_
final JsonValue _object_()
The object type that signals the deletion response.
Expected to always return the following:
JsonValue.from("video.deleted")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 VideoDeleteResponse.Builder toBuilder()
-
validate
final VideoDeleteResponse 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 VideoDeleteResponse.Builder builder()
Returns a mutable builder for constructing an instance of VideoDeleteResponse.
The following fields are required:
.id() .deleted()
-
-
-
-