Class Version
java.lang.Object
io.github.primelib.jira4j.restv3.model.Version
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class Version
extends Object
Version
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<VersionApprover>
If the expand optionapprovers
is used, returns a list containing the approvers for this version.protected Boolean
Indicates that the version is archived.protected String
The description of the version.protected String
If the expand optiondriver
is used, returns the Atlassian account ID of the driver.protected String
Use [expand](em>#expansion) to include additional information about version in the response.protected String
The ID of the version.protected VersionIssuesStatusForFixVersion
protected URI
The URL of the self link to the version to which all unfixed issues are moved when a version is released.protected String
The unique name of the version.protected List<SimpleLink>
If the expand optionoperations
is used, returns the list of operations available for this version.protected Boolean
Indicates that the version is overdue.protected String
Deprecated.protected Long
The ID of the project to which this version is attached.protected Boolean
Indicates that the version is released.protected LocalDate
The release date of the version.protected URI
The URL of the version.protected LocalDate
The start date of the version.protected String
The date on which work on this version is expected to finish, expressed in the instance's *Day/Month/Year Format* date format.protected String
The date on which work on this version is expected to start, expressed in the instance's *Day/Month/Year Format* date format. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Version()
Constructs a validated instance ofVersion
.Version
(List<VersionApprover> approvers, Boolean archived, String description, String driver, String expand, String id, VersionIssuesStatusForFixVersion issuesStatusForFixVersion, URI moveUnfixedIssuesTo, String name, List<SimpleLink> operations, Boolean overdue, String project, Long projectId, LocalDate releaseDate, Boolean released, URI self, LocalDate startDate, String userReleaseDate, String userStartDate) Constructs a validated instance ofVersion
. -
Method Summary
Modifier and TypeMethodDescriptionIf the expand optionapprovers
is used, returns a list containing the approvers for this version.approvers
(List<VersionApprover> approvers) If the expand optionapprovers
is used, returns a list containing the approvers for this version.archived()
Indicates that the version is archived.Indicates that the version is archived.static Version.VersionBuilder
builder()
protected boolean
The description of the version.description
(String description) The description of the version.driver()
If the expand optiondriver
is used, returns the Atlassian account ID of the driver.If the expand optiondriver
is used, returns the Atlassian account ID of the driver.boolean
expand()
Use [expand](em>#expansion) to include additional information about version in the response.Use [expand](em>#expansion) to include additional information about version in the response.int
hashCode()
id()
The ID of the version.The ID of the version.issuesStatusForFixVersion
(VersionIssuesStatusForFixVersion issuesStatusForFixVersion) The URL of the self link to the version to which all unfixed issues are moved when a version is released.moveUnfixedIssuesTo
(URI moveUnfixedIssuesTo) The URL of the self link to the version to which all unfixed issues are moved when a version is released.name()
The unique name of the version.The unique name of the version.If the expand optionoperations
is used, returns the list of operations available for this version.operations
(List<SimpleLink> operations) If the expand optionoperations
is used, returns the list of operations available for this version.overdue()
Indicates that the version is overdue.Indicates that the version is overdue.project()
Deprecated.Deprecated.The ID of the project to which this version is attached.The ID of the project to which this version is attached.released()
Indicates that the version is released.Indicates that the version is released.The release date of the version.releaseDate
(LocalDate releaseDate) The release date of the version.self()
The URL of the version.The URL of the version.The start date of the version.The start date of the version.toString()
The date on which work on this version is expected to finish, expressed in the instance's *Day/Month/Year Format* date format.userReleaseDate
(String userReleaseDate) The date on which work on this version is expected to finish, expressed in the instance's *Day/Month/Year Format* date format.The date on which work on this version is expected to start, expressed in the instance's *Day/Month/Year Format* date format.userStartDate
(String userStartDate) The date on which work on this version is expected to start, expressed in the instance's *Day/Month/Year Format* date format.
-
Field Details
-
approvers
If the expand optionapprovers
is used, returns a list containing the approvers for this version. -
archived
Indicates that the version is archived. Optional when creating or updating a version. -
description
The description of the version. Optional when creating or updating a version. The maximum size is 16,384 bytes. -
driver
If the expand optiondriver
is used, returns the Atlassian account ID of the driver. -
expand
Use [expand](em>#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 contains a count 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 approvers for this version. Optional for create and update. -
id
The ID of the version. -
issuesStatusForFixVersion
-
moveUnfixedIssuesTo
The URL of the self link to the version to which all unfixed issues are moved when a version is released. Not applicable when creating a version. Optional when updating a version. -
name
The unique name of the version. Required when creating a version. Optional when updating a version. The maximum length is 255 characters. -
operations
If the expand optionoperations
is used, returns the list of operations available for this version. -
overdue
Indicates that the version is overdue. -
project
Deprecated. UseprojectId
. -
projectId
The ID of the project to which this version is attached. Required when creating a version. Not applicable when updating a version. -
releaseDate
The release date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version. -
released
Indicates that the version is released. If the version is released a request to release again is ignored. Not applicable when creating a version. Optional when updating a version. -
self
The URL of the version. -
startDate
The start date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version. -
userReleaseDate
The date on which work on this version is expected to finish, expressed in the instance's *Day/Month/Year Format* date format. -
userStartDate
The date on which work on this version is expected to start, expressed in the instance's *Day/Month/Year Format* date format.
-
-
Constructor Details
-
Version
Constructs a validated instance ofVersion
.- Parameters:
spec
- the specification to process
-
Version
@Internal public Version(List<VersionApprover> approvers, Boolean archived, String description, String driver, String expand, String id, VersionIssuesStatusForFixVersion issuesStatusForFixVersion, URI moveUnfixedIssuesTo, String name, List<SimpleLink> operations, Boolean overdue, String project, Long projectId, LocalDate releaseDate, Boolean released, URI self, LocalDate startDate, String userReleaseDate, String userStartDate) Constructs a validated instance ofVersion
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Version(Consumer)
instead.- Parameters:
approvers
- If the expand optionapprovers
is used, returns a list containing the approvers for this version.archived
- Indicates that the version is archived. Optional when creating or updating a version.description
- The description of the version. Optional when creating or updating a version. The maximum size is 16,384 bytes.driver
- If the expand optiondriver
is used, returns the Atlassian account ID of the driver.expand
- Use [expand](em>#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 contains a count 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 approvers for this version. Optional for create and update.id
- The ID of the version.issuesStatusForFixVersion
- issuesStatusForFixVersionmoveUnfixedIssuesTo
- The URL of the self link to the version to which all unfixed issues are moved when a version is released. Not applicable when creating a version. Optional when updating a version.name
- The unique name of the version. Required when creating a version. Optional when updating a version. The maximum length is 255 characters.operations
- If the expand optionoperations
is used, returns the list of operations available for this version.overdue
- Indicates that the version is overdue.project
- Deprecated. UseprojectId
.projectId
- The ID of the project to which this version is attached. Required when creating a version. Not applicable when updating a version.releaseDate
- The release date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version.released
- Indicates that the version is released. If the version is released a request to release again is ignored. Not applicable when creating a version. Optional when updating a version.self
- The URL of the version.startDate
- The start date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version.userReleaseDate
- The date on which work on this version is expected to finish, expressed in the instance's *Day/Month/Year Format* date format.userStartDate
- The date on which work on this version is expected to start, expressed in the instance's *Day/Month/Year Format* date format.
-
Version
protected Version()
-
-
Method Details
-
builder
-
approvers
If the expand optionapprovers
is used, returns a list containing the approvers for this version. -
archived
Indicates that the version is archived. Optional when creating or updating a version. -
description
The description of the version. Optional when creating or updating a version. The maximum size is 16,384 bytes. -
driver
If the expand optiondriver
is used, returns the Atlassian account ID of the driver. -
expand
Use [expand](em>#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 contains a count 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 approvers for this version. Optional for create and update. -
id
The ID of the version. -
issuesStatusForFixVersion
-
moveUnfixedIssuesTo
The URL of the self link to the version to which all unfixed issues are moved when a version is released. Not applicable when creating a version. Optional when updating a version. -
name
The unique name of the version. Required when creating a version. Optional when updating a version. The maximum length is 255 characters. -
operations
If the expand optionoperations
is used, returns the list of operations available for this version. -
overdue
Indicates that the version is overdue. -
project
Deprecated. UseprojectId
. -
projectId
The ID of the project to which this version is attached. Required when creating a version. Not applicable when updating a version. -
releaseDate
The release date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version. -
released
Indicates that the version is released. If the version is released a request to release again is ignored. Not applicable when creating a version. Optional when updating a version. -
self
The URL of the version. -
startDate
The start date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version. -
userReleaseDate
The date on which work on this version is expected to finish, expressed in the instance's *Day/Month/Year Format* date format. -
userStartDate
The date on which work on this version is expected to start, expressed in the instance's *Day/Month/Year Format* date format. -
approvers
If the expand optionapprovers
is used, returns a list containing the approvers for this version.- Returns:
this
.
-
archived
Indicates that the version is archived. Optional when creating or updating a version.- Returns:
this
.
-
description
The description of the version. Optional when creating or updating a version. The maximum size is 16,384 bytes.- Returns:
this
.
-
driver
If the expand optiondriver
is used, returns the Atlassian account ID of the driver.- Returns:
this
.
-
expand
Use [expand](em>#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 contains a count 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 approvers for this version. Optional for create and update.- Returns:
this
.
-
id
The ID of the version.- Returns:
this
.
-
issuesStatusForFixVersion
public Version issuesStatusForFixVersion(VersionIssuesStatusForFixVersion issuesStatusForFixVersion) - Returns:
this
.
-
moveUnfixedIssuesTo
The URL of the self link to the version to which all unfixed issues are moved when a version is released. Not applicable when creating a version. Optional when updating a version.- Returns:
this
.
-
name
The unique name of the version. Required when creating a version. Optional when updating a version. The maximum length is 255 characters.- Returns:
this
.
-
operations
If the expand optionoperations
is used, returns the list of operations available for this version.- Returns:
this
.
-
overdue
Indicates that the version is overdue.- Returns:
this
.
-
project
Deprecated. UseprojectId
.- Returns:
this
.
-
projectId
The ID of the project to which this version is attached. Required when creating a version. Not applicable when updating a version.- Returns:
this
.
-
releaseDate
The release date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version.- Returns:
this
.
-
released
Indicates that the version is released. If the version is released a request to release again is ignored. Not applicable when creating a version. Optional when updating a version.- Returns:
this
.
-
self
The URL of the version.- Returns:
this
.
-
startDate
The start date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version.- Returns:
this
.
-
userReleaseDate
The date on which work on this version is expected to finish, expressed in the instance's *Day/Month/Year Format* date format.- Returns:
this
.
-
userStartDate
The date on which work on this version is expected to start, expressed in the instance's *Day/Month/Year Format* date format.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-