public class WebAppService extends Object
| Constructor and Description |
|---|
WebAppService(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
checkInstallation(Long spaceId)
Check Installation
This operation returns true when the app is installed in given space.
|
Boolean |
checkInstallation(Long spaceId,
Map<String,Object> params)
Check Installation
This operation returns true when the app is installed in given space.
|
com.google.api.client.http.HttpResponse |
checkInstallationForHttpResponse(Long spaceId) |
com.google.api.client.http.HttpResponse |
checkInstallationForHttpResponse(Long spaceId,
Map<String,Object> params) |
WebAppConfirmationResponse |
confirm(WebAppConfirmationRequest request)
Confirm
This operation confirms the app installation.
|
WebAppConfirmationResponse |
confirm(WebAppConfirmationRequest request,
Map<String,Object> params)
Confirm
This operation confirms the app installation.
|
com.google.api.client.http.HttpResponse |
confirmForHttpResponse(InputStream request,
String mediaType) |
com.google.api.client.http.HttpResponse |
confirmForHttpResponse(WebAppConfirmationRequest request) |
com.google.api.client.http.HttpResponse |
confirmForHttpResponse(WebAppConfirmationRequest request,
Map<String,Object> params) |
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
void |
uninstall(Long spaceId)
Uninstall
This operation uninstalls the web app from the provided space.
|
void |
uninstall(Long spaceId,
Map<String,Object> params)
Uninstall
This operation uninstalls the web app from the provided space.
|
com.google.api.client.http.HttpResponse |
uninstallForHttpResponse(Long spaceId) |
com.google.api.client.http.HttpResponse |
uninstallForHttpResponse(Long spaceId,
Map<String,Object> params) |
public WebAppService(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Boolean checkInstallation(Long spaceId) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - This parameter identifies the space which should be checked if the web app is installed.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public Boolean checkInstallation(Long spaceId, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - This parameter identifies the space which should be checked if the web app is installed.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse checkInstallationForHttpResponse(Long spaceId) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse checkInstallationForHttpResponse(Long spaceId, Map<String,Object> params) throws IOException
IOExceptionpublic WebAppConfirmationResponse confirm(WebAppConfirmationRequest request) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
request - IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public WebAppConfirmationResponse confirm(WebAppConfirmationRequest request, Map<String,Object> params) throws IOException
200 - This status code indicates that a client request was successfully received, understood, and accepted.
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
request - params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse confirmForHttpResponse(WebAppConfirmationRequest request) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse confirmForHttpResponse(InputStream request, String mediaType) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse confirmForHttpResponse(WebAppConfirmationRequest request, Map<String,Object> params) throws IOException
IOExceptionpublic void uninstall(Long spaceId) throws IOException
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - This parameter identifies the space within which the web app should be uninstalled.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public void uninstall(Long spaceId, Map<String,Object> params) throws IOException
442 - This status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
542 - This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the client request.
spaceId - This parameter identifies the space within which the web app should be uninstalled.params - Map of query params. A collection will be interpreted as passing in multiple instances of the same query param.IOException - if an error occurs while attempting to invoke the API
For more information visit this link.public com.google.api.client.http.HttpResponse uninstallForHttpResponse(Long spaceId) throws IOException
IOExceptionpublic com.google.api.client.http.HttpResponse uninstallForHttpResponse(Long spaceId, Map<String,Object> params) throws IOException
IOExceptionCopyright © 2024. All rights reserved.