public class TeamCollectionRequest extends BaseCollectionRequest<TeamCollectionResponse,ITeamCollectionPage> implements ITeamCollectionRequest
| Constructor and Description |
|---|
TeamCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of Team
|
| Modifier and Type | Method and Description |
|---|---|
ITeamCollectionPage |
buildFromResponse(TeamCollectionResponse response) |
ITeamCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ITeamCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
ITeamCollectionPage |
get() |
void |
get(ICallback<? super ITeamCollectionPage> callback) |
ITeamCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
Team |
post(Team newTeam) |
void |
post(Team newTeam,
ICallback<? super Team> callback) |
ITeamCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ITeamCollectionRequest |
skip(int value)
Sets the skip value for the request
|
ITeamCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
ITeamCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic TeamCollectionRequest(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 get(ICallback<? super ITeamCollectionPage> callback)
get in interface ITeamCollectionRequestpublic ITeamCollectionPage get() throws ClientException
get in interface ITeamCollectionRequestClientExceptionpublic void post(Team newTeam, ICallback<? super Team> callback)
post in interface ITeamCollectionRequestpublic Team post(Team newTeam) throws ClientException
post in interface ITeamCollectionRequestClientExceptionpublic ITeamCollectionRequest expand(java.lang.String value)
expand in interface ITeamCollectionRequestvalue - the expand clausepublic ITeamCollectionRequest filter(java.lang.String value)
filter in interface ITeamCollectionRequestvalue - the filter clausepublic ITeamCollectionRequest orderBy(java.lang.String value)
orderBy in interface ITeamCollectionRequestvalue - the order by clausepublic ITeamCollectionRequest select(java.lang.String value)
select in interface ITeamCollectionRequestvalue - the select clausepublic ITeamCollectionRequest top(int value)
top in interface ITeamCollectionRequestvalue - the max number of items to returnpublic ITeamCollectionRequest skip(int value)
skip in interface ITeamCollectionRequestvalue - of the number of items to skippublic ITeamCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface ITeamCollectionRequestskipToken - - Token for paginationpublic ITeamCollectionPage buildFromResponse(TeamCollectionResponse response)