public class DriveRequestBuilder extends BaseRequestBuilder implements IDriveRequestBuilder
| Constructor and Description |
|---|
DriveRequestBuilder(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for the Drive
|
| Modifier and Type | Method and Description |
|---|---|
IDriveRequest |
buildRequest()
Creates the request
|
IDriveRequest |
buildRequest(java.util.List<? extends Option> requestOptions)
Creates the request with specific requestOptions instead of the existing requestOptions
|
IDriveItemCollectionRequestBuilder |
items() |
IDriveItemRequestBuilder |
items(java.lang.String id) |
IListRequestBuilder |
list()
Gets the request builder for List
|
IDriveRecentCollectionRequestBuilder |
recent() |
IDriveItemRequestBuilder |
root()
Gets the request builder for DriveItem
|
IDriveSearchCollectionRequestBuilder |
search(java.lang.String q) |
IDriveSharedWithMeCollectionRequestBuilder |
sharedWithMe() |
IDriveItemCollectionRequestBuilder |
special() |
IDriveItemRequestBuilder |
special(java.lang.String id) |
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClient, getRequestUrl, getRequestUrlWithAdditionalSegmentpublic DriveRequestBuilder(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic IDriveRequest buildRequest()
buildRequest in interface IDriveRequestBuilderpublic IDriveRequest buildRequest(java.util.List<? extends Option> requestOptions)
buildRequest in interface IDriveRequestBuilderrequestOptions - the options for this requestpublic IDriveItemCollectionRequestBuilder items()
items in interface IDriveRequestBuilderpublic IDriveItemRequestBuilder items(java.lang.String id)
items in interface IDriveRequestBuilderpublic IListRequestBuilder list()
list in interface IDriveRequestBuilderpublic IDriveItemRequestBuilder root()
root in interface IDriveRequestBuilderpublic IDriveItemCollectionRequestBuilder special()
special in interface IDriveRequestBuilderpublic IDriveItemRequestBuilder special(java.lang.String id)
special in interface IDriveRequestBuilderpublic IDriveRecentCollectionRequestBuilder recent()
recent in interface IDriveRequestBuilderpublic IDriveSearchCollectionRequestBuilder search(java.lang.String q)
search in interface IDriveRequestBuilderpublic IDriveSharedWithMeCollectionRequestBuilder sharedWithMe()
sharedWithMe in interface IDriveRequestBuilder