Package com.symphony.api.model
Class UserSearchResults
- java.lang.Object
-
- com.symphony.api.model.UserSearchResults
-
public class UserSearchResults extends Object
-
-
Constructor Summary
Constructors Constructor Description UserSearchResults()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserSearchResults
addUsersItem(UserV2 usersItem)
UserSearchResults
count(Long count)
Long
getCount()
The total number of users which matched the search criteria.Long
getLimit()
The number of returned results.UserSearchQuery
getSearchQuery()
Get searchQueryLong
getSkip()
The number of skipped results.List<UserV2>
getUsers()
A list of users which matched by the search criteria.UserSearchResults
limit(Long limit)
UserSearchResults
searchQuery(UserSearchQuery searchQuery)
void
setCount(Long count)
void
setLimit(Long limit)
void
setSearchQuery(UserSearchQuery searchQuery)
void
setSkip(Long skip)
void
setUsers(List<UserV2> users)
UserSearchResults
skip(Long skip)
String
toString()
UserSearchResults
users(List<UserV2> users)
-
-
-
Method Detail
-
getCount
public Long getCount()
The total number of users which matched the search criteria.- Returns:
- count
-
setCount
public void setCount(Long count)
-
count
public UserSearchResults count(Long count)
-
getSkip
public Long getSkip()
The number of skipped results.- Returns:
- skip
-
setSkip
public void setSkip(Long skip)
-
skip
public UserSearchResults skip(Long skip)
-
getLimit
public Long getLimit()
The number of returned results.- Returns:
- limit
-
setLimit
public void setLimit(Long limit)
-
limit
public UserSearchResults limit(Long limit)
-
getSearchQuery
public UserSearchQuery getSearchQuery()
Get searchQuery- Returns:
- searchQuery
-
setSearchQuery
public void setSearchQuery(UserSearchQuery searchQuery)
-
searchQuery
public UserSearchResults searchQuery(UserSearchQuery searchQuery)
-
getUsers
public List<UserV2> getUsers()
A list of users which matched by the search criteria.- Returns:
- users
-
users
public UserSearchResults users(List<UserV2> users)
-
addUsersItem
public UserSearchResults addUsersItem(UserV2 usersItem)
-
-