public class BaseDriveCollectionRequest extends BaseCollectionRequest<BaseDriveCollectionResponse,IDriveCollectionPage> implements IBaseDriveCollectionRequest
| Constructor and Description |
|---|
BaseDriveCollectionRequest(java.lang.String requestUrl,
IOneDriveClient client,
java.util.List<Option> options)
The request builder for this collection of Drive
|
| Modifier and Type | Method and Description |
|---|---|
IDriveCollectionPage |
buildFromResponse(BaseDriveCollectionResponse response) |
IDriveCollectionRequest |
expand(java.lang.String value) |
IDriveCollectionPage |
get() |
void |
get(ICallback<IDriveCollectionPage> callback) |
IDriveCollectionRequest |
select(java.lang.String value) |
IDriveCollectionRequest |
top(int value) |
addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getHeaders, getHttpMethod, getOptions, getRequestUrl, sendpublic BaseDriveCollectionRequest(java.lang.String requestUrl,
IOneDriveClient client,
java.util.List<Option> options)
requestUrl - The request urlclient - The service clientoptions - The options for this requestpublic void get(ICallback<IDriveCollectionPage> callback)
get in interface IBaseDriveCollectionRequestpublic IDriveCollectionPage get() throws ClientException
get in interface IBaseDriveCollectionRequestClientExceptionpublic IDriveCollectionRequest expand(java.lang.String value)
expand in interface IBaseDriveCollectionRequestpublic IDriveCollectionRequest select(java.lang.String value)
select in interface IBaseDriveCollectionRequestpublic IDriveCollectionRequest top(int value)
top in interface IBaseDriveCollectionRequestpublic IDriveCollectionPage buildFromResponse(BaseDriveCollectionResponse response)