Class Recipient

java.lang.Object
com.redhat.cloud.notifications.ingress.Recipient

@Generated("jsonschema2pojo") public class Recipient extends Object
  • Constructor Details

    • Recipient

      public Recipient()
  • Method Details

    • getOnlyAdmins

      public Boolean getOnlyAdmins()
      Only admins

      Setting to true sends an email to the administrators of the account. Setting to false sends an email to all users of the account. Note that this does not ignore the user preferences.

    • setOnlyAdmins

      public void setOnlyAdmins(Boolean onlyAdmins)
      Only admins

      Setting to true sends an email to the administrators of the account. Setting to false sends an email to all users of the account. Note that this does not ignore the user preferences.

    • getIgnoreUserPreferences

      public Boolean getIgnoreUserPreferences()
      Ignore user preferences

      Setting to true ignores all the user preferences on this Recipient setting (It doesn't affect other configuration that an Administrator sets on their Notification settings). Setting to false (default) honors the user preferences.

    • setIgnoreUserPreferences

      public void setIgnoreUserPreferences(Boolean ignoreUserPreferences)
      Ignore user preferences

      Setting to true ignores all the user preferences on this Recipient setting (It doesn't affect other configuration that an Administrator sets on their Notification settings). Setting to false (default) honors the user preferences.

    • getUsers

      public List<String> getUsers()
      Users

      List of users to direct the notification to. Note that this does not ignore the user preferences.

    • setUsers

      public void setUsers(List<String> users)
      Users

      List of users to direct the notification to. Note that this does not ignore the user preferences.

    • getGroups

      public List<String> getGroups()
      Groups

      List of group ids to direct the notification to. Note that this does not ignore the user preferences.

    • setGroups

      public void setGroups(List<String> groups)
      Groups

      List of group ids to direct the notification to. Note that this does not ignore the user preferences.

    • toString

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

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

      public boolean equals(Object other)
      Overrides:
      equals in class Object