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
|
IOrgContactCollectionPage |
get() |
void |
get(ICallback<IOrgContactCollectionPage> callback) |
OrgContact |
post(OrgContact newOrgContact) |
void |
post(OrgContact newOrgContact,
ICallback<OrgContact> callback) |
IOrgContactCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IOrgContactCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic 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<IOrgContactCollectionPage> callback)
get in interface IOrgContactCollectionRequestpublic IOrgContactCollectionPage get() throws ClientException
get in interface IOrgContactCollectionRequestClientExceptionpublic void post(OrgContact newOrgContact, ICallback<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 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 IOrgContactCollectionPage buildFromResponse(OrgContactCollectionResponse response)