public class EducationSchoolRequest extends BaseRequest implements IEducationSchoolRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
EducationSchoolRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the EducationSchool
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<EducationSchool> callback)
Delete this item from the service
|
IEducationSchoolRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
EducationSchool |
get()
Gets the EducationSchool from the service
|
void |
get(ICallback<EducationSchool> callback)
Gets the EducationSchool from the service
|
EducationSchool |
patch(EducationSchool sourceEducationSchool)
Patches this EducationSchool with a source
|
void |
patch(EducationSchool sourceEducationSchool,
ICallback<EducationSchool> callback)
Patches this EducationSchool with a source
|
EducationSchool |
post(EducationSchool newEducationSchool)
Creates a EducationSchool with a new object
|
void |
post(EducationSchool newEducationSchool,
ICallback<EducationSchool> callback)
Creates a EducationSchool with a new object
|
IEducationSchoolRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic EducationSchoolRequest(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<EducationSchool> callback)
get in interface IEducationSchoolRequestcallback - the callback to be called after success or failurepublic EducationSchool get() throws ClientException
get in interface IEducationSchoolRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<EducationSchool> callback)
delete in interface IEducationSchoolRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IEducationSchoolRequestClientException - if there was an exception during the delete operationpublic void patch(EducationSchool sourceEducationSchool, ICallback<EducationSchool> callback)
patch in interface IEducationSchoolRequestsourceEducationSchool - the source object with updatescallback - the callback to be called after success or failurepublic EducationSchool patch(EducationSchool sourceEducationSchool) throws ClientException
patch in interface IEducationSchoolRequestsourceEducationSchool - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(EducationSchool newEducationSchool, ICallback<EducationSchool> callback)
post in interface IEducationSchoolRequestnewEducationSchool - the new object to createcallback - the callback to be called after success or failurepublic EducationSchool post(EducationSchool newEducationSchool) throws ClientException
post in interface IEducationSchoolRequestnewEducationSchool - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic IEducationSchoolRequest select(java.lang.String value)
select in interface IEducationSchoolRequestvalue - the select clausepublic IEducationSchoolRequest expand(java.lang.String value)
expand in interface IEducationSchoolRequestvalue - the expand clause