public final class Consent
extends java.lang.Object
Constructor and Description |
---|
Consent(com.intellij.ide.gdpr.ConsentAttributes attributes) |
Consent(java.lang.String id,
Version version,
java.lang.String name,
java.lang.String text,
boolean isAccepted,
boolean deleted) |
Modifier and Type | Method and Description |
---|---|
Consent |
derive(boolean accepted) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getId() |
java.lang.String |
getName() |
java.lang.String |
getText() |
Version |
getVersion() |
int |
hashCode() |
boolean |
isAccepted() |
boolean |
isDeleted() |
com.intellij.ide.gdpr.ConsentAttributes |
toConsentAttributes() |
java.lang.String |
toString() |
public Consent(com.intellij.ide.gdpr.ConsentAttributes attributes)
public Consent(java.lang.String id, Version version, java.lang.String name, java.lang.String text, boolean isAccepted, boolean deleted)
public java.lang.String getName()
public java.lang.String getText()
public boolean isAccepted()
public boolean isDeleted()
public com.intellij.ide.gdpr.ConsentAttributes toConsentAttributes()
public java.lang.String toString()
public Consent derive(boolean accepted)
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