Class NotificationTo
java.lang.Object
io.github.primelib.jira4j.restv2.model.NotificationTo
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class NotificationTo
extends Object
NotificationTo
-
Nested Class Summary
Nested Classes -
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
NotificationTo
(Boolean assignee, List<String> groupIds, List<GroupName> groups, Boolean reporter, List<UserDetails> users, Boolean voters, Boolean watchers) Constructs a validated instance ofNotificationTo
.NotificationTo
(Consumer<NotificationTo> spec) Constructs a validated instance ofNotificationTo
. -
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
-
NotificationTo
Constructs a validated instance ofNotificationTo
.- Parameters:
spec
- the specification to process
-
NotificationTo
@Internal public NotificationTo(Boolean assignee, List<String> groupIds, List<GroupName> groups, Boolean reporter, List<UserDetails> users, Boolean voters, Boolean watchers) Constructs a validated instance ofNotificationTo
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
NotificationTo(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.
-
NotificationTo
protected NotificationTo()
-
-
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
-