Package io.voucherify.client.model
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**.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanCreate an instance of RewardsUpdateResponseBodyAttributes 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 RewardsUpdateResponseBodyAttributes to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_IMAGE_URL
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RewardsUpdateResponseBodyAttributes
public RewardsUpdateResponseBodyAttributes()
-
-
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 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
Convert an instance of RewardsUpdateResponseBodyAttributes to an JSON string- Returns:
- JSON string
-