public final class SanityRequest extends Authentication implements CircleIdRequest
The Sanity Request Object is needed to perform the Sanity CWS Request, which is a management request to see if any Data Object have been corrupted and thus rendered useless. The CircleId is an optional field, serves a way to limit the scope of the Objects retrieved.
Please see Authentication
for information about the account and
credentials information.
Constructor and Description |
---|
SanityRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getCircleId() |
Date |
getSince() |
void |
setCircleId(String circleId) |
void |
setSince(Date since) |
Map<String,String> |
validate()
Simple Validation method, which checks if the required values are usable
or not.
|
getAccountName, getCredential, getCredentialType, setAccountName, setCredential, setCredentialType
checkIntegerWithMax, checkNotNull, checkNotNullAndValidId, checkNotNullEmptyOrTooLong, checkNotNullOrEmpty, checkNotNullOrEmpty, checkNotTooLong, checkUrl, checkValidId, isEmpty
public void setCircleId(String circleId)
setCircleId
in interface CircleIdRequest
public String getCircleId()
getCircleId
in interface CircleIdRequest
public void setSince(Date since)
public Date getSince()
public Map<String,String> validate()
validate
in class Authentication
Copyright © 2019 JavaDog.io. All rights reserved.