public class TeamsTemplateCollectionRequest extends BaseCollectionRequest<TeamsTemplateCollectionResponse,ITeamsTemplateCollectionPage> implements ITeamsTemplateCollectionRequest
| Constructor and Description |
|---|
TeamsTemplateCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of TeamsTemplate
|
| Modifier and Type | Method and Description |
|---|---|
ITeamsTemplateCollectionPage |
buildFromResponse(TeamsTemplateCollectionResponse response) |
ITeamsTemplateCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ITeamsTemplateCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
ITeamsTemplateCollectionPage |
get() |
void |
get(ICallback<? super ITeamsTemplateCollectionPage> callback) |
ITeamsTemplateCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
TeamsTemplate |
post(TeamsTemplate newTeamsTemplate) |
void |
post(TeamsTemplate newTeamsTemplate,
ICallback<? super TeamsTemplate> callback) |
ITeamsTemplateCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ITeamsTemplateCollectionRequest |
skip(int value)
Sets the skip value for the request
|
ITeamsTemplateCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
ITeamsTemplateCollectionRequest |
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 TeamsTemplateCollectionRequest(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 ITeamsTemplateCollectionPage> callback)
get in interface ITeamsTemplateCollectionRequestpublic ITeamsTemplateCollectionPage get() throws ClientException
get in interface ITeamsTemplateCollectionRequestClientExceptionpublic void post(TeamsTemplate newTeamsTemplate, ICallback<? super TeamsTemplate> callback)
post in interface ITeamsTemplateCollectionRequestpublic TeamsTemplate post(TeamsTemplate newTeamsTemplate) throws ClientException
post in interface ITeamsTemplateCollectionRequestClientExceptionpublic ITeamsTemplateCollectionRequest expand(java.lang.String value)
expand in interface ITeamsTemplateCollectionRequestvalue - the expand clausepublic ITeamsTemplateCollectionRequest filter(java.lang.String value)
filter in interface ITeamsTemplateCollectionRequestvalue - the filter clausepublic ITeamsTemplateCollectionRequest orderBy(java.lang.String value)
orderBy in interface ITeamsTemplateCollectionRequestvalue - the order by clausepublic ITeamsTemplateCollectionRequest select(java.lang.String value)
select in interface ITeamsTemplateCollectionRequestvalue - the select clausepublic ITeamsTemplateCollectionRequest top(int value)
top in interface ITeamsTemplateCollectionRequestvalue - the max number of items to returnpublic ITeamsTemplateCollectionRequest skip(int value)
skip in interface ITeamsTemplateCollectionRequestvalue - of the number of items to skippublic ITeamsTemplateCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface ITeamsTemplateCollectionRequestskipToken - - Token for paginationpublic ITeamsTemplateCollectionPage buildFromResponse(TeamsTemplateCollectionResponse response)