Class NotificationRecipients
java.lang.Object
io.github.primelib.jira4j.restv3.model.NotificationRecipients
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class NotificationRecipients
extends Object
NotificationRecipients
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Boolean
Whether the notification should be sent to the issue's assignees.List of groupIds to receive the notification.List of groups to receive the notification.protected Boolean
Whether the notification should be sent to the issue's reporter.protected List<UserDetails>
List of users to receive the notification.protected Boolean
Whether the notification should be sent to the issue's voters.protected Boolean
Whether the notification should be sent to the issue's watchers. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NotificationRecipients
(Boolean assignee, List<String> groupIds, List<GroupName> groups, Boolean reporter, List<UserDetails> users, Boolean voters, Boolean watchers) Constructs a validated instance ofNotificationRecipients
.Constructs a validated instance ofNotificationRecipients
. -
Method Summary
Modifier and TypeMethodDescriptionassignee()
Whether the notification should be sent to the issue's assignees.Whether the notification should be sent to the issue's assignees.builder()
protected boolean
boolean
groupIds()
List of groupIds to receive the notification.List of groupIds to receive the notification.groups()
List of groups to receive the notification.List of groups to receive the notification.int
hashCode()
reporter()
Whether the notification should be sent to the issue's reporter.Whether the notification should be sent to the issue's reporter.toString()
users()
List of users to receive the notification.users
(List<UserDetails> users) List of users to receive the notification.voters()
Whether the notification should be sent to the issue's voters.Whether the notification should be sent to the issue's voters.watchers()
Whether the notification should be sent to the issue's watchers.Whether the notification should be sent to the issue's watchers.
-
Field Details
-
assignee
Whether the notification should be sent to the issue's assignees. -
groupIds
List of groupIds to receive the notification. -
groups
List of groups to receive the notification. -
reporter
Whether the notification should be sent to the issue's reporter. -
users
List of users to receive the notification. -
voters
Whether the notification should be sent to the issue's voters. -
watchers
Whether the notification should be sent to the issue's watchers.
-
-
Constructor Details
-
NotificationRecipients
Constructs a validated instance ofNotificationRecipients
.- Parameters:
spec
- the specification to process
-
NotificationRecipients
@Internal public NotificationRecipients(Boolean assignee, List<String> groupIds, List<GroupName> groups, Boolean reporter, List<UserDetails> users, Boolean voters, Boolean watchers) Constructs a validated instance ofNotificationRecipients
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
NotificationRecipients(Consumer)
instead.- Parameters:
assignee
- Whether the notification should be sent to the issue's assignees.groupIds
- List of groupIds to receive the notification.groups
- List of groups to receive the notification.reporter
- Whether the notification should be sent to the issue's reporter.users
- List of users to receive the notification.voters
- Whether the notification should be sent to the issue's voters.watchers
- Whether the notification should be sent to the issue's watchers.
-
NotificationRecipients
protected NotificationRecipients()
-
-
Method Details
-
builder
-
assignee
Whether the notification should be sent to the issue's assignees. -
groupIds
List of groupIds to receive the notification. -
groups
List of groups to receive the notification. -
reporter
Whether the notification should be sent to the issue's reporter. -
users
List of users to receive the notification. -
voters
Whether the notification should be sent to the issue's voters. -
watchers
Whether the notification should be sent to the issue's watchers. -
assignee
Whether the notification should be sent to the issue's assignees.- Returns:
this
.
-
groupIds
List of groupIds to receive the notification.- Returns:
this
.
-
groups
List of groups to receive the notification.- Returns:
this
.
-
reporter
Whether the notification should be sent to the issue's reporter.- Returns:
this
.
-
users
List of users to receive the notification.- Returns:
this
.
-
voters
Whether the notification should be sent to the issue's voters.- Returns:
this
.
-
watchers
Whether the notification should be sent to the issue's watchers.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-