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, setUseCaches
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches
public 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 IEducationSchoolRequest
callback
- the callback to be called after success or failurepublic EducationSchool get() throws ClientException
get
in interface IEducationSchoolRequest
ClientException
- this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<EducationSchool> callback)
delete
in interface IEducationSchoolRequest
callback
- the callback when the deletion action has completedpublic void delete() throws ClientException
delete
in interface IEducationSchoolRequest
ClientException
- if there was an exception during the delete operationpublic void patch(EducationSchool sourceEducationSchool, ICallback<EducationSchool> callback)
patch
in interface IEducationSchoolRequest
sourceEducationSchool
- the source object with updatescallback
- the callback to be called after success or failurepublic EducationSchool patch(EducationSchool sourceEducationSchool) throws ClientException
patch
in interface IEducationSchoolRequest
sourceEducationSchool
- 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 IEducationSchoolRequest
newEducationSchool
- the new object to createcallback
- the callback to be called after success or failurepublic EducationSchool post(EducationSchool newEducationSchool) throws ClientException
post
in interface IEducationSchoolRequest
newEducationSchool
- 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 IEducationSchoolRequest
value
- the select clausepublic IEducationSchoolRequest expand(java.lang.String value)
expand
in interface IEducationSchoolRequest
value
- the expand clause