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, withHttpMethod
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
public 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 ITeamsTemplateCollectionRequest
public ITeamsTemplateCollectionPage get() throws ClientException
get
in interface ITeamsTemplateCollectionRequest
ClientException
public void post(TeamsTemplate newTeamsTemplate, ICallback<? super TeamsTemplate> callback)
post
in interface ITeamsTemplateCollectionRequest
public TeamsTemplate post(TeamsTemplate newTeamsTemplate) throws ClientException
post
in interface ITeamsTemplateCollectionRequest
ClientException
public ITeamsTemplateCollectionRequest expand(java.lang.String value)
expand
in interface ITeamsTemplateCollectionRequest
value
- the expand clausepublic ITeamsTemplateCollectionRequest filter(java.lang.String value)
filter
in interface ITeamsTemplateCollectionRequest
value
- the filter clausepublic ITeamsTemplateCollectionRequest orderBy(java.lang.String value)
orderBy
in interface ITeamsTemplateCollectionRequest
value
- the order by clausepublic ITeamsTemplateCollectionRequest select(java.lang.String value)
select
in interface ITeamsTemplateCollectionRequest
value
- the select clausepublic ITeamsTemplateCollectionRequest top(int value)
top
in interface ITeamsTemplateCollectionRequest
value
- the max number of items to returnpublic ITeamsTemplateCollectionRequest skip(int value)
skip
in interface ITeamsTemplateCollectionRequest
value
- of the number of items to skippublic ITeamsTemplateCollectionRequest skipToken(java.lang.String skipToken)
skipToken
in interface ITeamsTemplateCollectionRequest
skipToken
- - Token for paginationpublic ITeamsTemplateCollectionPage buildFromResponse(TeamsTemplateCollectionResponse response)