@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-05T15:31:25.425+02:00[Europe/Berlin]") public class Option extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JSON_PROPERTY_HITS |
static String |
JSON_PROPERTY_LABEL |
static String |
JSON_PROPERTY_OPTIONS |
static String |
JSON_PROPERTY_SELECTED |
static String |
JSON_PROPERTY_VALUE |
Constructor and Description |
---|
Option() |
Modifier and Type | Method and Description |
---|---|
Option |
addOptionsItem(Option optionsItem) |
boolean |
equals(Object o) |
Integer |
getHits()
Tells how many hits there are for this option.
|
String |
getLabel()
The label for this option.
|
List<Option> |
getOptions()
An option can act as a group and thus can itself own a list of options.
|
Boolean |
getSelected()
Whether or not this option is selected.
|
String |
getValue()
The value for this option.
|
int |
hashCode() |
Option |
hits(Integer hits) |
Option |
label(String label) |
Option |
options(List<Option> options) |
Option |
selected(Boolean selected) |
void |
setHits(Integer hits) |
void |
setLabel(String label) |
void |
setOptions(List<Option> options) |
void |
setSelected(Boolean selected) |
void |
setValue(String value) |
String |
toString() |
Option |
value(String value) |
public static final String JSON_PROPERTY_VALUE
public static final String JSON_PROPERTY_LABEL
public static final String JSON_PROPERTY_SELECTED
public static final String JSON_PROPERTY_HITS
public static final String JSON_PROPERTY_OPTIONS
public void setValue(String value)
public void setLabel(String label)
@Nullable public Boolean getSelected()
public void setSelected(Boolean selected)
@Nullable public Integer getHits()
public void setHits(Integer hits)
@Nullable public List<Option> getOptions()
Copyright © 2011–2023 aiticon GmbH. All rights reserved.