public class ClientListResponse extends Object implements Serializable
/client/get/list API.| Constructor and Description |
|---|
ClientListResponse() |
| Modifier and Type | Method and Description |
|---|---|
Client[] |
getClients()
Get the list of clients that match the query conditions.
|
String |
getDeveloper()
Get the developer specified in the query.
|
int |
getEnd()
Get the end index (exclusive) for the result set of the query.
|
int |
getStart()
Get the start index (inclusive) for the result set of the query.
|
int |
getTotalCount()
Get the total count of client applications either of the
service (when
developer is null) or of
the developer (when developer is not null). |
ClientListResponse |
setClients(Client[] clients)
Set the list of clients that match the query conditions.
|
ClientListResponse |
setDeveloper(String developer)
Set the developer.
|
ClientListResponse |
setEnd(int end)
Set the end index (exclusive) for the result set of the query.
|
ClientListResponse |
setStart(int start)
Set the start index (inclusive) for the result set of the query.
|
ClientListResponse |
setTotalCount(int count)
Set the total count of client applications either of the
service (when
developer is null) or of
the developer (when developer is not null). |
public int getStart()
'start' parameter), or the default value (0) if the
original request did not contain the parameter.public ClientListResponse setStart(int start)
start - The start index for the result set of the query.this object.public int getEnd()
'end' parameter), or the default value defined in
Authlete server if the original request did not contain the
parameter.public ClientListResponse setEnd(int end)
end - The end index for the result set of the query.this object.public String getDeveloper()
'developer' parameter) or null. When null,
it means that all the clients that belong to the service
are targeted.null if the original request was
not bound to any developer.public ClientListResponse setDeveloper(String developer)
developer - The developer unique ID assigned by the service.this object.public int getTotalCount()
developer is null) or of
the developer (when developer is not null).
The value returned by this method is not the size of the
array returned by getClients(). Instead, it is
the total count of the client applications (either of
the service or of the developer) which exist in Authlete's
database.
public ClientListResponse setTotalCount(int count)
developer is null) or of
the developer (when developer is not null).count - The total count of client applications.this object.public Client[] getClients()
null when no client
matched the query conditions.public ClientListResponse setClients(Client[] clients)
clients - List of clients, or null when no client
matched the query conditions.this object.Copyright © 2019. All rights reserved.