Class FindCommentsRequest
Object
PagedRequest
FindCommentsRequest
- All Implemented Interfaces:
Serializable
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:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class PagedRequest
countLimit, limit, offset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FindCommentsRequest.Builderbuilder()protected booleanbooleanThe ID of the resource which the searched comments refer to.The ID of the comment which the reply comments should be searched for.Whether the searched comments should be resolved.Whether the searched comments should be root comments (not reply comments).The order of sorting on the date the comment was created.The ID of the user.Specifies whether to search for root comments created by or mentioning the user `userId`, or root comments with replies created by or mentioning the user `userId`.inthashCode()voidsetBaseResourceId(UUID baseResourceId) The ID of the resource which the searched comments refer to.voidsetParentId(UUID parentId) The ID of the comment which the reply comments should be searched for.voidsetResolved(Boolean resolved) Whether the searched comments should be resolved.voidsetRootComment(Boolean rootComment) Whether the searched comments should be root comments (not reply comments).voidsetSortOrder(SortOrder sortOrder) The order of sorting on the date the comment was created.voidThe ID of the user.voidsetUserThreads(Boolean userThreads) Specifies whether to search for root comments created by or mentioning the user `userId`, or root comments with replies created by or mentioning the user `userId`.toString()Methods inherited from class PagedRequest
getCountLimit, getLimit, getOffset, isPagingActive, setCountLimit, setLimit, setOffset
-
Constructor Details
-
FindCommentsRequest
public FindCommentsRequest()
-
-
Method Details
-
builder
-
getParentId
The ID of the comment which the reply comments should be searched for. -
getUserId
The ID of the user. By default, filters comments to include only those created by this user. -
getBaseResourceId
The ID of the resource which the searched comments refer to. -
getRootComment
Whether the searched comments should be root comments (not reply comments). -
getResolved
Whether the searched comments should be resolved. -
getUserThreads
Specifies whether to search for root comments created by or mentioning the user `userId`, or root comments with replies created by or mentioning the user `userId`. -
getSortOrder
The order of sorting on the date the comment was created. -
setParentId
The ID of the comment which the reply comments should be searched for. -
setUserId
The ID of the user. By default, filters comments to include only those created by this user. -
setBaseResourceId
The ID of the resource which the searched comments refer to. -
setRootComment
Whether the searched comments should be root comments (not reply comments). -
setResolved
Whether the searched comments should be resolved. -
setUserThreads
Specifies whether to search for root comments created by or mentioning the user `userId`, or root comments with replies created by or mentioning the user `userId`. -
setSortOrder
The order of sorting on the date the comment was created. -
equals
- Overrides:
equalsin classPagedRequest
-
canEqual
- Overrides:
canEqualin classPagedRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classPagedRequest
-
toString
- Overrides:
toStringin classPagedRequest
-