public class BaseCreateLinkRequest extends BaseRequest implements IBaseCreateLinkRequest
| Modifier and Type | Field and Description |
|---|---|
protected CreateLinkBody |
mBody |
REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
BaseCreateLinkRequest(java.lang.String requestUrl,
IOneDriveClient client,
java.util.List<Option> options,
java.lang.String type)
The request for this CreateLink
|
| Modifier and Type | Method and Description |
|---|---|
Permission |
create()
Deprecated.
As of release 1.1.3, replaced by
post() |
void |
create(ICallback<Permission> callback)
Deprecated.
As of release 1.1.3, replaced by
post(ICallback) |
ICreateLinkRequest |
expand(java.lang.String value) |
Permission |
post() |
void |
post(ICallback<Permission> callback) |
ICreateLinkRequest |
select(java.lang.String value) |
ICreateLinkRequest |
top(int value) |
addHeader, getClient, getHeaders, getHttpMethod, getOptions, getQueryOptions, getRequestUrl, getResponseType, send, send, setHttpMethodprotected final CreateLinkBody mBody
public BaseCreateLinkRequest(java.lang.String requestUrl,
IOneDriveClient client,
java.util.List<Option> options,
java.lang.String type)
requestUrl - The request urlclient - The service clientoptions - The options for this request@Deprecated public void create(ICallback<Permission> callback)
post(ICallback)create in interface IBaseCreateLinkRequest@Deprecated public Permission create() throws ClientException
post()create in interface IBaseCreateLinkRequestClientExceptionpublic void post(ICallback<Permission> callback)
post in interface IBaseCreateLinkRequestpublic Permission post() throws ClientException
post in interface IBaseCreateLinkRequestClientExceptionpublic ICreateLinkRequest select(java.lang.String value)
select in interface IBaseCreateLinkRequestpublic ICreateLinkRequest top(int value)
top in interface IBaseCreateLinkRequestpublic ICreateLinkRequest expand(java.lang.String value)
expand in interface IBaseCreateLinkRequest