public interface ITeamRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super Team> callback)
Delete this item from the service
|
ITeamRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Team |
get()
Gets the Team from the service
|
void |
get(ICallback<? super Team> callback)
Gets the Team from the service
|
Team |
patch(Team sourceTeam)
Patches this Team with a source
|
void |
patch(Team sourceTeam,
ICallback<? super Team> callback)
Patches this Team with a source
|
Team |
post(Team newTeam)
Posts a Team with a new object
|
void |
post(Team newTeam,
ICallback<? super Team> callback)
Posts a Team with a new object
|
Team |
put(Team newTeam)
Posts a Team with a new object
|
void |
put(Team newTeam,
ICallback<? super Team> callback)
Posts a Team with a new object
|
ITeamRequest |
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 Team> callback)
callback - the callback to be called after success or failureTeam get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super Team> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(Team sourceTeam, ICallback<? super Team> callback)
sourceTeam - the source object with updatescallback - the callback to be called after success or failureTeam patch(Team sourceTeam) throws ClientException
sourceTeam - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(Team newTeam, ICallback<? super Team> callback)
newTeam - the new object to createcallback - the callback to be called after success or failureTeam post(Team newTeam) throws ClientException
newTeam - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(Team newTeam, ICallback<? super Team> callback)
newTeam - the object to create/updatecallback - the callback to be called after success or failureTeam put(Team newTeam) throws ClientException
newTeam - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonITeamRequest select(java.lang.String value)
value - the select clauseITeamRequest expand(java.lang.String value)
value - the expand clause