ftl.time.TimeResponse Maven / Gradle / Ivy
package ftl.time;
import java.time.ZonedDateTime;
import org.jetbrains.annotations.NotNull;
import xyz.block.ftl.GeneratedRef;
@GeneratedRef(
name = "TimeResponse",
module = "time"
)
public class TimeResponse {
private @NotNull ZonedDateTime time;
public TimeResponse() {
}
public TimeResponse(@NotNull ZonedDateTime time) {
this.time = time;
}
public TimeResponse setTime(@NotNull ZonedDateTime time) {
this.time = time;
return this;
}
public @NotNull ZonedDateTime getTime() {
return time;
}
}