Class VersionApprover
java.lang.Object
io.github.primelib.jira4j.restv2.model.VersionApprover
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class VersionApprover
extends Object
VersionApprover
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The Atlassian account ID of the approver.protected String
A description of why the user is declining the approval.protected String
A description of what the user is approving within the specified version.protected String
The status of the approval, which can be *PENDING*, *APPROVED*, or *DECLINED* -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
VersionApprover
(String accountId, String declineReason, String description, String status) Constructs a validated instance ofVersionApprover
.Constructs a validated instance ofVersionApprover
. -
Method Summary
Modifier and TypeMethodDescriptionThe Atlassian account ID of the approver.The Atlassian account ID of the approver.builder()
protected boolean
A description of why the user is declining the approval.declineReason
(String declineReason) A description of why the user is declining the approval.A description of what the user is approving within the specified version.description
(String description) A description of what the user is approving within the specified version.boolean
int
hashCode()
status()
The status of the approval, which can be *PENDING*, *APPROVED*, or *DECLINED*The status of the approval, which can be *PENDING*, *APPROVED*, or *DECLINED*toString()
-
Field Details
-
accountId
The Atlassian account ID of the approver. -
declineReason
A description of why the user is declining the approval. -
description
A description of what the user is approving within the specified version. -
status
The status of the approval, which can be *PENDING*, *APPROVED*, or *DECLINED*
-
-
Constructor Details
-
VersionApprover
Constructs a validated instance ofVersionApprover
.- Parameters:
spec
- the specification to process
-
VersionApprover
@Internal public VersionApprover(String accountId, String declineReason, String description, String status) Constructs a validated instance ofVersionApprover
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
VersionApprover(Consumer)
instead.- Parameters:
accountId
- The Atlassian account ID of the approver.declineReason
- A description of why the user is declining the approval.description
- A description of what the user is approving within the specified version.status
- The status of the approval, which can be *PENDING*, *APPROVED*, or *DECLINED*
-
VersionApprover
protected VersionApprover()
-
-
Method Details
-
builder
-
accountId
The Atlassian account ID of the approver. -
declineReason
A description of why the user is declining the approval. -
description
A description of what the user is approving within the specified version. -
status
The status of the approval, which can be *PENDING*, *APPROVED*, or *DECLINED* -
accountId
The Atlassian account ID of the approver.- Returns:
this
.
-
declineReason
A description of why the user is declining the approval.- Returns:
this
.
-
description
A description of what the user is approving within the specified version.- Returns:
this
.
-
status
The status of the approval, which can be *PENDING*, *APPROVED*, or *DECLINED*- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-