Class FilterConditionsDateTime

java.lang.Object
io.voucherify.client.model.FilterConditionsDateTime

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class FilterConditionsDateTime extends Object
Data filters used to narrow down the data records to be returned in the result.
  • Field Details

  • Constructor Details

    • FilterConditionsDateTime

      public FilterConditionsDateTime()
  • Method Details

    • $after

      public FilterConditionsDateTime $after(OffsetDateTime $after)
    • get$After

      @Nullable public OffsetDateTime get$After()
      Value is after this date. The value for this parameter is shown in the ISO 8601 format.
      Returns:
      $after
    • set$After

      public void set$After(OffsetDateTime $after)
    • $before

      public FilterConditionsDateTime $before(OffsetDateTime $before)
    • get$Before

      @Nullable public OffsetDateTime get$Before()
      Value is before this date. The value for this parameter is shown in the ISO 8601 format.
      Returns:
      $before
    • set$Before

      public void set$Before(OffsetDateTime $before)
    • $hasValue

      public FilterConditionsDateTime $hasValue(String $hasValue)
    • get$HasValue

      @Nullable public String get$HasValue()
      Value is NOT null. The value for this parameter is an empty string.
      Returns:
      $hasValue
    • set$HasValue

      public void set$HasValue(String $hasValue)
    • $isUnknown

      public FilterConditionsDateTime $isUnknown(String $isUnknown)
    • get$IsUnknown

      @Nullable public String get$IsUnknown()
      Value is null. The value for this parameter is an empty string.
      Returns:
      $isUnknown
    • set$IsUnknown

      public void set$IsUnknown(String $isUnknown)
    • moreThan

      public FilterConditionsDateTime moreThan(Integer moreThan)
    • getMoreThan

      @Nullable public Integer getMoreThan()
      Value is more days ago before the current date and time, e.g. more than `10` days ago.
      Returns:
      moreThan
    • setMoreThan

      public void setMoreThan(Integer moreThan)
    • lessThan

      public FilterConditionsDateTime lessThan(Integer lessThan)
    • getLessThan

      @Nullable public Integer getLessThan()
      Value is less days before the current date and time, e.g. less than `10` days ago.
      Returns:
      lessThan
    • setLessThan

      public void setLessThan(Integer lessThan)
    • 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
    • fromJson

      public static FilterConditionsDateTime fromJson(String jsonString) throws IOException
      Create an instance of FilterConditionsDateTime given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of FilterConditionsDateTime
      Throws:
      IOException - if the JSON string is invalid with respect to FilterConditionsDateTime
    • toJson

      public String toJson()
      Convert an instance of FilterConditionsDateTime to an JSON string
      Returns:
      JSON string