Class RevocationNotificationEventV2
- java.lang.Object
-
- org.hyperledger.aries.api.revocation.RevocationNotificationBase
-
- org.hyperledger.aries.api.revocation.RevocationNotificationEventV2
-
public class RevocationNotificationEventV2 extends RevocationNotificationBase
webhook event: revocation-notification-v2 aries-rfc: 0721-revocation-notification-v2
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRevocationNotificationEventV2.RevocationFormatstatic classRevocationNotificationEventV2.RevocationNotificationEventV2Builder-
Nested classes/interfaces inherited from class org.hyperledger.aries.api.revocation.RevocationNotificationBase
RevocationNotificationBase.RevocationInfo
-
-
Constructor Summary
Constructors Constructor Description RevocationNotificationEventV2()RevocationNotificationEventV2(RevocationNotificationEventV2.RevocationFormat revocationFormat, String credentialId, String comment)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RevocationNotificationEventV2.RevocationNotificationEventV2Builderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetComment()StringgetCredentialId()RevocationNotificationEventV2.RevocationFormatgetRevocationFormat()inthashCode()voidsetComment(String comment)voidsetCredentialId(String credentialId)voidsetRevocationFormat(RevocationNotificationEventV2.RevocationFormat revocationFormat)RevocationNotificationBase.RevocationInfotoRevocationInfo()Extracts revocation information form the credentialIdStringtoString()
-
-
-
Constructor Detail
-
RevocationNotificationEventV2
public RevocationNotificationEventV2()
-
RevocationNotificationEventV2
public RevocationNotificationEventV2(RevocationNotificationEventV2.RevocationFormat revocationFormat, String credentialId, String comment)
-
-
Method Detail
-
toRevocationInfo
public RevocationNotificationBase.RevocationInfo toRevocationInfo()
Extracts revocation information form the credentialId
-
builder
public static RevocationNotificationEventV2.RevocationNotificationEventV2Builder builder()
-
getRevocationFormat
public RevocationNotificationEventV2.RevocationFormat getRevocationFormat()
-
getCredentialId
public String getCredentialId()
-
getComment
public String getComment()
-
setRevocationFormat
public void setRevocationFormat(RevocationNotificationEventV2.RevocationFormat revocationFormat)
-
setCredentialId
public void setCredentialId(String credentialId)
-
setComment
public void setComment(String comment)
-
canEqual
protected boolean canEqual(Object other)
-
-