Class ParameterCreatedBeforeAfter

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ParameterCreatedBeforeAfter extends Object
ParameterCreatedBeforeAfter
  • Field Details

  • Constructor Details

    • ParameterCreatedBeforeAfter

      public ParameterCreatedBeforeAfter()
  • Method Details

    • before

    • getBefore

      @Nullable public OffsetDateTime getBefore()
      Timestamp representing the date and time before the voucher was created. The value is shown in the ISO 8601 format.
      Returns:
      before
    • setBefore

      public void setBefore(OffsetDateTime before)
    • after

    • getAfter

      @Nullable public OffsetDateTime getAfter()
      Timestamp representing the date and time after the voucher was created. The value is shown in the ISO 8601 format.
      Returns:
      after
    • setAfter

      public void setAfter(OffsetDateTime after)
    • 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 ParameterCreatedBeforeAfter fromJson(String jsonString) throws IOException
      Create an instance of ParameterCreatedBeforeAfter given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ParameterCreatedBeforeAfter
      Throws:
      IOException - if the JSON string is invalid with respect to ParameterCreatedBeforeAfter
    • toJson

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