Class DepartureTime

java.lang.Object
com.duffel.sdk.model.DepartureTime

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-08-28T15:13:42.592945+07:00[Asia/Bangkok]") public class DepartureTime extends Object
The inclusive time range for the departure of the slice
  • Field Details

  • Constructor Details

    • DepartureTime

      public DepartureTime()
  • Method Details

    • from

      public DepartureTime from(String from)
    • getFrom

      @Nullable public String getFrom()
      The local time in the format `hh:mm` of the origin airport at or after which the slice should depart. Defaults to current time at airport when only `to` is provided or `from` value is in the past
      Returns:
      from
    • getFrom_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getFrom_JsonNullable()
    • setFrom_JsonNullable

      public void setFrom_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> from)
    • setFrom

      public void setFrom(String from)
    • to

      public DepartureTime to(String to)
    • getTo

      @Nullable public String getTo()
      The local time in the format `hh:mm` of the origin airport at or before which the slice should depart. Defaults to `23:59` when only `from` is provided
      Returns:
      to
    • getTo_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getTo_JsonNullable()
    • setTo_JsonNullable

      public void setTo_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> to)
    • setTo

      public void setTo(String to)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object