Class GHRef.GHObject

  • Enclosing class:
    GHRef

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

      • GHObject

        public GHObject()
    • Method Detail

      • 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