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
|
IProfilePhotoCollectionPage |
get() |
void |
get(ICallback<IProfilePhotoCollectionPage> callback) |
ProfilePhoto |
post(ProfilePhoto newProfilePhoto) |
void |
post(ProfilePhoto newProfilePhoto,
ICallback<ProfilePhoto> callback) |
IProfilePhotoCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IProfilePhotoCollectionRequest |
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 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<IProfilePhotoCollectionPage> callback)
get in interface IProfilePhotoCollectionRequestpublic IProfilePhotoCollectionPage get() throws ClientException
get in interface IProfilePhotoCollectionRequestClientExceptionpublic void post(ProfilePhoto newProfilePhoto, ICallback<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 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 IProfilePhotoCollectionPage buildFromResponse(ProfilePhotoCollectionResponse response)