@Generated(value="org.immutables.processor.ProxyProcessor") public final class Error extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Error.Builder
Builds instances of type
Error. |
| Modifier and Type | Method and Description |
|---|---|
static Error.Builder |
builder()
Creates a builder for
Error. |
boolean |
equals(Object another)
This instance is equal to all instances of
Error that have equal attribute values. |
Integer |
getCode()
A numeric code for the error
|
String |
getDetail()
Detailed description of the error
|
String |
getTitle()
Short description of the error
|
int |
hashCode()
Computes a hash code from attributes:
code, detail, title. |
String |
toString()
Prints the immutable value
Error with attribute values. |
public Integer getCode()
public String getDetail()
public String getTitle()
public boolean equals(Object another)
Error that have equal attribute values.public int hashCode()
code, detail, title.public String toString()
Error with attribute values.public static Error.Builder builder()
Error.
Error.builder()
.code(Integer) // required code
.detail(String) // required detail
.title(String) // required title
.build();
Copyright © 2020. All rights reserved.