java.lang.Object
io.github.primelib.jira4j.restv3.model.Version

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class Version extends Object
Version
  • Field Details

    • approvers

      protected List<VersionApprover> approvers
      If the expand option approvers is used, returns a list containing the approvers for this version.
    • archived

      protected Boolean archived
      Indicates that the version is archived. Optional when creating or updating a version.
    • description

      protected String description
      The description of the version. Optional when creating or updating a version. The maximum size is 16,384 bytes.
    • driver

      protected String driver
      If the expand option driver is used, returns the Atlassian account ID of the driver.
    • expand

      protected String expand
      Use [expand](em&gt;#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

      protected String id
      The ID of the version.
    • issuesStatusForFixVersion

      protected VersionIssuesStatusForFixVersion issuesStatusForFixVersion
    • moveUnfixedIssuesTo

      protected URI 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

      protected String name
      The unique name of the version. Required when creating a version. Optional when updating a version. The maximum length is 255 characters.
    • operations

      protected List<SimpleLink> operations
      If the expand option operations is used, returns the list of operations available for this version.
    • overdue

      protected Boolean overdue
      Indicates that the version is overdue.
    • project

      protected String project
      Deprecated. Use projectId.
    • projectId

      protected Long projectId
      The ID of the project to which this version is attached. Required when creating a version. Not applicable when updating a version.
    • releaseDate

      protected LocalDate releaseDate
      The release date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version.
    • released

      protected 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.
    • self

      protected URI self
      The URL of the version.
    • startDate

      protected LocalDate startDate
      The start date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version.
    • userReleaseDate

      protected 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.
    • userStartDate

      protected 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.
  • Constructor Details

    • Version

      public Version(Consumer<Version> spec)
      Constructs a validated instance of Version.
      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 of Version.

      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 option approvers 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 option driver is used, returns the Atlassian account ID of the driver.
      expand - Use [expand](em&gt;#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 - 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 option operations is used, returns the list of operations available for this version.
      overdue - Indicates that the version is overdue.
      project - Deprecated. Use projectId.
      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

      public static Version.VersionBuilder builder()
    • approvers

      public List<VersionApprover> approvers()
      If the expand option approvers is used, returns a list containing the approvers for this version.
    • archived

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

      public String description()
      The description of the version. Optional when creating or updating a version. The maximum size is 16,384 bytes.
    • driver

      public String driver()
      If the expand option driver is used, returns the Atlassian account ID of the driver.
    • expand

      public String expand()
      Use [expand](em&gt;#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

      public String id()
      The ID of the version.
    • issuesStatusForFixVersion

      public VersionIssuesStatusForFixVersion issuesStatusForFixVersion()
    • moveUnfixedIssuesTo

      public URI 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

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

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

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

      public String project()
      Deprecated. Use projectId.
    • projectId

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

      public LocalDate releaseDate()
      The release date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version.
    • released

      public 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.
    • self

      public URI self()
      The URL of the version.
    • startDate

      public LocalDate startDate()
      The start date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version.
    • userReleaseDate

      public 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.
    • userStartDate

      public 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.
    • approvers

      public Version approvers(List<VersionApprover> approvers)
      If the expand option approvers is used, returns a list containing the approvers for this version.
      Returns:
      this.
    • archived

      public Version archived(Boolean archived)
      Indicates that the version is archived. Optional when creating or updating a version.
      Returns:
      this.
    • description

      public Version description(String description)
      The description of the version. Optional when creating or updating a version. The maximum size is 16,384 bytes.
      Returns:
      this.
    • driver

      public Version driver(String driver)
      If the expand option driver is used, returns the Atlassian account ID of the driver.
      Returns:
      this.
    • expand

      public Version expand(String expand)
      Use [expand](em&gt;#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

      public Version id(String id)
      The ID of the version.
      Returns:
      this.
    • issuesStatusForFixVersion

      public Version issuesStatusForFixVersion(VersionIssuesStatusForFixVersion issuesStatusForFixVersion)
      Returns:
      this.
    • moveUnfixedIssuesTo

      public Version moveUnfixedIssuesTo(URI 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

      public Version name(String 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

      public Version operations(List<SimpleLink> operations)
      If the expand option operations is used, returns the list of operations available for this version.
      Returns:
      this.
    • overdue

      public Version overdue(Boolean overdue)
      Indicates that the version is overdue.
      Returns:
      this.
    • project

      public Version project(String project)
      Deprecated. Use projectId.
      Returns:
      this.
    • projectId

      public Version projectId(Long 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

      public Version releaseDate(LocalDate 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

      public Version released(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.
      Returns:
      this.
    • self

      public Version self(URI self)
      The URL of the version.
      Returns:
      this.
    • startDate

      public Version startDate(LocalDate 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

      public Version 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.
      Returns:
      this.
    • userStartDate

      public Version 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.
      Returns:
      this.
    • 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