public class EducationClassCollectionRequest extends BaseCollectionRequest<EducationClassCollectionResponse,IEducationClassCollectionPage> implements IEducationClassCollectionRequest
| Constructor and Description |
|---|
EducationClassCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of EducationClass
|
| Modifier and Type | Method and Description |
|---|---|
IEducationClassCollectionPage |
buildFromResponse(EducationClassCollectionResponse response) |
IEducationClassCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IEducationClassCollectionPage |
get() |
void |
get(ICallback<IEducationClassCollectionPage> callback) |
EducationClass |
post(EducationClass newEducationClass) |
void |
post(EducationClass newEducationClass,
ICallback<EducationClass> callback) |
IEducationClassCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IEducationClassCollectionRequest |
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 EducationClassCollectionRequest(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<IEducationClassCollectionPage> callback)
get in interface IEducationClassCollectionRequestpublic IEducationClassCollectionPage get() throws ClientException
get in interface IEducationClassCollectionRequestClientExceptionpublic void post(EducationClass newEducationClass, ICallback<EducationClass> callback)
post in interface IEducationClassCollectionRequestpublic EducationClass post(EducationClass newEducationClass) throws ClientException
post in interface IEducationClassCollectionRequestClientExceptionpublic IEducationClassCollectionRequest expand(java.lang.String value)
expand in interface IEducationClassCollectionRequestvalue - the expand clausepublic IEducationClassCollectionRequest select(java.lang.String value)
select in interface IEducationClassCollectionRequestvalue - the select clausepublic IEducationClassCollectionRequest top(int value)
top in interface IEducationClassCollectionRequestvalue - the max number of items to returnpublic IEducationClassCollectionPage buildFromResponse(EducationClassCollectionResponse response)