public interface ITimeOffRequestRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super TimeOffRequest> callback)
Delete this item from the service
|
ITimeOffRequestRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
TimeOffRequest |
get()
Gets the TimeOffRequest from the service
|
void |
get(ICallback<? super TimeOffRequest> callback)
Gets the TimeOffRequest from the service
|
TimeOffRequest |
patch(TimeOffRequest sourceTimeOffRequest)
Patches this TimeOffRequest with a source
|
void |
patch(TimeOffRequest sourceTimeOffRequest,
ICallback<? super TimeOffRequest> callback)
Patches this TimeOffRequest with a source
|
TimeOffRequest |
post(TimeOffRequest newTimeOffRequest)
Posts a TimeOffRequest with a new object
|
void |
post(TimeOffRequest newTimeOffRequest,
ICallback<? super TimeOffRequest> callback)
Posts a TimeOffRequest with a new object
|
TimeOffRequest |
put(TimeOffRequest newTimeOffRequest)
Posts a TimeOffRequest with a new object
|
void |
put(TimeOffRequest newTimeOffRequest,
ICallback<? super TimeOffRequest> callback)
Posts a TimeOffRequest with a new object
|
ITimeOffRequestRequest |
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 TimeOffRequest> callback)
callback - the callback to be called after success or failureTimeOffRequest get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super TimeOffRequest> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(TimeOffRequest sourceTimeOffRequest, ICallback<? super TimeOffRequest> callback)
sourceTimeOffRequest - the source object with updatescallback - the callback to be called after success or failureTimeOffRequest patch(TimeOffRequest sourceTimeOffRequest) throws ClientException
sourceTimeOffRequest - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(TimeOffRequest newTimeOffRequest, ICallback<? super TimeOffRequest> callback)
newTimeOffRequest - the new object to createcallback - the callback to be called after success or failureTimeOffRequest post(TimeOffRequest newTimeOffRequest) throws ClientException
newTimeOffRequest - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(TimeOffRequest newTimeOffRequest, ICallback<? super TimeOffRequest> callback)
newTimeOffRequest - the object to create/updatecallback - the callback to be called after success or failureTimeOffRequest put(TimeOffRequest newTimeOffRequest) throws ClientException
newTimeOffRequest - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonITimeOffRequestRequest select(java.lang.String value)
value - the select clauseITimeOffRequestRequest expand(java.lang.String value)
value - the expand clause