public class TeamsAppInstallationUpgradeRequest extends BaseRequest implements ITeamsAppInstallationUpgradeRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
TeamsAppInstallationUpgradeRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this TeamsAppInstallationUpgrade
|
Modifier and Type | Method and Description |
---|---|
void |
post()
Creates the TeamsAppInstallationUpgrade
|
void |
post(ICallback<java.lang.Void> callback)
Creates the TeamsAppInstallationUpgrade
|
addFunctionOption, addHeader, addQueryOption, getClient, getFunctionOptions, getHeaders, getHttpMethod, getOptions, getQueryOptions, getRequestUrl, getResponseType, getUseCaches, send, send, setHttpMethod, setUseCaches
public TeamsAppInstallationUpgradeRequest(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 post(ICallback<java.lang.Void> callback)
post
in interface ITeamsAppInstallationUpgradeRequest
callback
- the callback to be called after success or failurepublic void post() throws ClientException
post
in interface ITeamsAppInstallationUpgradeRequest
ClientException
- an exception occurs if there was an error while the request was sent