Class CoverageWindow

java.lang.Object
com.qtsurfer.api.client.model.CoverageWindow

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.14.0") public class CoverageWindow extends Object
The time range of available data for a single data type
  • Field Details

  • Constructor Details

    • CoverageWindow

      public CoverageWindow()
  • Method Details

    • from

      public CoverageWindow from(@Nullable OffsetDateTime from)
    • getFrom

      @Nullable public OffsetDateTime getFrom()
      Earliest timestamp with data available
      Returns:
      from
    • setFrom

      public void setFrom(@Nullable OffsetDateTime from)
    • to

      public CoverageWindow to(@Nullable OffsetDateTime to)
    • getTo

      @Nullable public OffsetDateTime getTo()
      Latest timestamp with data available
      Returns:
      to
    • setTo

      public void setTo(@Nullable OffsetDateTime to)
    • inactiveSince

      public CoverageWindow inactiveSince(@Nullable OffsetDateTime inactiveSince)
    • getInactiveSince

      @Nullable public OffsetDateTime getInactiveSince()
      If the instrument stopped producing this data type (delisted/inactive), the timestamp it went inactive. Optional — omitted while the instrument is active.
      Returns:
      inactiveSince
    • setInactiveSince

      public void setInactiveSince(@Nullable OffsetDateTime inactiveSince)
    • equals

      public boolean equals(Object o)
      Return true if this CoverageWindow object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string