Class GetVersionOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetVersionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetVersionOperationSpec
extends Object
GetVersionSpec
Specification for the GetVersion operation.
Get version
-
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
GetVersionOperationSpec
(String id, String expand) Constructs a validated instance ofGetVersionOperationSpec
.Constructs a validated instance ofGetVersionOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@Nullable String
expand()
Use [expand](#expansion) to include additional information about version in the response.Use [expand](#expansion) to include additional information about version in the response.int
hashCode()
@NotNull String
id()
The ID of the version.The ID of the version.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
-
GetVersionOperationSpec
Constructs a validated instance ofGetVersionOperationSpec
.- Parameters:
spec
- the specification to process
-
GetVersionOperationSpec
Constructs a validated instance ofGetVersionOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the version.expand
- Use [expand](#expansion) to include additional information about version in the response. This parameter accepts a comma-separated list. Expand options include: *operations
Returns the list of operations available for this version. *issuesstatus
Returns the count of issues in this version for each of the status categories *to do*, *in progress*, *done*, and *unmapped*. The *unmapped* property represents the number of issues with a status other than *to do*, *in progress*, and *done*. *driver
Returns the Atlassian account ID of the version driver. *approvers
Returns a list containing the Atlassian account IDs of approvers for this version.
-
GetVersionOperationSpec
protected GetVersionOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
id
The ID of the version. -
expand
Use [expand](#expansion) to include additional information about version in the response. This parameter accepts a comma-separated list. Expand options include: *operations
Returns the list of operations available for this version. *issuesstatus
Returns the count of issues in this version for each of the status categories *to do*, *in progress*, *done*, and *unmapped*. The *unmapped* property represents the number of issues with a status other than *to do*, *in progress*, and *done*. *driver
Returns the Atlassian account ID of the version driver. *approvers
Returns a list containing the Atlassian account IDs of approvers for this version. -
id
The ID of the version.- Returns:
this
.
-
expand
Use [expand](#expansion) to include additional information about version in the response. This parameter accepts a comma-separated list. Expand options include: *operations
Returns the list of operations available for this version. *issuesstatus
Returns the count of issues in this version for each of the status categories *to do*, *in progress*, *done*, and *unmapped*. The *unmapped* property represents the number of issues with a status other than *to do*, *in progress*, and *done*. *driver
Returns the Atlassian account ID of the version driver. *approvers
Returns a list containing the Atlassian account IDs of approvers for this version.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-