public class EducationSchoolCollectionRequest extends BaseCollectionRequest<EducationSchoolCollectionResponse,IEducationSchoolCollectionPage> implements IEducationSchoolCollectionRequest
| Constructor and Description |
|---|
EducationSchoolCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of EducationSchool
|
| Modifier and Type | Method and Description |
|---|---|
IEducationSchoolCollectionPage |
buildFromResponse(EducationSchoolCollectionResponse response) |
IEducationSchoolCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IEducationSchoolCollectionPage |
get() |
void |
get(ICallback<IEducationSchoolCollectionPage> callback) |
EducationSchool |
post(EducationSchool newEducationSchool) |
void |
post(EducationSchool newEducationSchool,
ICallback<EducationSchool> callback) |
IEducationSchoolCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IEducationSchoolCollectionRequest |
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 EducationSchoolCollectionRequest(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<IEducationSchoolCollectionPage> callback)
get in interface IEducationSchoolCollectionRequestpublic IEducationSchoolCollectionPage get() throws ClientException
get in interface IEducationSchoolCollectionRequestClientExceptionpublic void post(EducationSchool newEducationSchool, ICallback<EducationSchool> callback)
post in interface IEducationSchoolCollectionRequestpublic EducationSchool post(EducationSchool newEducationSchool) throws ClientException
post in interface IEducationSchoolCollectionRequestClientExceptionpublic IEducationSchoolCollectionRequest expand(java.lang.String value)
expand in interface IEducationSchoolCollectionRequestvalue - the expand clausepublic IEducationSchoolCollectionRequest select(java.lang.String value)
select in interface IEducationSchoolCollectionRequestvalue - the select clausepublic IEducationSchoolCollectionRequest top(int value)
top in interface IEducationSchoolCollectionRequestvalue - the max number of items to returnpublic IEducationSchoolCollectionPage buildFromResponse(EducationSchoolCollectionResponse response)