Class EventNotification
java.lang.Object
io.github.primelib.jira4j.restv2.model.EventNotification
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class EventNotification
extends Object
EventNotification
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumIdentifies the recipients of the notification. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe email address.protected StringExpand options that include additional event notification details in the response.protected FieldDetailsprotected GroupNameprotected LongThe ID of the notification.protected EventNotification.NotificationTypeEnumIdentifies the recipients of the notification.protected StringAs a group's name can change, use ofrecipientis recommended.protected ProjectRoleprotected StringThe identifier associated with thenotificationTypevalue that defines the receiver of the notification, where the receiver isn't implied by thenotificationTypevalue.protected UserDetails -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEventNotification(String emailAddress, String expand, FieldDetails field, GroupName group, Long id, EventNotification.NotificationTypeEnum notificationType, String parameter, ProjectRole projectRole, String recipient, UserDetails user) Constructs a validated instance ofEventNotification.Constructs a validated instance ofEventNotification. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanThe email address.emailAddress(String emailAddress) The email address.booleanexpand()Expand options that include additional event notification details in the response.Expand options that include additional event notification details in the response.field()field(FieldDetails field) group()inthashCode()id()The ID of the notification.The ID of the notification.Identifies the recipients of the notification.notificationType(EventNotification.NotificationTypeEnum notificationType) Identifies the recipients of the notification.As a group's name can change, use ofrecipientis recommended.As a group's name can change, use ofrecipientis recommended.projectRole(ProjectRole projectRole) The identifier associated with thenotificationTypevalue that defines the receiver of the notification, where the receiver isn't implied by thenotificationTypevalue.The identifier associated with thenotificationTypevalue that defines the receiver of the notification, where the receiver isn't implied by thenotificationTypevalue.toString()user()user(UserDetails user)
-
Field Details
-
emailAddress
The email address. -
expand
Expand options that include additional event notification details in the response. -
field
-
group
-
id
The ID of the notification. -
notificationType
Identifies the recipients of the notification. -
parameter
As a group's name can change, use ofrecipientis recommended. The identifier associated with thenotificationTypevalue that defines the receiver of the notification, where the receiver isn't implied bynotificationTypevalue. So, whennotificationTypeis: *UserTheparameteris the user account ID. *GroupTheparameteris the group name. *ProjectRoleTheparameteris the project role ID. *UserCustomFieldTheparameteris the ID of the custom field. *GroupCustomFieldTheparameteris the ID of the custom field. -
projectRole
-
recipient
The identifier associated with thenotificationTypevalue that defines the receiver of the notification, where the receiver isn't implied by thenotificationTypevalue. So, whennotificationTypeis: *User,recipientis the user account ID. *Group,recipientis the group ID. *ProjectRole,recipientis the project role ID. *UserCustomField,recipientis the ID of the custom field. *GroupCustomField,recipientis the ID of the custom field. -
user
-
-
Constructor Details
-
EventNotification
Constructs a validated instance ofEventNotification.- Parameters:
spec- the specification to process
-
EventNotification
@Internal public EventNotification(String emailAddress, String expand, FieldDetails field, GroupName group, Long id, EventNotification.NotificationTypeEnum notificationType, String parameter, ProjectRole projectRole, String recipient, UserDetails user) Constructs a validated instance ofEventNotification.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
EventNotification(Consumer)instead.- Parameters:
emailAddress- The email address.expand- Expand options that include additional event notification details in the response.field- fieldgroup- groupid- The ID of the notification.notificationType- Identifies the recipients of the notification.parameter- As a group's name can change, use ofrecipientis recommended. The identifier associated with thenotificationTypevalue that defines the receiver of the notification, where the receiver isn't implied bynotificationTypevalue. So, whennotificationTypeis: *UserTheparameteris the user account ID. *GroupTheparameteris the group name. *ProjectRoleTheparameteris the project role ID. *UserCustomFieldTheparameteris the ID of the custom field. *GroupCustomFieldTheparameteris the ID of the custom field.projectRole- projectRolerecipient- The identifier associated with thenotificationTypevalue that defines the receiver of the notification, where the receiver isn't implied by thenotificationTypevalue. So, whennotificationTypeis: *User,recipientis the user account ID. *Group,recipientis the group ID. *ProjectRole,recipientis the project role ID. *UserCustomField,recipientis the ID of the custom field. *GroupCustomField,recipientis the ID of the custom field.user- user
-
EventNotification
protected EventNotification()
-
-
Method Details
-
builder
-
emailAddress
The email address. -
expand
Expand options that include additional event notification details in the response. -
field
-
group
-
id
The ID of the notification. -
notificationType
Identifies the recipients of the notification. -
parameter
As a group's name can change, use ofrecipientis recommended. The identifier associated with thenotificationTypevalue that defines the receiver of the notification, where the receiver isn't implied bynotificationTypevalue. So, whennotificationTypeis: *UserTheparameteris the user account ID. *GroupTheparameteris the group name. *ProjectRoleTheparameteris the project role ID. *UserCustomFieldTheparameteris the ID of the custom field. *GroupCustomFieldTheparameteris the ID of the custom field. -
projectRole
-
recipient
The identifier associated with thenotificationTypevalue that defines the receiver of the notification, where the receiver isn't implied by thenotificationTypevalue. So, whennotificationTypeis: *User,recipientis the user account ID. *Group,recipientis the group ID. *ProjectRole,recipientis the project role ID. *UserCustomField,recipientis the ID of the custom field. *GroupCustomField,recipientis the ID of the custom field. -
user
-
emailAddress
The email address.- Returns:
this.
-
expand
Expand options that include additional event notification details in the response.- Returns:
this.
-
field
- Returns:
this.
-
group
- Returns:
this.
-
id
The ID of the notification.- Returns:
this.
-
notificationType
Identifies the recipients of the notification.- Returns:
this.
-
parameter
As a group's name can change, use ofrecipientis recommended. The identifier associated with thenotificationTypevalue that defines the receiver of the notification, where the receiver isn't implied bynotificationTypevalue. So, whennotificationTypeis: *UserTheparameteris the user account ID. *GroupTheparameteris the group name. *ProjectRoleTheparameteris the project role ID. *UserCustomFieldTheparameteris the ID of the custom field. *GroupCustomFieldTheparameteris the ID of the custom field.- Returns:
this.
-
projectRole
- Returns:
this.
-
recipient
The identifier associated with thenotificationTypevalue that defines the receiver of the notification, where the receiver isn't implied by thenotificationTypevalue. So, whennotificationTypeis: *User,recipientis the user account ID. *Group,recipientis the group ID. *ProjectRole,recipientis the project role ID. *UserCustomField,recipientis the ID of the custom field. *GroupCustomField,recipientis the ID of the custom field.- Returns:
this.
-
user
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-