public class OrgContactCollectionReferenceRequest extends BaseCollectionRequest<OrgContactCollectionResponse,IOrgContactCollectionPage> implements IOrgContactCollectionReferenceRequest
| Constructor and Description |
|---|
OrgContactCollectionReferenceRequest(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 |
|---|---|
IOrgContactCollectionReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IOrgContactCollectionReferenceRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IOrgContactCollectionReferenceRequest |
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) |
IOrgContactCollectionReferenceRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IOrgContactCollectionReferenceRequest |
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, withHttpMethodpublic OrgContactCollectionReferenceRequest(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 post(OrgContact newOrgContact, ICallback<? super OrgContact> callback)
post in interface IOrgContactCollectionReferenceRequestpublic OrgContact post(OrgContact newOrgContact) throws ClientException
post in interface IOrgContactCollectionReferenceRequestClientExceptionpublic IOrgContactCollectionReferenceRequest expand(java.lang.String value)
value - the expand clausepublic IOrgContactCollectionReferenceRequest filter(java.lang.String value)
value - the filter clausepublic IOrgContactCollectionReferenceRequest orderBy(java.lang.String value)
value - the sort clausepublic IOrgContactCollectionReferenceRequest select(java.lang.String value)
select in interface IOrgContactCollectionReferenceRequestvalue - the select clausepublic IOrgContactCollectionReferenceRequest top(int value)
top in interface IOrgContactCollectionReferenceRequestvalue - the max number of items to return