public final class ConfirmedConsent
extends java.lang.Object
Constructor and Description |
---|
ConfirmedConsent(com.intellij.ide.gdpr.ConsentAttributes attributes) |
ConfirmedConsent(java.lang.String id,
Version version,
boolean accepted,
long acceptanceTime) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static ConfirmedConsent |
fromString(java.lang.String str) |
long |
getAcceptanceTime() |
java.lang.String |
getId() |
Version |
getVersion() |
int |
hashCode() |
boolean |
isAccepted() |
void |
setAcceptanceTime(long acceptanceTime) |
void |
setAccepted(boolean accepted) |
java.lang.String |
toExternalString() |
java.lang.String |
toString() |
public ConfirmedConsent(com.intellij.ide.gdpr.ConsentAttributes attributes)
public ConfirmedConsent(java.lang.String id, Version version, boolean accepted, long acceptanceTime)
public boolean isAccepted()
public long getAcceptanceTime()
public void setAccepted(boolean accepted)
public void setAcceptanceTime(long acceptanceTime)
public java.lang.String toString()
public java.lang.String toExternalString()
public static ConfirmedConsent fromString(java.lang.String str)
public java.lang.String getId()
public Version getVersion()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object