@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableObjectTickets extends ObjectTickets
ObjectTickets
.
Use the builder to create immutable instances:
ImmutableObjectTickets.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableObjectTickets.Builder
Builds instances of type
ImmutableObjectTickets . |
Modifier and Type | Method and Description |
---|---|
String |
allTicketsQuery()
A query string which would return all the related tickets listed for the object
|
static ImmutableObjectTickets.Builder |
builder()
Creates a builder for
ImmutableObjectTickets . |
static ImmutableObjectTickets |
copyOf(ObjectTickets instance)
Creates an immutable copy of a
ObjectTickets value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableObjectTickets that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
tickets , allTicketsQuery . |
com.google.common.collect.ImmutableList<Ticket> |
tickets() |
String |
toString()
Prints the immutable value
ObjectTickets with attribute values. |
ImmutableObjectTickets |
withAllTicketsQuery(String value)
Copy the current immutable object by setting a value for the
allTicketsQuery attribute. |
ImmutableObjectTickets |
withTickets(Iterable<? extends Ticket> elements)
Copy the current immutable object with elements that replace the content of
tickets . |
ImmutableObjectTickets |
withTickets(Ticket... elements)
Copy the current immutable object with elements that replace the content of
tickets . |
public com.google.common.collect.ImmutableList<Ticket> tickets()
tickets
in class ObjectTickets
tickets
attributepublic String allTicketsQuery()
allTicketsQuery
in class ObjectTickets
public final ImmutableObjectTickets withTickets(Ticket... elements)
tickets
.elements
- The elements to setthis
objectpublic final ImmutableObjectTickets withTickets(Iterable<? extends Ticket> elements)
tickets
.
A shallow reference equality check is used to prevent copying of the same value by returning this
.elements
- An iterable of tickets elements to setthis
objectpublic final ImmutableObjectTickets withAllTicketsQuery(String value)
allTicketsQuery
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for allTicketsQuerythis
objectpublic boolean equals(@Nullable Object another)
ImmutableObjectTickets
that have equal attribute values.public int hashCode()
tickets
, allTicketsQuery
.public String toString()
ObjectTickets
with attribute values.public static ImmutableObjectTickets copyOf(ObjectTickets instance)
ObjectTickets
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 ImmutableObjectTickets.Builder builder()
ImmutableObjectTickets
.
ImmutableObjectTickets.builder() .addTickets|addAllTickets(io.riada.insight.model.Ticket) //tickets
elements .setAllTicketsQuery(String) // requiredallTicketsQuery
.build();
Copyright © 2024 Atlassian. All rights reserved.