public final class Audit
extends java.lang.Object
| Constructor and Description |
|---|
Audit(PAMService service,
APIRequestHandler rest) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AuditDetails> |
getAuditDetails(AuditModel auditModel)
Get all audit details
|
public Audit(PAMService service, APIRequestHandler rest) throws SDKRegistrationException
SDKRegistrationExceptionpublic java.util.List<AuditDetails> getAuditDetails(AuditModel auditModel) throws SDKConnectionException, SDKOperationFailedException, SDKInvalidArgumentException
auditModel - mandatory, instance of AuditModel with necessary fields setAuditDetails objectSDKConnectionException - if unable to connect to the serverSDKOperationFailedException - if server did not provide a proper response for the request, or if action fails. The reason for failure will be provided as a part of the exception's messageSDKInvalidArgumentException - if any of the mandatory field's values are invalid or not provided