Class UpdateNotificationSchemeOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.UpdateNotificationSchemeOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateNotificationSchemeOperationSpec
extends Object
UpdateNotificationSchemeSpec
Specification for the UpdateNotificationScheme operation.
Update 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
ConstructorsModifierConstructorDescriptionprotectedUpdateNotificationSchemeOperationSpec(String id, UpdateNotificationSchemeDetails updateNotificationSchemeDetails) Constructs a validated instance ofUpdateNotificationSchemeOperationSpec.Constructs a validated instance ofUpdateNotificationSchemeOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID of the notification scheme.The ID of the notification scheme.toString()@NotNull UpdateNotificationSchemeDetailsupdateNotificationSchemeDetails(@NotNull UpdateNotificationSchemeDetails updateNotificationSchemeDetails) 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
-
UpdateNotificationSchemeOperationSpec
@Internal public UpdateNotificationSchemeOperationSpec(Consumer<UpdateNotificationSchemeOperationSpec> spec) Constructs a validated instance ofUpdateNotificationSchemeOperationSpec.- Parameters:
spec- the specification to process
-
UpdateNotificationSchemeOperationSpec
@Internal public UpdateNotificationSchemeOperationSpec(String id, UpdateNotificationSchemeDetails updateNotificationSchemeDetails) Constructs a validated instance ofUpdateNotificationSchemeOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id- The ID of the notification scheme.updateNotificationSchemeDetails-
-
UpdateNotificationSchemeOperationSpec
protected UpdateNotificationSchemeOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static UpdateNotificationSchemeOperationSpec.UpdateNotificationSchemeOperationSpecBuilder builder() -
id
The ID of the notification scheme. -
updateNotificationSchemeDetails
-
id
The ID of the notification scheme.- Returns:
this.
-
updateNotificationSchemeDetails
public UpdateNotificationSchemeOperationSpec updateNotificationSchemeDetails(@NotNull @NotNull UpdateNotificationSchemeDetails updateNotificationSchemeDetails) - Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-