@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2022-11-05T00:31:27.098Z") public class DateTimeConstraints extends Constraints
Constructor and Description |
---|
DateTimeConstraints() |
Modifier and Type | Method and Description |
---|---|
DateTimeConstraints |
allowFuture(Boolean allowFuture) |
DateTimeConstraints |
allowPast(Boolean allowPast) |
DateTimeConstraints |
earliestValue(DateTime earliestValue) |
boolean |
equals(Object o) |
DateTime |
getEarliestValue()
ISO 8601 date and time value that is the earliest value that may be set for this question.
|
DateTime |
getLatestValue()
ISO 8601 date and time 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?
|
DateTimeConstraints |
latestValue(DateTime latestValue) |
void |
setAllowFuture(Boolean allowFuture) |
void |
setAllowPast(Boolean allowPast) |
void |
setEarliestValue(DateTime earliestValue) |
void |
setLatestValue(DateTime latestValue) |
String |
toString() |
dataType, getDataType, getType, isRequired, required, setDataType, setRequired
public DateTimeConstraints allowFuture(Boolean allowFuture)
public Boolean isAllowFuture()
public void setAllowFuture(Boolean allowFuture)
public DateTimeConstraints allowPast(Boolean allowPast)
public Boolean isAllowPast()
public void setAllowPast(Boolean allowPast)
public DateTimeConstraints earliestValue(DateTime earliestValue)
public DateTime getEarliestValue()
public void setEarliestValue(DateTime earliestValue)
public DateTimeConstraints latestValue(DateTime latestValue)
public DateTime getLatestValue()
public void setLatestValue(DateTime 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.