Class CreateNotificationSchemeOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.CreateNotificationSchemeOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateNotificationSchemeOperationSpec
extends Object
CreateNotificationSchemeSpec
Specification for the CreateNotificationScheme operation.
Create 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
ConstructorsModifierConstructorDescriptionprotectedCreateNotificationSchemeOperationSpec(CreateNotificationSchemeDetails createNotificationSchemeDetails) Constructs a validated instance ofCreateNotificationSchemeOperationSpec.Constructs a validated instance ofCreateNotificationSchemeOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected boolean@NotNull CreateNotificationSchemeDetailscreateNotificationSchemeDetails(@NotNull CreateNotificationSchemeDetails createNotificationSchemeDetails) booleaninthashCode()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
-
CreateNotificationSchemeOperationSpec
@Internal public CreateNotificationSchemeOperationSpec(Consumer<CreateNotificationSchemeOperationSpec> spec) Constructs a validated instance ofCreateNotificationSchemeOperationSpec.- Parameters:
spec- the specification to process
-
CreateNotificationSchemeOperationSpec
@Internal public CreateNotificationSchemeOperationSpec(CreateNotificationSchemeDetails createNotificationSchemeDetails) Constructs a validated instance ofCreateNotificationSchemeOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
createNotificationSchemeDetails-
-
CreateNotificationSchemeOperationSpec
protected CreateNotificationSchemeOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static CreateNotificationSchemeOperationSpec.CreateNotificationSchemeOperationSpecBuilder builder() -
createNotificationSchemeDetails
-
createNotificationSchemeDetails
public CreateNotificationSchemeOperationSpec createNotificationSchemeDetails(@NotNull @NotNull CreateNotificationSchemeDetails createNotificationSchemeDetails) - Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-