Class EventNotification

java.lang.Object
io.github.primelib.jira4j.restv3.model.EventNotification

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class EventNotification extends Object
EventNotification
  • Field Details

    • emailAddress

      protected String emailAddress
      The email address.
    • expand

      protected String expand
      Expand options that include additional event notification details in the response.
    • field

      protected FieldDetails field
    • group

      protected GroupName group
    • id

      protected Long id
      The ID of the notification.
    • notificationType

      protected EventNotification.NotificationTypeEnum notificationType
      Identifies the recipients of the notification.
    • parameter

      protected String parameter
      As a group's name can change, use of recipient is recommended. The identifier associated with the notificationType value that defines the receiver of the notification, where the receiver isn't implied by notificationType value. So, when notificationType is: * User The parameter is the user account ID. * Group The parameter is the group name. * ProjectRole The parameter is the project role ID. * UserCustomField The parameter is the ID of the custom field. * GroupCustomField The parameter is the ID of the custom field.
    • projectRole

      protected ProjectRole projectRole
    • recipient

      protected String recipient
      The identifier associated with the notificationType value that defines the receiver of the notification, where the receiver isn't implied by the notificationType value. So, when notificationType is: * User, recipient is the user account ID. * Group, recipient is the group ID. * ProjectRole, recipient is the project role ID. * UserCustomField, recipient is the ID of the custom field. * GroupCustomField, recipient is the ID of the custom field.
    • user

      protected UserDetails user
  • Constructor Details

    • EventNotification

      public EventNotification(Consumer<EventNotification> spec)
      Constructs a validated instance of EventNotification.
      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 of EventNotification.

      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 - field
      group - group
      id - The ID of the notification.
      notificationType - Identifies the recipients of the notification.
      parameter - As a group's name can change, use of recipient is recommended. The identifier associated with the notificationType value that defines the receiver of the notification, where the receiver isn't implied by notificationType value. So, when notificationType is: * User The parameter is the user account ID. * Group The parameter is the group name. * ProjectRole The parameter is the project role ID. * UserCustomField The parameter is the ID of the custom field. * GroupCustomField The parameter is the ID of the custom field.
      projectRole - projectRole
      recipient - The identifier associated with the notificationType value that defines the receiver of the notification, where the receiver isn't implied by the notificationType value. So, when notificationType is: * User, recipient is the user account ID. * Group, recipient is the group ID. * ProjectRole, recipient is the project role ID. * UserCustomField, recipient is the ID of the custom field. * GroupCustomField, recipient is the ID of the custom field.
      user - user
    • EventNotification

      protected EventNotification()
  • Method Details

    • builder

    • emailAddress

      public String emailAddress()
      The email address.
    • expand

      public String expand()
      Expand options that include additional event notification details in the response.
    • field

      public FieldDetails field()
    • group

      public GroupName group()
    • id

      public Long id()
      The ID of the notification.
    • notificationType

      public EventNotification.NotificationTypeEnum notificationType()
      Identifies the recipients of the notification.
    • parameter

      public String parameter()
      As a group's name can change, use of recipient is recommended. The identifier associated with the notificationType value that defines the receiver of the notification, where the receiver isn't implied by notificationType value. So, when notificationType is: * User The parameter is the user account ID. * Group The parameter is the group name. * ProjectRole The parameter is the project role ID. * UserCustomField The parameter is the ID of the custom field. * GroupCustomField The parameter is the ID of the custom field.
    • projectRole

      public ProjectRole projectRole()
    • recipient

      public String recipient()
      The identifier associated with the notificationType value that defines the receiver of the notification, where the receiver isn't implied by the notificationType value. So, when notificationType is: * User, recipient is the user account ID. * Group, recipient is the group ID. * ProjectRole, recipient is the project role ID. * UserCustomField, recipient is the ID of the custom field. * GroupCustomField, recipient is the ID of the custom field.
    • user

      public UserDetails user()
    • emailAddress

      public EventNotification emailAddress(String emailAddress)
      The email address.
      Returns:
      this.
    • expand

      public EventNotification expand(String expand)
      Expand options that include additional event notification details in the response.
      Returns:
      this.
    • field

      public EventNotification field(FieldDetails field)
      Returns:
      this.
    • group

      public EventNotification group(GroupName group)
      Returns:
      this.
    • id

      public EventNotification id(Long id)
      The ID of the notification.
      Returns:
      this.
    • notificationType

      public EventNotification notificationType(EventNotification.NotificationTypeEnum notificationType)
      Identifies the recipients of the notification.
      Returns:
      this.
    • parameter

      public EventNotification parameter(String parameter)
      As a group's name can change, use of recipient is recommended. The identifier associated with the notificationType value that defines the receiver of the notification, where the receiver isn't implied by notificationType value. So, when notificationType is: * User The parameter is the user account ID. * Group The parameter is the group name. * ProjectRole The parameter is the project role ID. * UserCustomField The parameter is the ID of the custom field. * GroupCustomField The parameter is the ID of the custom field.
      Returns:
      this.
    • projectRole

      public EventNotification projectRole(ProjectRole projectRole)
      Returns:
      this.
    • recipient

      public EventNotification recipient(String recipient)
      The identifier associated with the notificationType value that defines the receiver of the notification, where the receiver isn't implied by the notificationType value. So, when notificationType is: * User, recipient is the user account ID. * Group, recipient is the group ID. * ProjectRole, recipient is the project role ID. * UserCustomField, recipient is the ID of the custom field. * GroupCustomField, recipient is the ID of the custom field.
      Returns:
      this.
    • user

      public EventNotification user(UserDetails user)
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object