public class ProfilePhotoCollectionRequest extends BaseCollectionRequest<ProfilePhotoCollectionResponse,IProfilePhotoCollectionPage> implements IProfilePhotoCollectionRequest
| Constructor and Description |
|---|
ProfilePhotoCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of ProfilePhoto
|
| Modifier and Type | Method and Description |
|---|---|
IProfilePhotoCollectionPage |
buildFromResponse(ProfilePhotoCollectionResponse response) |
IProfilePhotoCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IProfilePhotoCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IProfilePhotoCollectionPage |
get() |
void |
get(ICallback<? super IProfilePhotoCollectionPage> callback) |
IProfilePhotoCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
ProfilePhoto |
post(ProfilePhoto newProfilePhoto) |
void |
post(ProfilePhoto newProfilePhoto,
ICallback<? super ProfilePhoto> callback) |
IProfilePhotoCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IProfilePhotoCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IProfilePhotoCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IProfilePhotoCollectionRequest |
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 ProfilePhotoCollectionRequest(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 IProfilePhotoCollectionPage> callback)
get in interface IProfilePhotoCollectionRequestpublic IProfilePhotoCollectionPage get() throws ClientException
get in interface IProfilePhotoCollectionRequestClientExceptionpublic void post(ProfilePhoto newProfilePhoto, ICallback<? super ProfilePhoto> callback)
post in interface IProfilePhotoCollectionRequestpublic ProfilePhoto post(ProfilePhoto newProfilePhoto) throws ClientException
post in interface IProfilePhotoCollectionRequestClientExceptionpublic IProfilePhotoCollectionRequest expand(java.lang.String value)
expand in interface IProfilePhotoCollectionRequestvalue - the expand clausepublic IProfilePhotoCollectionRequest filter(java.lang.String value)
filter in interface IProfilePhotoCollectionRequestvalue - the filter clausepublic IProfilePhotoCollectionRequest orderBy(java.lang.String value)
orderBy in interface IProfilePhotoCollectionRequestvalue - the order by clausepublic IProfilePhotoCollectionRequest select(java.lang.String value)
select in interface IProfilePhotoCollectionRequestvalue - the select clausepublic IProfilePhotoCollectionRequest top(int value)
top in interface IProfilePhotoCollectionRequestvalue - the max number of items to returnpublic IProfilePhotoCollectionRequest skip(int value)
skip in interface IProfilePhotoCollectionRequestvalue - of the number of items to skippublic IProfilePhotoCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IProfilePhotoCollectionRequestskipToken - - Token for paginationpublic IProfilePhotoCollectionPage buildFromResponse(ProfilePhotoCollectionResponse response)