Package software.xdev.brevo.model
Class MainCreateRewardResponse
java.lang.Object
software.xdev.brevo.model.MainCreateRewardResponse
MainCreateRewardResponse
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanTimestamp when the reward was createdgetId()Unique identifier for the rewardId of the loyalty program to which the current reward belongs togetName()Name of the rewardPublic description for the rewardPublic Image for the rewardPublic name for the rewardTimestamp for when this reward was last updated.inthashCode()loyaltyProgramId(UUID loyaltyProgramId) publicDescription(String publicDescription) publicImage(String publicImage) publicName(String publicName) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidsetLoyaltyProgramId(UUID loyaltyProgramId) voidvoidsetPublicDescription(String publicDescription) voidsetPublicImage(String publicImage) voidsetPublicName(String publicName) voidsetUpdatedAt(String updatedAt) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LOYALTY_PROGRAM_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PUBLIC_DESCRIPTION
- See Also:
-
JSON_PROPERTY_PUBLIC_IMAGE
- See Also:
-
JSON_PROPERTY_PUBLIC_NAME
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
-
Constructor Details
-
MainCreateRewardResponse
public MainCreateRewardResponse()
-
-
Method Details
-
createdAt
-
getCreatedAt
Timestamp when the reward was created- Returns:
- createdAt
-
setCreatedAt
-
id
-
getId
Unique identifier for the reward- Returns:
- id
-
setId
-
loyaltyProgramId
-
getLoyaltyProgramId
Id of the loyalty program to which the current reward belongs to- Returns:
- loyaltyProgramId
-
setLoyaltyProgramId
-
name
-
getName
Name of the reward- Returns:
- name
-
setName
-
publicDescription
-
getPublicDescription
Public description for the reward- Returns:
- publicDescription
-
setPublicDescription
-
publicImage
-
getPublicImage
Public Image for the reward- Returns:
- publicImage
-
setPublicImage
-
publicName
-
getPublicName
Public name for the reward- Returns:
- publicName
-
setPublicName
-
updatedAt
-
getUpdatedAt
Timestamp for when this reward was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-