Package software.xdev.brevo.model
Class MainGenerator
java.lang.Object
software.xdev.brevo.model.MainGenerator
MainGenerator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanTimestamp when the reward was createdPublic facing description of the rewardgetId()Unique identifier for the rewardgetName()Name of the rewardGenerated patternTimestamp when the reward was createdinthashCode()voidsetCreatedAt(String createdAt) voidsetDescription(String description) voidvoidvoidsetPattern(String pattern) voidsetUpdatedAt(OffsetDateTime updatedAt) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.updatedAt(OffsetDateTime updatedAt)
-
Field Details
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PATTERN
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
-
Constructor Details
-
MainGenerator
public MainGenerator()
-
-
Method Details
-
createdAt
-
getCreatedAt
Timestamp when the reward was created- Returns:
- createdAt
-
setCreatedAt
-
description
-
getDescription
Public facing description of the reward- Returns:
- description
-
setDescription
-
id
-
getId
Unique identifier for the reward- Returns:
- id
-
setId
-
name
-
getName
Name of the reward- Returns:
- name
-
setName
-
pattern
-
getPattern
Generated pattern- Returns:
- pattern
-
setPattern
-
updatedAt
-
getUpdatedAt
Timestamp when the reward was created- 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
-