Package io.voucherify.client.model
Class RewardsCreateRequestBodyAttributes
java.lang.Object
io.voucherify.client.model.RewardsCreateRequestBodyAttributes
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RewardsCreateRequestBodyAttributes
extends Object
Attributes of a material reward.
-
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 RewardsCreateRequestBodyAttributes given an JSON stringDescription of a material reward.HTTPS URL pointing to a .png or .jpg file.inthashCode()voidsetDescription(String description) voidsetImageUrl(String imageUrl) toJson()Convert an instance of RewardsCreateRequestBodyAttributes to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_IMAGE_URL
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RewardsCreateRequestBodyAttributes
public RewardsCreateRequestBodyAttributes()
-
-
Method Details
-
imageUrl
-
getImageUrl
HTTPS URL pointing to a .png or .jpg file.- Returns:
- imageUrl
-
setImageUrl
-
description
-
getDescription
Description of a material reward.- Returns:
- description
-
setDescription
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of RewardsCreateRequestBodyAttributes given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RewardsCreateRequestBodyAttributes
- Throws:
IOException- if the JSON string is invalid with respect to RewardsCreateRequestBodyAttributes
-
toJson
Convert an instance of RewardsCreateRequestBodyAttributes to an JSON string- Returns:
- JSON string
-