public class ServiceListResponse extends Object implements Serializable
/service/get/list API.| Constructor and Description |
|---|
ServiceListResponse() |
| Modifier and Type | Method and Description |
|---|---|
int |
getEnd()
Get the end index (exclusive) for the result set of the query.
|
Service[] |
getServices()
Get the list of services.
|
int |
getStart()
Get the start index (inclusive) for the result set of the query.
|
int |
getTotalCount()
Get the total count of services.
|
ServiceListResponse |
setEnd(int end)
Set the end index (exclusive) for the result set of the query.
|
ServiceListResponse |
setServices(Service[] services)
Set the list of services that match the query conditions.
|
ServiceListResponse |
setStart(int start)
Set the start index (inclusive) for the result set of the query.
|
ServiceListResponse |
setTotalCount(int count)
Set the total count of services.
|
public int getStart()
'start' parameter), or the default value (0) if the
original request did not contain the parameter.public ServiceListResponse 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 used by Authlete
server if the original request did not contain the parameter.public ServiceListResponse setEnd(int end)
end - The end index for the result set of the query.this object.public int getTotalCount()
public ServiceListResponse setTotalCount(int count)
count - The total count of services.this object.public Service[] getServices()
null when no service
matched the query conditions.public ServiceListResponse setServices(Service[] services)
services - List of services, or null when no service
matched the query conditions.this object.Copyright © 2019. All rights reserved.