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