@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2020-04-02T16:15:50.378+02:00") public class Option extends Object implements Serializable
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.
|
String |
getValue()
The value for this option.
|
int |
hashCode() |
Option |
hits(Integer hits) |
Boolean |
isSelected()
Whether or not this option is selected.
|
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 String getValue()
public void setValue(String value)
public String getLabel()
public void setLabel(String label)
public Boolean isSelected()
public void setSelected(Boolean selected)
public Integer getHits()
public void setHits(Integer hits)
public List<Option> getOptions()
Copyright © 2011–2020 aiticon GmbH. All rights reserved.