public interface ITeamworkBotRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super TeamworkBot> callback)
Delete this item from the service
|
ITeamworkBotRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
TeamworkBot |
get()
Gets the TeamworkBot from the service
|
void |
get(ICallback<? super TeamworkBot> callback)
Gets the TeamworkBot from the service
|
TeamworkBot |
patch(TeamworkBot sourceTeamworkBot)
Patches this TeamworkBot with a source
|
void |
patch(TeamworkBot sourceTeamworkBot,
ICallback<? super TeamworkBot> callback)
Patches this TeamworkBot with a source
|
TeamworkBot |
post(TeamworkBot newTeamworkBot)
Posts a TeamworkBot with a new object
|
void |
post(TeamworkBot newTeamworkBot,
ICallback<? super TeamworkBot> callback)
Posts a TeamworkBot with a new object
|
TeamworkBot |
put(TeamworkBot newTeamworkBot)
Posts a TeamworkBot with a new object
|
void |
put(TeamworkBot newTeamworkBot,
ICallback<? super TeamworkBot> callback)
Posts a TeamworkBot with a new object
|
ITeamworkBotRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodvoid get(ICallback<? super TeamworkBot> callback)
callback - the callback to be called after success or failureTeamworkBot get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super TeamworkBot> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(TeamworkBot sourceTeamworkBot, ICallback<? super TeamworkBot> callback)
sourceTeamworkBot - the source object with updatescallback - the callback to be called after success or failureTeamworkBot patch(TeamworkBot sourceTeamworkBot) throws ClientException
sourceTeamworkBot - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(TeamworkBot newTeamworkBot, ICallback<? super TeamworkBot> callback)
newTeamworkBot - the new object to createcallback - the callback to be called after success or failureTeamworkBot post(TeamworkBot newTeamworkBot) throws ClientException
newTeamworkBot - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(TeamworkBot newTeamworkBot, ICallback<? super TeamworkBot> callback)
newTeamworkBot - the object to create/updatecallback - the callback to be called after success or failureTeamworkBot put(TeamworkBot newTeamworkBot) throws ClientException
newTeamworkBot - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonITeamworkBotRequest select(java.lang.String value)
value - the select clauseITeamworkBotRequest expand(java.lang.String value)
value - the expand clause