Class Notification
java.lang.Object
io.github.primelib.jira4j.restv3.model.Notification
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class Notification
extends Object
Notification
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe HTML body of the email notification for the issue.protected NotificationRecipientsRestrictionsprotected StringThe subject of the email notification for the issue.protected StringThe plain text body of the email notification for the issue.protected NotificationRecipients -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNotification(String htmlBody, NotificationRecipientsRestrictions restrict, String subject, String textBody, NotificationRecipients to) Constructs a validated instance ofNotification.Notification(Consumer<Notification> spec) Constructs a validated instance ofNotification. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()htmlBody()The HTML body of the email notification for the issue.The HTML body of the email notification for the issue.restrict()restrict(NotificationRecipientsRestrictions restrict) subject()The subject of the email notification for the issue.The subject of the email notification for the issue.textBody()The plain text body of the email notification for the issue.The plain text body of the email notification for the issue.to()toString()
-
Field Details
-
htmlBody
The HTML body of the email notification for the issue. -
restrict
-
subject
The subject of the email notification for the issue. If this is not specified, then the subject is set to the issue key and summary. -
textBody
The plain text body of the email notification for the issue. -
to
-
-
Constructor Details
-
Notification
Constructs a validated instance ofNotification.- Parameters:
spec- the specification to process
-
Notification
@Internal public Notification(String htmlBody, NotificationRecipientsRestrictions restrict, String subject, String textBody, NotificationRecipients to) Constructs a validated instance ofNotification.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Notification(Consumer)instead.- Parameters:
htmlBody- The HTML body of the email notification for the issue.restrict- restrictsubject- The subject of the email notification for the issue. If this is not specified, then the subject is set to the issue key and summary.textBody- The plain text body of the email notification for the issue.to- to
-
Notification
protected Notification()
-
-
Method Details
-
builder
-
htmlBody
The HTML body of the email notification for the issue. -
restrict
-
subject
The subject of the email notification for the issue. If this is not specified, then the subject is set to the issue key and summary. -
textBody
The plain text body of the email notification for the issue. -
to
-
htmlBody
The HTML body of the email notification for the issue.- Returns:
this.
-
restrict
- Returns:
this.
-
subject
The subject of the email notification for the issue. If this is not specified, then the subject is set to the issue key and summary.- Returns:
this.
-
textBody
The plain text body of the email notification for the issue.- Returns:
this.
-
to
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-