@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2022-11-05T00:31:27.098Z") public class YearMonthConstraints extends Constraints
Constructor and Description |
---|
YearMonthConstraints() |
Modifier and Type | Method and Description |
---|---|
YearMonthConstraints |
allowFuture(Boolean allowFuture) |
YearMonthConstraints |
allowPast(Boolean allowPast) |
YearMonthConstraints |
earliestValue(String earliestValue) |
boolean |
equals(Object o) |
String |
getEarliestValue()
ISO 8601 year and month value (\"YYYY-MM\") that is the earliest value that may be set for this question.
|
String |
getLatestValue()
ISO 8601 year and month value (\"YYYY-MM\") that is the earliest value that may be set for this question.
|
int |
hashCode() |
Boolean |
isAllowFuture()
Should this question allow answers in the future? If the current date falls in a month after the indicated month, it is considered to be in the future.
|
Boolean |
isAllowPast()
Should this question allow answers in the past? If the current date falls in a month prior to the indicated month, it is considered to be in the past.
|
YearMonthConstraints |
latestValue(String latestValue) |
void |
setAllowFuture(Boolean allowFuture) |
void |
setAllowPast(Boolean allowPast) |
void |
setEarliestValue(String earliestValue) |
void |
setLatestValue(String latestValue) |
String |
toString() |
dataType, getDataType, getType, isRequired, required, setDataType, setRequired
public YearMonthConstraints allowFuture(Boolean allowFuture)
public Boolean isAllowFuture()
public void setAllowFuture(Boolean allowFuture)
public YearMonthConstraints allowPast(Boolean allowPast)
public Boolean isAllowPast()
public void setAllowPast(Boolean allowPast)
public YearMonthConstraints earliestValue(String earliestValue)
public String getEarliestValue()
public void setEarliestValue(String earliestValue)
public YearMonthConstraints latestValue(String latestValue)
public String getLatestValue()
public void setLatestValue(String latestValue)
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.