Class UpdateProjectEmailOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.UpdateProjectEmailOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateProjectEmailOperationSpec
extends Object
UpdateProjectEmailSpec
Specification for the UpdateProjectEmail operation.
Set project's sender email
-
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
UpdateProjectEmailOperationSpec
(Long projectId, ProjectEmailAddress projectEmailAddress) Constructs a validated instance ofUpdateProjectEmailOperationSpec
.Constructs a validated instance ofUpdateProjectEmailOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull ProjectEmailAddress
The project's sender email address to be set.projectEmailAddress
(@NotNull ProjectEmailAddress projectEmailAddress) The project's sender email address to be set.@NotNull Long
The project ID.The project ID.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
-
UpdateProjectEmailOperationSpec
Constructs a validated instance ofUpdateProjectEmailOperationSpec
.- Parameters:
spec
- the specification to process
-
UpdateProjectEmailOperationSpec
@Internal public UpdateProjectEmailOperationSpec(Long projectId, ProjectEmailAddress projectEmailAddress) Constructs a validated instance ofUpdateProjectEmailOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
projectId
- The project ID.projectEmailAddress
- The project's sender email address to be set.
-
UpdateProjectEmailOperationSpec
protected UpdateProjectEmailOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
projectId
The project ID. -
projectEmailAddress
The project's sender email address to be set. -
projectId
The project ID.- Returns:
this
.
-
projectEmailAddress
public UpdateProjectEmailOperationSpec projectEmailAddress(@NotNull @NotNull ProjectEmailAddress projectEmailAddress) The project's sender email address to be set.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-