Class Commitstatus

java.lang.Object
se.bjurr.bitbucketcloud.gen.model.ModelObject
se.bjurr.bitbucketcloud.gen.model.Commitstatus

@Generated(value="org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date="2025-07-17T16:07:08.420911588+02:00[Europe/Stockholm]", comments="Generator version: 7.14.0") public class Commitstatus extends ModelObject
  • Constructor Details

    • Commitstatus

      public Commitstatus()
    • Commitstatus

      public Commitstatus(String type)
  • Method Details

    • description

      public Commitstatus description(String description)
      A description of the build (e.g. \"Unit tests in Bamboo\")
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • updatedOn

      public Commitstatus updatedOn(Date updatedOn)
    • getUpdatedOn

      public Date getUpdatedOn()
    • setUpdatedOn

      public void setUpdatedOn(Date updatedOn)
    • refname

      public Commitstatus refname(String refname)
      The name of the ref that pointed to this commit at the time the status object was created. Note that this the ref may since have moved off of the commit. This optional field can be useful for build systems whose build triggers and configuration are branch-dependent (e.g. a Pipeline build). It is legitimate for this field to not be set, or even apply (e.g. a static linting job).
    • getRefname

      public String getRefname()
    • setRefname

      public void setRefname(String refname)
    • key

      public Commitstatus key(String key)
      An identifier for the status that's unique to its type (current \"build\" is the only supported type) and the vendor, e.g. BB-DEPLOY
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • createdOn

      public Commitstatus createdOn(Date createdOn)
    • getCreatedOn

      public Date getCreatedOn()
    • setCreatedOn

      public void setCreatedOn(Date createdOn)
    • url

      public Commitstatus url(String url)
      A URL linking back to the vendor or build system, for providing more information about whatever process produced this status. Accepts context variables `repository` and `commit` that Bitbucket will evaluate at runtime whenever at runtime. For example, one could use https://foo.com/builds/{repository.full_name} which Bitbucket will turn into https://foo.com/builds/foo/bar at render time.
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • name

      public Commitstatus name(String name)
      An identifier for the build itself, e.g. BB-DEPLOY-1
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • links

      public Commitstatus links(CommitstatusAllOfLinks links)
    • getLinks

      @Valid public @Valid CommitstatusAllOfLinks getLinks()
    • setLinks

      public void setLinks(CommitstatusAllOfLinks links)
    • uuid

      public Commitstatus uuid(String uuid)
      The commit status' id.
    • getUuid

      public String getUuid()
    • setUuid

      public void setUuid(String uuid)
    • state

      public Commitstatus state(Commitstatus.StateEnum state)
      Provides some indication of the status of this commit
    • getState

      public Commitstatus.StateEnum getState()
    • setState

      public void setState(Commitstatus.StateEnum state)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class ModelObject