@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2022-11-05T00:31:27.098Z") public class SurveyQuestionOption extends Object
Constructor and Description |
---|
SurveyQuestionOption() |
Modifier and Type | Method and Description |
---|---|
SurveyQuestionOption |
detail(String detail) |
boolean |
equals(Object o) |
SurveyQuestionOption |
exclusive(Boolean exclusive) |
String |
getDetail()
Detail text shown in a de-emphasized way near the label in the UI (must be plain text).
|
Image |
getImage()
An optional Image element describing an image to show for this option.
|
String |
getLabel()
The text to show in the UI (must be plain text).
|
String |
getType()
SurveyQuestionOption
|
String |
getValue()
The value to submit when this option is selected.
|
int |
hashCode() |
SurveyQuestionOption |
image(Image image) |
Boolean |
isExclusive()
If this option is selected, deselect all other options in the question.
|
SurveyQuestionOption |
label(String label) |
void |
setDetail(String detail) |
void |
setExclusive(Boolean exclusive) |
void |
setImage(Image image) |
void |
setLabel(String label) |
void |
setValue(String value) |
String |
toString() |
SurveyQuestionOption |
value(String value) |
public SurveyQuestionOption label(String label)
public String getLabel()
public void setLabel(String label)
public SurveyQuestionOption detail(String detail)
public String getDetail()
public void setDetail(String detail)
public SurveyQuestionOption value(String value)
public String getValue()
public void setValue(String value)
public SurveyQuestionOption image(Image image)
public Image getImage()
public void setImage(Image image)
public SurveyQuestionOption exclusive(Boolean exclusive)
public Boolean isExclusive()
public void setExclusive(Boolean exclusive)
public String getType()
Copyright © 2022 Sage Bionetworks. All rights reserved.