Class GHRef.GHObject

java.lang.Object
org.kohsuke.github.GHRef.GHObject
Enclosing class:
GHRef

public static class GHRef.GHObject extends Object
The type GHObject.
  • Constructor Details

    • GHObject

      public GHObject()
      Create default GHObject instance
  • Method Details

    • getType

      public String getType()
      Type of the object, such as "commit".
      Returns:
      the type
    • getSha

      public String getSha()
      SHA1 of this object.
      Returns:
      the sha
    • getUrl

      public URL getUrl()
      API URL to this Git data, such as https://api.github.com/repos/jenkinsci/jenkins/git/commits/b72322675eb0114363a9a86e9ad5a170d1d07ac0
      Returns:
      the url