public class ListUsersRequest extends AbstractModel
Constructor and Description |
---|
ListUsersRequest() |
ListUsersRequest(ListUsersRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getExpectedFields()
Get User attributes expected to be returned.
|
Boolean |
getIncludeTotal()
Get Whether to view the total number of search results.
|
Long |
getLimit()
Get Number of results read per page.
|
Long |
getOffset()
Get Pagination offset.
|
UserSearchCriteria |
getSearchCondition()
Get User attribute search criterion.
|
SortCondition |
getSort()
Get Set of sort criteria.
|
void |
setExpectedFields(String[] ExpectedFields)
Set User attributes expected to be returned.
|
void |
setIncludeTotal(Boolean IncludeTotal)
Set Whether to view the total number of search results.
|
void |
setLimit(Long Limit)
Set Number of results read per page.
|
void |
setOffset(Long Offset)
Set Pagination offset.
|
void |
setSearchCondition(UserSearchCriteria SearchCondition)
Set User attribute search criterion.
|
void |
setSort(SortCondition Sort)
Set Set of sort criteria.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ListUsersRequest()
public ListUsersRequest(ListUsersRequest source)
public UserSearchCriteria getSearchCondition()
public void setSearchCondition(UserSearchCriteria SearchCondition)
SearchCondition
- User attribute search criterion. The supported search criteria include username, mobile number, email address, user locking status, user freezing status, creation time, and last modification time, which can also be combined. In addition, multiple query methods such as full match, partial match, and range match are supported. Specifically, double quotation marks ("") indicate full match, an asterisk (*) at the end of the field indicates partial match, brackets separated by a comma ([Min,Max]) indicate query within a closed interval, braces separated by a comma ({Min,Max}) indicate query within an open interval, and a bracket and a brace can be used together (for example, {Min,Max] indicates that the minimum value is excluded and the maximum value is included in the query). Range query supports using an asterisk (for example, {20,*] indicates an interval including all data greater than 20) and querying by time period. The supported attributes include creation time (CreationTime) and last modification time (LastUpdateTime) in ISO 8601 format, such as `2021-01-13T09:44:07.182+0000`.public String[] getExpectedFields()
public void setExpectedFields(String[] ExpectedFields)
ExpectedFields
- User attributes expected to be returned. All built-in user attributes will be returned by default, including user UUID (UserId), nickname (DisplayName), username (UserName), mobile number (Phone), email address (Email), status (Status), user group (SubjectGroups), organization path (OrgPath), remarks (Description), creation time (CreationTime), last modification time (LastUpdateTime), and last login time (LastLoginTime).public SortCondition getSort()
public void setSort(SortCondition Sort)
Sort
- Set of sort criteria. The supported attributes for sorting include username (UserName), nickname (DisplayName), mobile number (Phone), email address (Email), user status (Status), creation time (CreatedDate), last modification time (LastUpdateTime), and last login time (LastLoginTime). If this field is left empty, the results will be sorted in alphabetical order by nickname (DisplayName).public Long getOffset()
public void setOffset(Long Offset)
Offset
- Pagination offset. Default value: 0. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 1,000 users will be returned.public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of results read per page. Default value: 50. Maximum value: 100. The `Offset` and `Limit` fields need to be used together; otherwise, the query results will not be paginated, and up to 1,000 users will be returned.public Boolean getIncludeTotal()
public void setIncludeTotal(Boolean IncludeTotal)
IncludeTotal
- Whether to view the total number of search results. Default value: false (no).Copyright © 2023. All rights reserved.