@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2024-01-08T21:27:32.920Z") public class DateConstraints extends Constraints
Constructor and Description |
---|
DateConstraints() |
Modifier and Type | Method and Description |
---|---|
DateConstraints |
allowFuture(Boolean allowFuture) |
DateConstraints |
allowPast(Boolean allowPast) |
DateConstraints |
earliestValue(LocalDate earliestValue) |
boolean |
equals(Object o) |
LocalDate |
getEarliestValue()
ISO 8601 date value that is the earliest value that may be set for this question.
|
LocalDate |
getLatestValue()
ISO 8601 date value that is the earliest value that may be set for this question.
|
int |
hashCode() |
Boolean |
isAllowFuture()
Should this question allow answers in the future?
|
Boolean |
isAllowPast()
Should this question allow answers in the past?
|
DateConstraints |
latestValue(LocalDate latestValue) |
void |
setAllowFuture(Boolean allowFuture) |
void |
setAllowPast(Boolean allowPast) |
void |
setEarliestValue(LocalDate earliestValue) |
void |
setLatestValue(LocalDate latestValue) |
String |
toString() |
dataType, getDataType, getType, isRequired, required, setDataType, setRequired
public DateConstraints allowFuture(Boolean allowFuture)
public Boolean isAllowFuture()
public void setAllowFuture(Boolean allowFuture)
public DateConstraints allowPast(Boolean allowPast)
public Boolean isAllowPast()
public void setAllowPast(Boolean allowPast)
public DateConstraints earliestValue(LocalDate earliestValue)
public LocalDate getEarliestValue()
public void setEarliestValue(LocalDate earliestValue)
public DateConstraints latestValue(LocalDate latestValue)
public LocalDate getLatestValue()
public void setLatestValue(LocalDate 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 © 2024 Sage Bionetworks. All rights reserved.