Class NotifyOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.NotifyOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class NotifyOperationSpec
extends Object
NotifySpec
Specification for the Notify operation.
Send notification for issue
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNotifyOperationSpec(String issueIdOrKey, Notification notification) Constructs a validated instance ofNotifyOperationSpec.Constructs a validated instance ofNotifyOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()@NotNull StringID or key of the issue that the notification is sent for.issueIdOrKey(@NotNull String issueIdOrKey) ID or key of the issue that the notification is sent for.@NotNull NotificationThe request object for the notification and recipients.notification(@NotNull Notification notification) The request object for the notification and recipients.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
NotifyOperationSpec
Constructs a validated instance ofNotifyOperationSpec.- Parameters:
spec- the specification to process
-
NotifyOperationSpec
Constructs a validated instance ofNotifyOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
issueIdOrKey- ID or key of the issue that the notification is sent for.notification- The request object for the notification and recipients.
-
NotifyOperationSpec
protected NotifyOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
issueIdOrKey
ID or key of the issue that the notification is sent for. -
notification
The request object for the notification and recipients. -
issueIdOrKey
ID or key of the issue that the notification is sent for.- Returns:
this.
-
notification
The request object for the notification and recipients.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-