public class NamespacesRequestExecutor extends PaginatedRequestExecutor<Namespaces>
NamespacesApi. Use this class if you want to fetch
secure namespaces mapping through fluent API in chained fashion, for example:
IKontaktCloud kontaktCloud = KontaktCloud.newInstance();
kontaktCloud.namespaces().fetch()
.startIndex(4)
.maxResult(10)
.execute();
eTag, maxResult, order, orderBy, query, startIndex| Constructor and Description |
|---|
NamespacesRequestExecutor(NamespacesService namespacesService)
Constructs request executor initialized with corresponding service class.
|
| Modifier and Type | Method and Description |
|---|---|
NamespacesRequestExecutor |
eTag(java.lang.String eTag)
Specifies HTTP entity tag purposed for caching REST API calls.
|
NamespacesRequestExecutor |
filter(java.lang.String query)
Specifies the filter for requested data.
|
NamespacesRequestExecutor |
mappedBy(java.lang.String namespace)
Specifies namespace to mapping.
|
NamespacesRequestExecutor |
maxResult(int maxResult)
Specifies the maximum size of response data collection.
|
NamespacesRequestExecutor |
orderBy(OrderBy orderBy,
Order order)
Specifies the ordering of response data elements.
|
protected java.util.Map<java.lang.String,java.lang.String> |
params()
Composes the request's query parameters in map.
|
protected retrofit2.Call<Namespaces> |
prepareCall()
Prepares a request to execute.
|
NamespacesRequestExecutor |
startIndex(int startIndex)
Specifies the start index of requested data.
|
execute, executepublic NamespacesRequestExecutor(NamespacesService namespacesService)
namespacesService - the namespaces API service.public NamespacesRequestExecutor mappedBy(java.lang.String namespace)
namespace - the namespace.public NamespacesRequestExecutor startIndex(int startIndex)
startIndex in class PaginatedRequestExecutor<Namespaces>startIndex - the start index.public NamespacesRequestExecutor maxResult(int maxResult)
maxResult in class PaginatedRequestExecutor<Namespaces>maxResult - the maximum response size value.public NamespacesRequestExecutor filter(java.lang.String query)
filter in class PaginatedRequestExecutor<Namespaces>query - the query filter.public NamespacesRequestExecutor orderBy(OrderBy orderBy, Order order)
orderBy in class PaginatedRequestExecutor<Namespaces>orderBy - the field type that specifies the order by column.order - ascending or descending.public NamespacesRequestExecutor eTag(java.lang.String eTag)
eTag in class PaginatedRequestExecutor<Namespaces>eTag - the entity tag value.protected retrofit2.Call<Namespaces> prepareCall()
prepareCall in class RequestExecutor<Namespaces>protected java.util.Map<java.lang.String,java.lang.String> params()
params in class PaginatedRequestExecutor<Namespaces>