public class TeamsAppCollectionRequest extends BaseCollectionRequest<TeamsAppCollectionResponse,ITeamsAppCollectionPage> implements ITeamsAppCollectionRequest
| Constructor and Description |
|---|
TeamsAppCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of TeamsApp
|
| Modifier and Type | Method and Description |
|---|---|
ITeamsAppCollectionPage |
buildFromResponse(TeamsAppCollectionResponse response) |
ITeamsAppCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ITeamsAppCollectionPage |
get() |
void |
get(ICallback<ITeamsAppCollectionPage> callback) |
TeamsApp |
post(TeamsApp newTeamsApp) |
void |
post(TeamsApp newTeamsApp,
ICallback<TeamsApp> callback) |
ITeamsAppCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ITeamsAppCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic TeamsAppCollectionRequest(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<ITeamsAppCollectionPage> callback)
get in interface ITeamsAppCollectionRequestpublic ITeamsAppCollectionPage get() throws ClientException
get in interface ITeamsAppCollectionRequestClientExceptionpublic void post(TeamsApp newTeamsApp, ICallback<TeamsApp> callback)
post in interface ITeamsAppCollectionRequestpublic TeamsApp post(TeamsApp newTeamsApp) throws ClientException
post in interface ITeamsAppCollectionRequestClientExceptionpublic ITeamsAppCollectionRequest expand(java.lang.String value)
expand in interface ITeamsAppCollectionRequestvalue - the expand clausepublic ITeamsAppCollectionRequest select(java.lang.String value)
select in interface ITeamsAppCollectionRequestvalue - the select clausepublic ITeamsAppCollectionRequest top(int value)
top in interface ITeamsAppCollectionRequestvalue - the max number of items to returnpublic ITeamsAppCollectionPage buildFromResponse(TeamsAppCollectionResponse response)