All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ftl.time.TimeResponse Maven / Gradle / Ivy

There is a newer version: 0.376.1
Show newest version
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy