Class RevokeRequest
- java.lang.Object
-
- org.hyperledger.aries.api.revocation.RevokeRequest
-
public class RevokeRequest extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRevokeRequest.NotifyVersionSpecifies the revocation notification event type that should be sent, either: revocation-notificationRevocationNotificationEventor revocation-notification-v2RevocationNotificationEventV2static classRevokeRequest.RevokeRequestBuilder
-
Constructor Summary
Constructors Constructor Description RevokeRequest()RevokeRequest(String comment, String connectionId, String credExId, String credRevId, Boolean notify, RevokeRequest.NotifyVersion notifyVersion, Boolean publish, String revRegId, String threadId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RevokeRequest.RevokeRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetComment()StringgetConnectionId()Needed when --notify-revocation flag is set, or notify is trueStringgetCredExId()Either credential exchange identifierStringgetCredRevId()Or credential revocation identifierBooleangetNotify()Send a notification to the credential recipientRevokeRequest.NotifyVersiongetNotifyVersion()Specify which version of the revocation notification should be sentBooleangetPublish()If false, needs a call to /revocation/publish-revocations laterStringgetRevRegId()and revocation registry identifierStringgetThreadId()Thread ID of the credential exchange message thread resulting in the credential now being revoked; required if notify is trueinthashCode()voidsetComment(String comment)voidsetConnectionId(String connectionId)Needed when --notify-revocation flag is set, or notify is truevoidsetCredExId(String credExId)Either credential exchange identifiervoidsetCredRevId(String credRevId)Or credential revocation identifiervoidsetNotify(Boolean notify)Send a notification to the credential recipientvoidsetNotifyVersion(RevokeRequest.NotifyVersion notifyVersion)Specify which version of the revocation notification should be sentvoidsetPublish(Boolean publish)If false, needs a call to /revocation/publish-revocations latervoidsetRevRegId(String revRegId)and revocation registry identifiervoidsetThreadId(String threadId)Thread ID of the credential exchange message thread resulting in the credential now being revoked; required if notify is trueStringtoString()
-
-
-
Method Detail
-
builder
public static RevokeRequest.RevokeRequestBuilder builder()
-
getComment
public String getComment()
-
getConnectionId
public String getConnectionId()
Needed when --notify-revocation flag is set, or notify is true- Since:
- 0.7.3
-
getCredExId
public String getCredExId()
Either credential exchange identifier
-
getCredRevId
public String getCredRevId()
Or credential revocation identifier
-
getNotify
public Boolean getNotify()
Send a notification to the credential recipient- Since:
- 0.7.3
-
getNotifyVersion
public RevokeRequest.NotifyVersion getNotifyVersion()
Specify which version of the revocation notification should be sent- Since:
- 0.7.4
-
getPublish
public Boolean getPublish()
If false, needs a call to /revocation/publish-revocations later
-
getRevRegId
public String getRevRegId()
and revocation registry identifier
-
getThreadId
public String getThreadId()
Thread ID of the credential exchange message thread resulting in the credential now being revoked; required if notify is true- Since:
- 0.7.3
-
setComment
public void setComment(String comment)
-
setConnectionId
public void setConnectionId(String connectionId)
Needed when --notify-revocation flag is set, or notify is true- Since:
- 0.7.3
-
setCredExId
public void setCredExId(String credExId)
Either credential exchange identifier
-
setCredRevId
public void setCredRevId(String credRevId)
Or credential revocation identifier
-
setNotify
public void setNotify(Boolean notify)
Send a notification to the credential recipient- Since:
- 0.7.3
-
setNotifyVersion
public void setNotifyVersion(RevokeRequest.NotifyVersion notifyVersion)
Specify which version of the revocation notification should be sent- Since:
- 0.7.4
-
setPublish
public void setPublish(Boolean publish)
If false, needs a call to /revocation/publish-revocations later
-
setRevRegId
public void setRevRegId(String revRegId)
and revocation registry identifier
-
setThreadId
public void setThreadId(String threadId)
Thread ID of the credential exchange message thread resulting in the credential now being revoked; required if notify is true- Since:
- 0.7.3
-
canEqual
protected boolean canEqual(Object other)
-
-