Class LoyaltiesEarningRulesCreateResponseBodyCustomEvent

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class LoyaltiesEarningRulesCreateResponseBodyCustomEvent extends Object
Contains details about the custom event.
  • Field Details

  • Constructor Details

    • LoyaltiesEarningRulesCreateResponseBodyCustomEvent

      public LoyaltiesEarningRulesCreateResponseBodyCustomEvent()
  • Method Details

    • schemaId

    • getSchemaId

      @Nullable public String getSchemaId()
      Unique identifier of the custom event schema
      Returns:
      schemaId
    • setSchemaId

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

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