Class Recipient
- java.lang.Object
-
- com.redhat.cloud.notifications.ingress.Recipient
-
@Generated("jsonschema2pojo") public class Recipient extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecipient.RecipientBuilderstatic classRecipient.RecipientBuilderBase<T extends Recipient>
-
Constructor Summary
Constructors Constructor Description Recipient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)List<String>getGroups()GroupsBooleangetIgnoreUserPreferences()Ignore user preferencesBooleangetOnlyAdmins()Only adminsList<String>getUsers()UsersinthashCode()voidsetGroups(List<String> groups)GroupsvoidsetIgnoreUserPreferences(Boolean ignoreUserPreferences)Ignore user preferencesvoidsetOnlyAdmins(Boolean onlyAdmins)Only adminsvoidsetUsers(List<String> users)UsersStringtoString()
-
-
-
Method Detail
-
getOnlyAdmins
public Boolean getOnlyAdmins()
Only adminsSetting 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 adminsSetting 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 preferencesSetting 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 preferencesSetting 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()
UsersList of users to direct the notification to. Note that this does not ignore the user preferences.
-
setUsers
public void setUsers(List<String> users)
UsersList of users to direct the notification to. Note that this does not ignore the user preferences.
-
getGroups
public List<String> getGroups()
GroupsList of group ids to direct the notification to. Note that this does not ignore the user preferences.
-
setGroups
public void setGroups(List<String> groups)
GroupsList of group ids to direct the notification to. Note that this does not ignore the user preferences.
-
-