@Generated(value={"Immutables.generator","CTicketSystemType"}) public final class CTicketSystem extends Object implements CTicketSystemType
| Modifier and Type | Class and Description |
|---|---|
static class |
CTicketSystem.Builder
Builds instances of type
CTicketSystem. |
| Modifier and Type | Method and Description |
|---|---|
static CTicketSystem.Builder |
builder()
Creates a builder for
CTicketSystem. |
static CTicketSystem |
copyOf(CTicketSystemType instance)
Creates an immutable copy of a
CTicketSystemType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
CTicketSystem that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
id, uris. |
String |
id() |
static CTicketSystem |
of(String id,
Iterable<? extends URI> uris)
Construct a new immutable
CTicketSystem instance. |
static CTicketSystem |
of(String id,
List<URI> uris)
Construct a new immutable
CTicketSystem instance. |
String |
toString()
Prints the immutable value
CTicketSystem with attribute values. |
List<URI> |
uris() |
CTicketSystem |
withId(String value)
Copy the current immutable object by setting a value for the
id attribute. |
CTicketSystem |
withUris(Iterable<? extends URI> elements)
Copy the current immutable object with elements that replace the content of
uris. |
CTicketSystem |
withUris(URI... elements)
Copy the current immutable object with elements that replace the content of
uris. |
public String id()
id in interface CTicketSystemTypepublic List<URI> uris()
uris in interface CTicketSystemTypepublic final CTicketSystem withId(String value)
id attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for idthis objectpublic final CTicketSystem withUris(URI... elements)
uris.elements - The elements to setthis objectpublic final CTicketSystem withUris(Iterable<? extends URI> elements)
uris.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of uris elements to setthis objectpublic boolean equals(Object another)
CTicketSystem that have equal attribute values.public int hashCode()
id, uris.public String toString()
CTicketSystem with attribute values.public static CTicketSystem of(String id, List<URI> uris)
CTicketSystem instance.id - The value for the id attributeuris - The value for the uris attributepublic static CTicketSystem of(String id, Iterable<? extends URI> uris)
CTicketSystem instance.id - The value for the id attributeuris - The value for the uris attributepublic static CTicketSystem copyOf(CTicketSystemType instance)
CTicketSystemType value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static CTicketSystem.Builder builder()
CTicketSystem.Copyright © 2017 <code@io7m.com> http://io7m.com