@Generated(value="org.immutables.processor.ProxyProcessor") public final class Event extends Object
_Event.
Use the builder to create immutable instances:
Event.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
Event.Builder
Builds instances of type
Event. |
| Modifier and Type | Method and Description |
|---|---|
static Event.Builder |
builder()
Creates a builder for
Event. |
boolean |
equals(Object another)
This instance is equal to all instances of
Event that have equal attribute values. |
String |
getBody()
The event body
|
String |
getTitle()
The event title
|
int |
hashCode()
Computes a hash code from attributes:
body, title. |
String |
toString()
Prints the immutable value
Event with attribute values. |
public String getBody()
public String getTitle()
public boolean equals(Object another)
Event that have equal attribute values.public int hashCode()
body, title.public String toString()
Event with attribute values.public static Event.Builder builder()
Event.
Event.builder()
.body(String | null) // nullable body
.title(String | null) // nullable title
.build();
Copyright © 2022. All rights reserved.