Class AddNotificationsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.AddNotificationsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AddNotificationsOperationSpec
extends Object
AddNotificationsSpec
Specification for the AddNotifications operation.
Add notifications to notification scheme
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAddNotificationsOperationSpec(String id, AddNotificationsDetails addNotificationsDetails) Constructs a validated instance ofAddNotificationsOperationSpec.Constructs a validated instance ofAddNotificationsOperationSpec. -
Method Summary
Modifier and TypeMethodDescription@NotNull AddNotificationsDetailsaddNotificationsDetails(@NotNull AddNotificationsDetails addNotificationsDetails) builder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID of the notification scheme.The ID of the notification scheme.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
-
AddNotificationsOperationSpec
Constructs a validated instance ofAddNotificationsOperationSpec.- Parameters:
spec- the specification to process
-
AddNotificationsOperationSpec
@Internal public AddNotificationsOperationSpec(String id, AddNotificationsDetails addNotificationsDetails) Constructs a validated instance ofAddNotificationsOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id- The ID of the notification scheme.addNotificationsDetails-
-
AddNotificationsOperationSpec
protected AddNotificationsOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
id
The ID of the notification scheme. -
addNotificationsDetails
-
id
The ID of the notification scheme.- Returns:
this.
-
addNotificationsDetails
public AddNotificationsOperationSpec addNotificationsDetails(@NotNull @NotNull AddNotificationsDetails addNotificationsDetails) - Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-