Class GetVersionOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.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 Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGetVersionOperationSpec(String id, String expand) Constructs a validated instance ofGetVersionOperationSpec.Constructs a validated instance ofGetVersionOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanboolean@Nullable Stringexpand()Use [expand](#expansion) to include additional information about version in the response.Use [expand](#expansion) to include additional information about version in the response.inthashCode()@NotNull Stringid()The ID of the version.The ID of the version.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
-
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: *operationsReturns the list of operations available for this version. *issuesstatusReturns 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*. *driverReturns the Atlassian account ID of the version driver. *approversReturns 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: *operationsReturns the list of operations available for this version. *issuesstatusReturns 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*. *driverReturns the Atlassian account ID of the version driver. *approversReturns 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: *operationsReturns the list of operations available for this version. *issuesstatusReturns 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*. *driverReturns the Atlassian account ID of the version driver. *approversReturns a list containing the Atlassian account IDs of approvers for this version.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-