Package io.voucherify.client.model
Class RewardAttributes
java.lang.Object
io.voucherify.client.model.RewardAttributes
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RewardAttributes
extends Object
These properties are configurable for **material rewards**.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanstatic RewardAttributesCreate an instance of RewardAttributes given an JSON stringAn arbitrary string that you can attach to a material reward.The HTTPS URL pointing to the .png or .jpg file.inthashCode()voidsetDescription(String description) voidsetImageUrl(String imageUrl) toJson()Convert an instance of RewardAttributes to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_IMAGE_URL
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RewardAttributes
public RewardAttributes()
-
-
Method Details
-
imageUrl
-
getImageUrl
The HTTPS URL pointing to the .png or .jpg file.- Returns:
- imageUrl
-
setImageUrl
-
description
-
getDescription
An arbitrary string that you can attach to a material reward.- Returns:
- description
-
setDescription
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of RewardAttributes given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RewardAttributes
- Throws:
IOException- if the JSON string is invalid with respect to RewardAttributes
-
toJson
Convert an instance of RewardAttributes to an JSON string- Returns:
- JSON string
-