Class VersionDto

java.lang.Object
de.qytera.qtaf.xray.dto.jira.VersionDto
Direct Known Subclasses:
VersionCloudDto, VersionServerDto

public abstract class VersionDto extends Object
The response when retrieving project versions.
See Also:
  • Constructor Details

    • VersionDto

      public VersionDto()
  • Method Details

    • getExpand

      public String getExpand()
      Use expand 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.
    • getSelf

      public String getSelf()
      The URL of the version.
    • getId

      public String getId()
      The ID of the version.
    • getDescription

      public String getDescription()
      The description of the version. Optional when creating or updating a version.
    • getName

      public String getName()
      The unique name of the version. Required when creating a version. Optional when updating a version. The maximum length is 255 characters.
    • getArchived

      public Boolean getArchived()
      Indicates that the version is archived. Optional when creating or updating a version.
    • getReleased

      public Boolean getReleased()
      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.
    • getOverdue

      public Boolean getOverdue()
      Indicates that the version is overdue.
    • getUserStartDate

      public String getUserStartDate()
      The date on which work on this version is expected to start, expressed in the instance's Day/Month/Year format date format.
    • getUserReleaseData

      public String getUserReleaseData()
      The date on which work on this version is expected to finish, expressed in the instance's Day/Month/Year Format date format.
    • getProjectId

      public Integer getProjectId()
      The ID of the project to which this version is attached. Required when creating a version. Not applicable when updating a version.
    • getMoveUnfixedIssuesTo

      public String getMoveUnfixedIssuesTo()
      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.
    • getOperations

      public List<SimpleLinkDto> getOperations()
      If the expand option operations is used, returns the list of operations available for this version.
    • setExpand

      public void setExpand(String expand)
      Use expand 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.
    • setSelf

      public void setSelf(String self)
      The URL of the version.
    • setId

      public void setId(String id)
      The ID of the version.
    • setDescription

      public void setDescription(String description)
      The description of the version. Optional when creating or updating a version.
    • setName

      public void setName(String name)
      The unique name of the version. Required when creating a version. Optional when updating a version. The maximum length is 255 characters.
    • setArchived

      public void setArchived(Boolean archived)
      Indicates that the version is archived. Optional when creating or updating a version.
    • setReleased

      public void setReleased(Boolean 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.
    • setOverdue

      public void setOverdue(Boolean overdue)
      Indicates that the version is overdue.
    • setUserStartDate

      public void setUserStartDate(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.
    • setUserReleaseData

      public void setUserReleaseData(String userReleaseData)
      The date on which work on this version is expected to finish, expressed in the instance's Day/Month/Year Format date format.
    • setProjectId

      public void setProjectId(Integer projectId)
      The ID of the project to which this version is attached. Required when creating a version. Not applicable when updating a version.
    • setMoveUnfixedIssuesTo

      public void setMoveUnfixedIssuesTo(String 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.
    • setOperations

      public void setOperations(List<SimpleLinkDto> operations)
      If the expand option operations is used, returns the list of operations available for this version.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object