public class OrgContactCollectionRequest extends BaseCollectionRequest<OrgContactCollectionResponse,IOrgContactCollectionPage> implements IOrgContactCollectionRequest
| Constructor and Description |
|---|
OrgContactCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of OrgContact
|
| Modifier and Type | Method and Description |
|---|---|
IOrgContactCollectionPage |
buildFromResponse(OrgContactCollectionResponse response) |
IOrgContactCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IOrgContactCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IOrgContactCollectionPage |
get() |
void |
get(ICallback<? super IOrgContactCollectionPage> callback) |
IOrgContactCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
OrgContact |
post(OrgContact newOrgContact) |
void |
post(OrgContact newOrgContact,
ICallback<? super OrgContact> callback) |
IOrgContactCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IOrgContactCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IOrgContactCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IOrgContactCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic OrgContactCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic void get(ICallback<? super IOrgContactCollectionPage> callback)
get in interface IOrgContactCollectionRequestpublic IOrgContactCollectionPage get() throws ClientException
get in interface IOrgContactCollectionRequestClientExceptionpublic void post(OrgContact newOrgContact, ICallback<? super OrgContact> callback)
post in interface IOrgContactCollectionRequestpublic OrgContact post(OrgContact newOrgContact) throws ClientException
post in interface IOrgContactCollectionRequestClientExceptionpublic IOrgContactCollectionRequest expand(java.lang.String value)
expand in interface IOrgContactCollectionRequestvalue - the expand clausepublic IOrgContactCollectionRequest filter(java.lang.String value)
filter in interface IOrgContactCollectionRequestvalue - the filter clausepublic IOrgContactCollectionRequest orderBy(java.lang.String value)
orderBy in interface IOrgContactCollectionRequestvalue - the order by clausepublic IOrgContactCollectionRequest select(java.lang.String value)
select in interface IOrgContactCollectionRequestvalue - the select clausepublic IOrgContactCollectionRequest top(int value)
top in interface IOrgContactCollectionRequestvalue - the max number of items to returnpublic IOrgContactCollectionRequest skip(int value)
skip in interface IOrgContactCollectionRequestvalue - of the number of items to skippublic IOrgContactCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IOrgContactCollectionRequestskipToken - - Token for paginationpublic IOrgContactCollectionPage buildFromResponse(OrgContactCollectionResponse response)