java.lang.Object
com.atlassian.jira.rest.client.api.domain.Version
All Implemented Interfaces:
AddressableEntity, NamedEntity

public class Version extends Object implements AddressableEntity, NamedEntity
Complete information about a version defined for a JIRA project
Since:
v0.1
  • Constructor Details

    • Version

      public Version(URI self, @Nullable Long id, String name, String description, boolean archived, boolean released, @Nullable org.joda.time.DateTime releaseDate)
  • Method Details

    • getSelf

      public URI getSelf()
      Specified by:
      getSelf in interface AddressableEntity
      Returns:
      URI to this resource or (usually) its complete version - when partial representation is embedded in other resources
    • getId

      @Nullable public Long getId()
    • getDescription

      public String getDescription()
    • getName

      public String getName()
      Specified by:
      getName in interface NamedEntity
    • isArchived

      public boolean isArchived()
    • isReleased

      public boolean isReleased()
    • getReleaseDate

      @Nullable public org.joda.time.DateTime getReleaseDate()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object