public interface ITimeOffReasonRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super TimeOffReason> callback)
Delete this item from the service
|
ITimeOffReasonRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
TimeOffReason |
get()
Gets the TimeOffReason from the service
|
void |
get(ICallback<? super TimeOffReason> callback)
Gets the TimeOffReason from the service
|
TimeOffReason |
patch(TimeOffReason sourceTimeOffReason)
Patches this TimeOffReason with a source
|
void |
patch(TimeOffReason sourceTimeOffReason,
ICallback<? super TimeOffReason> callback)
Patches this TimeOffReason with a source
|
TimeOffReason |
post(TimeOffReason newTimeOffReason)
Posts a TimeOffReason with a new object
|
void |
post(TimeOffReason newTimeOffReason,
ICallback<? super TimeOffReason> callback)
Posts a TimeOffReason with a new object
|
TimeOffReason |
put(TimeOffReason newTimeOffReason)
Posts a TimeOffReason with a new object
|
void |
put(TimeOffReason newTimeOffReason,
ICallback<? super TimeOffReason> callback)
Posts a TimeOffReason with a new object
|
ITimeOffReasonRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodvoid get(ICallback<? super TimeOffReason> callback)
callback - the callback to be called after success or failureTimeOffReason get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super TimeOffReason> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(TimeOffReason sourceTimeOffReason, ICallback<? super TimeOffReason> callback)
sourceTimeOffReason - the source object with updatescallback - the callback to be called after success or failureTimeOffReason patch(TimeOffReason sourceTimeOffReason) throws ClientException
sourceTimeOffReason - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(TimeOffReason newTimeOffReason, ICallback<? super TimeOffReason> callback)
newTimeOffReason - the new object to createcallback - the callback to be called after success or failureTimeOffReason post(TimeOffReason newTimeOffReason) throws ClientException
newTimeOffReason - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(TimeOffReason newTimeOffReason, ICallback<? super TimeOffReason> callback)
newTimeOffReason - the object to create/updatecallback - the callback to be called after success or failureTimeOffReason put(TimeOffReason newTimeOffReason) throws ClientException
newTimeOffReason - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonITimeOffReasonRequest select(java.lang.String value)
value - the select clauseITimeOffReasonRequest expand(java.lang.String value)
value - the expand clause