Class MainCreateRewardResponse

java.lang.Object
software.xdev.brevo.model.MainCreateRewardResponse

public class MainCreateRewardResponse extends Object
MainCreateRewardResponse
  • Field Details

  • Constructor Details

    • MainCreateRewardResponse

      public MainCreateRewardResponse()
  • Method Details

    • createdAt

      public MainCreateRewardResponse createdAt(@Nullable OffsetDateTime createdAt)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Timestamp when the reward was created
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nullable OffsetDateTime createdAt)
    • id

      public MainCreateRewardResponse id(@Nullable UUID id)
    • getId

      @Nullable public UUID getId()
      Unique identifier for the reward
      Returns:
      id
    • setId

      public void setId(@Nullable UUID id)
    • loyaltyProgramId

      public MainCreateRewardResponse loyaltyProgramId(@Nullable UUID loyaltyProgramId)
    • getLoyaltyProgramId

      @Nullable public UUID getLoyaltyProgramId()
      Id of the loyalty program to which the current reward belongs to
      Returns:
      loyaltyProgramId
    • setLoyaltyProgramId

      public void setLoyaltyProgramId(@Nullable UUID loyaltyProgramId)
    • name

      public MainCreateRewardResponse name(@Nullable String name)
    • getName

      @Nullable public String getName()
      Name of the reward
      Returns:
      name
    • setName

      public void setName(@Nullable String name)
    • publicDescription

      public MainCreateRewardResponse publicDescription(@Nullable String publicDescription)
    • getPublicDescription

      @Nullable public String getPublicDescription()
      Public description for the reward
      Returns:
      publicDescription
    • setPublicDescription

      public void setPublicDescription(@Nullable String publicDescription)
    • publicImage

      public MainCreateRewardResponse publicImage(@Nullable String publicImage)
    • getPublicImage

      @Nullable public String getPublicImage()
      Public Image for the reward
      Returns:
      publicImage
    • setPublicImage

      public void setPublicImage(@Nullable String publicImage)
    • publicName

      public MainCreateRewardResponse publicName(@Nullable String publicName)
    • getPublicName

      @Nullable public String getPublicName()
      Public name for the reward
      Returns:
      publicName
    • setPublicName

      public void setPublicName(@Nullable String publicName)
    • updatedAt

      public MainCreateRewardResponse updatedAt(@Nullable String updatedAt)
    • getUpdatedAt

      @Nullable public String getUpdatedAt()
      Timestamp for when this reward was last updated.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(@Nullable String updatedAt)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string