@Generated(value="org.immutables.processor.ProxyProcessor") public final class Consent extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Consent.Builder
Builds instances of type
Consent. |
| Modifier and Type | Method and Description |
|---|---|
static Consent.Builder |
builder()
Creates a builder for
Consent. |
boolean |
equals(Object another)
This instance is equal to all instances of
Consent that have equal attribute values. |
String |
getLink()
The consent link
|
String |
getText()
The consent text
|
int |
hashCode()
Computes a hash code from attributes:
link, text. |
String |
toString()
Prints the immutable value
Consent with attribute values. |
public String getLink()
public String getText()
public boolean equals(Object another)
Consent that have equal attribute values.public int hashCode()
link, text.public String toString()
Consent with attribute values.public static Consent.Builder builder()
Consent.
Consent.builder()
.link(String) // required link
.text(String) // required text
.build();
Copyright © 2020. All rights reserved.