@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2022-11-05T00:31:27.098Z") public class MultiValueConstraints extends Constraints
Constructor and Description |
---|
MultiValueConstraints() |
Modifier and Type | Method and Description |
---|---|
MultiValueConstraints |
addEnumerationItem(SurveyQuestionOption enumerationItem) |
MultiValueConstraints |
allowMultiple(Boolean allowMultiple) |
MultiValueConstraints |
allowOther(Boolean allowOther) |
MultiValueConstraints |
enumeration(List<SurveyQuestionOption> enumeration) |
boolean |
equals(Object o) |
List<SurveyQuestionOption> |
getEnumeration()
The options presented for selection to the user.
|
int |
hashCode() |
Boolean |
isAllowMultiple()
Can multiple values be returned as an answer? True if the client should submit multiple values, false otherwise.
|
Boolean |
isAllowOther()
True if the user should be able to enter another value besides those provided in the enumeration, false otherwise.
|
void |
setAllowMultiple(Boolean allowMultiple) |
void |
setAllowOther(Boolean allowOther) |
void |
setEnumeration(List<SurveyQuestionOption> enumeration) |
String |
toString() |
dataType, getDataType, getType, isRequired, required, setDataType, setRequired
public MultiValueConstraints allowOther(Boolean allowOther)
public Boolean isAllowOther()
public void setAllowOther(Boolean allowOther)
public MultiValueConstraints allowMultiple(Boolean allowMultiple)
public Boolean isAllowMultiple()
public void setAllowMultiple(Boolean allowMultiple)
public MultiValueConstraints enumeration(List<SurveyQuestionOption> enumeration)
public MultiValueConstraints addEnumerationItem(SurveyQuestionOption enumerationItem)
public List<SurveyQuestionOption> getEnumeration()
public void setEnumeration(List<SurveyQuestionOption> enumeration)
public boolean equals(Object o)
equals
in class Constraints
public int hashCode()
hashCode
in class Constraints
public String toString()
toString
in class Constraints
Copyright © 2022 Sage Bionetworks. All rights reserved.