Class FindAttributesRequest
Object
PagedRequest
CursorPagedRequest
FindAttributesRequest
- All Implemented Interfaces:
Serializable
The search criteria for attributes.
Only parameters that are specified in this request and have not null
values are used for filtering.
All other parameters are ignored.
The returned attributes satisfy all constraints that are specified in this search criteria.
By default a result containing 1000 attributes is returned.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static enum
-
Field Summary
Fields inherited from class PagedRequest
countLimit, limit, offset
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
The ID of the asset to find the attributes in, or null if no asset filtering should be applied.The field on which the results are sorted.The sorting order.The list of IDs of the attribute types the found attributes should have, or null or empty if no type filtering should be applied.The list of public IDs of the attribute types the found attributes should have, or null or empty if no type filtering should be applied.int
hashCode()
void
setAssetId
(UUID assetId) The ID of the asset to find the attributes in, or null if no asset filtering should be applied.void
setSortField
(FindAttributesRequest.SortField sortField) The field on which the results are sorted.void
setSortOrder
(SortOrder sortOrder) The sorting order.void
setTypeIds
(List<UUID> typeIds) The list of IDs of the attribute types the found attributes should have, or null or empty if no type filtering should be applied.void
setTypePublicIds
(List<String> typePublicIds) The list of public IDs of the attribute types the found attributes should have, or null or empty if no type filtering should be applied.toString()
Methods inherited from class CursorPagedRequest
getCountLimit, getCursor, getOffset, setCountLimit, setCursor, setOffset
Methods inherited from class PagedRequest
getLimit, isPagingActive, setLimit
-
Constructor Details
-
FindAttributesRequest
public FindAttributesRequest()
-
-
Method Details
-
builder
-
getTypeIds
The list of IDs of the attribute types the found attributes should have, or null or empty if no type filtering should be applied. -
getAssetId
The ID of the asset to find the attributes in, or null if no asset filtering should be applied. -
getSortOrder
The sorting order. Defaults toDESC
. (descending) -
getSortField
The field on which the results are sorted. Defaults toLAST_MODIFIED
. -
getTypePublicIds
The list of public IDs of the attribute types the found attributes should have, or null or empty if no type filtering should be applied. -
setTypeIds
The list of IDs of the attribute types the found attributes should have, or null or empty if no type filtering should be applied. -
setAssetId
The ID of the asset to find the attributes in, or null if no asset filtering should be applied. -
setSortOrder
The sorting order. Defaults toDESC
. (descending) -
setSortField
The field on which the results are sorted. Defaults toLAST_MODIFIED
. -
setTypePublicIds
The list of public IDs of the attribute types the found attributes should have, or null or empty if no type filtering should be applied. -
equals
- Overrides:
equals
in classCursorPagedRequest
-
canEqual
- Overrides:
canEqual
in classCursorPagedRequest
-
hashCode
public int hashCode()- Overrides:
hashCode
in classCursorPagedRequest
-
toString
- Overrides:
toString
in classCursorPagedRequest
-