Class MessageSendRequest

java.lang.Object
com.gentics.contentnode.rest.model.request.MessageSendRequest
All Implemented Interfaces:
Serializable

public class MessageSendRequest extends Object implements Serializable
Request to send messages to users/groups
See Also:
  • Constructor Details

    • MessageSendRequest

      public MessageSendRequest()
      Create an empty instance
  • Method Details

    • getMessage

      public String getMessage()
      Message to be sent. This may be an i18n key.
    • getTranslations

      public Map<String,String> getTranslations()
      Optional map of translations per language code. If a translation for the adressees language is found here, it will be used.
      Returns:
      translations per language code
    • getParameters

      public List<String> getParameters()
      Optional list of parameters, that are filled into the message (if the message is an i18n key)
      Returns:
      list of parameters
    • getToGroupId

      public List<Integer> getToGroupId()
      List of group IDs to send the message
      Returns:
      list of group IDs
    • getToUserId

      public List<Integer> getToUserId()
      List of user IDs to send the message
      Returns:
    • getInstantTimeMinutes

      public int getInstantTimeMinutes()
      Gets the value of the instantTimeMinutes field.
      Returns:
      The value of the instantTimeMinutes field.
    • setInstantTimeMinutes

      public void setInstantTimeMinutes(int instantTimeMinutes)
      Sets the value of the instantTimeMinutes field.
      Parameters:
      instantTimeMinutes - The value to set the instantTimeMinutes field to.
    • setMessage

      public void setMessage(String message)
    • setTranslations

      public void setTranslations(Map<String,String> translations)
    • setParameters

      public void setParameters(List<String> parameters)
    • setToGroupId

      public void setToGroupId(List<Integer> toGroupId)
    • setToUserId

      public void setToUserId(List<Integer> toUserId)