Class VersionRelatedWork

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

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

    • category

      protected String category
      The category of the related work
    • issueId

      protected Long issueId
      The title of the related work
    • relatedWorkId

      protected String relatedWorkId
      The id of the related work. For the native release note related work item, this will be null, and Rest API does not support updating it.
    • title

      protected String title
      The title of the related work
    • url

      protected URI url
      The URL of the related work
  • Constructor Details

    • VersionRelatedWork

      public VersionRelatedWork(Consumer<VersionRelatedWork> spec)
      Constructs a validated instance of VersionRelatedWork.
      Parameters:
      spec - the specification to process
    • VersionRelatedWork

      @Internal public VersionRelatedWork(String category, Long issueId, String relatedWorkId, String title, URI url)
      Constructs a validated instance of VersionRelatedWork.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using VersionRelatedWork(Consumer) instead.

      Parameters:
      category - The category of the related work
      issueId - The title of the related work
      relatedWorkId - The id of the related work. For the native release note related work item, this will be null, and Rest API does not support updating it.
      title - The title of the related work
      url - The URL of the related work
    • VersionRelatedWork

      protected VersionRelatedWork()
  • Method Details

    • builder

    • category

      public String category()
      The category of the related work
    • issueId

      public Long issueId()
      The title of the related work
    • relatedWorkId

      public String relatedWorkId()
      The id of the related work. For the native release note related work item, this will be null, and Rest API does not support updating it.
    • title

      public String title()
      The title of the related work
    • url

      public URI url()
      The URL of the related work
    • category

      public VersionRelatedWork category(String category)
      The category of the related work
      Returns:
      this.
    • issueId

      public VersionRelatedWork issueId(Long issueId)
      The title of the related work
      Returns:
      this.
    • relatedWorkId

      public VersionRelatedWork relatedWorkId(String relatedWorkId)
      The id of the related work. For the native release note related work item, this will be null, and Rest API does not support updating it.
      Returns:
      this.
    • title

      public VersionRelatedWork title(String title)
      The title of the related work
      Returns:
      this.
    • url

      public VersionRelatedWork url(URI url)
      The URL of the related work
      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