public interface ISegmentCollectionRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
ISegmentCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ISegmentCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
ISegmentCollectionPage |
get() |
void |
get(ICallback<? super ISegmentCollectionPage> callback) |
ISegmentCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
Segment |
post(Segment newSegment) |
void |
post(Segment newSegment,
ICallback<? super Segment> callback) |
ISegmentCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ISegmentCollectionRequest |
skip(int value)
Sets the skip value for the request
|
ISegmentCollectionRequest |
skipToken(java.lang.String skipToken)
Sets the skip token value for the request
|
ISegmentCollectionRequest |
top(int value)
Sets the top value for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodvoid get(ICallback<? super ISegmentCollectionPage> callback)
ISegmentCollectionPage get() throws ClientException
ClientExceptionSegment post(Segment newSegment) throws ClientException
ClientExceptionISegmentCollectionRequest expand(java.lang.String value)
value - the expand clauseISegmentCollectionRequest filter(java.lang.String value)
value - the filter clauseISegmentCollectionRequest orderBy(java.lang.String value)
value - the order by clauseISegmentCollectionRequest select(java.lang.String value)
value - the select clauseISegmentCollectionRequest top(int value)
value - the max number of items to returnISegmentCollectionRequest skip(int value)
value - of the number of items to skipISegmentCollectionRequest skipToken(java.lang.String skipToken)
skipToken - value for pagination