Package com.patreonshout.beans.request
Class ListPostUpdateRequest.ListUpdate
java.lang.Object
com.patreonshout.beans.request.ListPostUpdateRequest.ListUpdate
- Enclosing class:
- ListPostUpdateRequest
public static class ListPostUpdateRequest.ListUpdate
extends java.lang.Object
Jackson Serialized object, used when a list post update request is received, holds the update information for each list
-
Field Summary
Fields Modifier and Type Field Description private @javax.validation.constraints.NotNull int
listId
list_id is the id of the list to be updatedprivate @javax.validation.constraints.NotNull boolean
update
update is true if we want to add the specific post to a list, false if we want to remove the post from a list -
Constructor Summary
Constructors Constructor Description ListUpdate()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
listId
@NotNull private @javax.validation.constraints.NotNull int listIdlist_id is the id of the list to be updated -
update
@NotNull private @javax.validation.constraints.NotNull boolean updateupdate is true if we want to add the specific post to a list, false if we want to remove the post from a list
-
-
Constructor Details
-
ListUpdate
public ListUpdate()
-