Class RemoveNotificationFromNotificationSchemeOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.RemoveNotificationFromNotificationSchemeOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class RemoveNotificationFromNotificationSchemeOperationSpec
extends Object
RemoveNotificationFromNotificationSchemeSpec
Specification for the RemoveNotificationFromNotificationScheme operation.
Remove notification from notification scheme
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RemoveNotificationFromNotificationSchemeOperationSpec
(String notificationSchemeId, String notificationId) Constructs a validated instance ofRemoveNotificationFromNotificationSchemeOperationSpec
.RemoveNotificationFromNotificationSchemeOperationSpec
(Consumer<RemoveNotificationFromNotificationSchemeOperationSpec> spec) Constructs a validated instance ofRemoveNotificationFromNotificationSchemeOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull String
The ID of the notification.notificationId
(@NotNull String notificationId) The ID of the notification.@NotNull String
The ID of the notification scheme.notificationSchemeId
(@NotNull String notificationSchemeId) The ID of the notification scheme.toString()
void
validate()
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
-
RemoveNotificationFromNotificationSchemeOperationSpec
@Internal public RemoveNotificationFromNotificationSchemeOperationSpec(Consumer<RemoveNotificationFromNotificationSchemeOperationSpec> spec) Constructs a validated instance ofRemoveNotificationFromNotificationSchemeOperationSpec
.- Parameters:
spec
- the specification to process
-
RemoveNotificationFromNotificationSchemeOperationSpec
@Internal public RemoveNotificationFromNotificationSchemeOperationSpec(String notificationSchemeId, String notificationId) Constructs a validated instance ofRemoveNotificationFromNotificationSchemeOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
notificationSchemeId
- The ID of the notification scheme.notificationId
- The ID of the notification.
-
RemoveNotificationFromNotificationSchemeOperationSpec
protected RemoveNotificationFromNotificationSchemeOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
notificationSchemeId
The ID of the notification scheme. -
notificationId
The ID of the notification. -
notificationSchemeId
public RemoveNotificationFromNotificationSchemeOperationSpec notificationSchemeId(@NotNull @NotNull String notificationSchemeId) The ID of the notification scheme.- Returns:
this
.
-
notificationId
public RemoveNotificationFromNotificationSchemeOperationSpec notificationId(@NotNull @NotNull String notificationId) The ID of the notification.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-