Class RewardsUpdateResponseBodyAttributes

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class RewardsUpdateResponseBodyAttributes extends Object
These properties are configurable for **material rewards**.
  • Field Details

  • Constructor Details

    • RewardsUpdateResponseBodyAttributes

      public RewardsUpdateResponseBodyAttributes()
  • Method Details

    • imageUrl

      public RewardsUpdateResponseBodyAttributes imageUrl(String imageUrl)
    • getImageUrl

      @Nullable public String getImageUrl()
      The HTTPS URL pointing to the .png or .jpg file.
      Returns:
      imageUrl
    • setImageUrl

      public void setImageUrl(String imageUrl)
    • description

      public RewardsUpdateResponseBodyAttributes description(String description)
    • getDescription

      @Nullable public String getDescription()
      An arbitrary string that you can attach to a material reward.
      Returns:
      description
    • setDescription

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

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