@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","BlocksLoadOptionsResponseIF"}) @Immutable public final class BlocksLoadOptionsResponse extends Object implements BlocksLoadOptionsResponseIF
BlocksLoadOptionsResponseIF.
Use the builder to create immutable instances:
BlocksLoadOptionsResponse.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
BlocksLoadOptionsResponse.Builder
Builds instances of type
BlocksLoadOptionsResponse. |
| Modifier and Type | Method and Description |
|---|---|
static BlocksLoadOptionsResponse.Builder |
builder()
Creates a builder for
BlocksLoadOptionsResponse. |
static BlocksLoadOptionsResponse |
copyOf(BlocksLoadOptionsResponseIF instance)
Creates an immutable copy of a
BlocksLoadOptionsResponseIF value. |
boolean |
equals(Object another)
This instance is equal to all instances of
BlocksLoadOptionsResponse that have equal attribute values. |
List<OptionGroup> |
getOptionGroups() |
List<Option> |
getOptions() |
int |
hashCode()
Computes a hash code from attributes:
options, optionGroups. |
String |
toString()
Prints the immutable value
BlocksLoadOptionsResponse with attribute values. |
BlocksLoadOptionsResponse |
withOptionGroups(Iterable<? extends OptionGroup> elements)
Copy the current immutable object with elements that replace the content of
optionGroups. |
BlocksLoadOptionsResponse |
withOptionGroups(OptionGroup... elements)
Copy the current immutable object with elements that replace the content of
optionGroups. |
BlocksLoadOptionsResponse |
withOptions(Iterable<? extends Option> elements)
Copy the current immutable object with elements that replace the content of
options. |
BlocksLoadOptionsResponse |
withOptions(Option... elements)
Copy the current immutable object with elements that replace the content of
options. |
public List<Option> getOptions()
getOptions in interface BlocksLoadOptionsResponseIFoptions attributepublic List<OptionGroup> getOptionGroups()
getOptionGroups in interface BlocksLoadOptionsResponseIFoptionGroups attributepublic final BlocksLoadOptionsResponse withOptions(Option... elements)
options.elements - The elements to setthis objectpublic final BlocksLoadOptionsResponse withOptions(Iterable<? extends Option> elements)
options.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of options elements to setthis objectpublic final BlocksLoadOptionsResponse withOptionGroups(OptionGroup... elements)
optionGroups.elements - The elements to setthis objectpublic final BlocksLoadOptionsResponse withOptionGroups(Iterable<? extends OptionGroup> elements)
optionGroups.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of optionGroups elements to setthis objectpublic boolean equals(@Nullable Object another)
BlocksLoadOptionsResponse that have equal attribute values.public int hashCode()
options, optionGroups.public String toString()
BlocksLoadOptionsResponse with attribute values.public static BlocksLoadOptionsResponse copyOf(BlocksLoadOptionsResponseIF instance)
BlocksLoadOptionsResponseIF 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 BlocksLoadOptionsResponse.Builder builder()
BlocksLoadOptionsResponse.Copyright © 2020. All rights reserved.