Class FindCommentsRequest
- Object
-
- PagedRequest
-
- FindCommentsRequest
-
- All Implemented Interfaces:
Serializable
public class FindCommentsRequest extends PagedRequest
The search criteria for comments.Only parameters that are specified in this request and have not
null
values are used for filtering. All other parameters are ignored.The returned comments satisfy all constraints that are specified in this search criteria.
By default a result containing 1000 comments is returned.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FindCommentsRequest.Builder
-
Field Summary
-
Fields inherited from class PagedRequest
countLimit, limit, offset
-
-
Constructor Summary
Constructors Constructor Description FindCommentsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FindCommentsRequest.Builder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
UUID
getBaseResourceId()
The ID of the resource which the searched comments refer to.UUID
getParentId()
The ID of the comment which the reply comments should be searched for.Boolean
getRootComment()
Whether the searched comments should be root comments (not reply comments).SortOrder
getSortOrder()
The order of sorting on the date the comment was created.UUID
getUserId()
The ID of the user who created the comment.int
hashCode()
void
setBaseResourceId(UUID baseResourceId)
The ID of the resource which the searched comments refer to.void
setParentId(UUID parentId)
The ID of the comment which the reply comments should be searched for.void
setRootComment(Boolean rootComment)
Whether the searched comments should be root comments (not reply comments).void
setSortOrder(SortOrder sortOrder)
The order of sorting on the date the comment was created.void
setUserId(UUID userId)
The ID of the user who created the comment.String
toString()
-
Methods inherited from class PagedRequest
getCountLimit, getLimit, getOffset, isPagingActive, setCountLimit, setLimit, setOffset
-
-
-
-
Method Detail
-
builder
public static FindCommentsRequest.Builder builder()
-
getParentId
public UUID getParentId()
The ID of the comment which the reply comments should be searched for.
-
getUserId
public UUID getUserId()
The ID of the user who created the comment.
-
getBaseResourceId
public UUID getBaseResourceId()
The ID of the resource which the searched comments refer to.
-
getRootComment
public Boolean getRootComment()
Whether the searched comments should be root comments (not reply comments).
-
getSortOrder
public SortOrder getSortOrder()
The order of sorting on the date the comment was created.
-
setParentId
public void setParentId(UUID parentId)
The ID of the comment which the reply comments should be searched for.
-
setUserId
public void setUserId(UUID userId)
The ID of the user who created the comment.
-
setBaseResourceId
public void setBaseResourceId(UUID baseResourceId)
The ID of the resource which the searched comments refer to.
-
setRootComment
public void setRootComment(Boolean rootComment)
Whether the searched comments should be root comments (not reply comments).
-
setSortOrder
public void setSortOrder(SortOrder sortOrder)
The order of sorting on the date the comment was created.
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classPagedRequest
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classPagedRequest
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classPagedRequest
-
toString
public String toString()
- Overrides:
toString
in classPagedRequest
-
-