Class CreateIssueOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.CreateIssueOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateIssueOperationSpec
extends Object
CreateIssueSpec
Specification for the CreateIssue operation.
Create issue
-
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
CreateIssueOperationSpec
(IssueUpdateDetails issueUpdateDetails, Boolean updateHistory) Constructs a validated instance ofCreateIssueOperationSpec
.Constructs a validated instance ofCreateIssueOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull IssueUpdateDetails
issueUpdateDetails
(@NotNull IssueUpdateDetails issueUpdateDetails) toString()
@Nullable Boolean
Whether the project in which the issue is created is added to the user's **Recently viewed** project list, as shown under **Projects** in Jira.updateHistory
(@Nullable Boolean updateHistory) Whether the project in which the issue is created is added to the user's **Recently viewed** project list, as shown under **Projects** in Jira.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
-
CreateIssueOperationSpec
Constructs a validated instance ofCreateIssueOperationSpec
.- Parameters:
spec
- the specification to process
-
CreateIssueOperationSpec
@Internal public CreateIssueOperationSpec(IssueUpdateDetails issueUpdateDetails, Boolean updateHistory) Constructs a validated instance ofCreateIssueOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
issueUpdateDetails
-updateHistory
- Whether the project in which the issue is created is added to the user's **Recently viewed** project list, as shown under **Projects** in Jira. When provided, the issue type and request type are added to the user's history for a project. These values are then used to provide defaults on the issue create screen.
-
CreateIssueOperationSpec
protected CreateIssueOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
issueUpdateDetails
-
updateHistory
Whether the project in which the issue is created is added to the user's **Recently viewed** project list, as shown under **Projects** in Jira. When provided, the issue type and request type are added to the user's history for a project. These values are then used to provide defaults on the issue create screen. -
issueUpdateDetails
public CreateIssueOperationSpec issueUpdateDetails(@NotNull @NotNull IssueUpdateDetails issueUpdateDetails) - Returns:
this
.
-
updateHistory
Whether the project in which the issue is created is added to the user's **Recently viewed** project list, as shown under **Projects** in Jira. When provided, the issue type and request type are added to the user's history for a project. These values are then used to provide defaults on the issue create screen.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-