java.lang.Object
org.kohsuke.github.GHRef.GHObject
- Enclosing class:
- GHRef
The type GHObject.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
GHObject
public GHObject()Create default GHObject instance
-
-
Method Details
-
getType
Type of the object, such as "commit".- Returns:
- the type
-
getSha
SHA1 of this object.- Returns:
- the sha
-
getUrl
API URL to this Git data, such as https://api.github.com/repos/jenkinsci/jenkins/git/commits/b72322675eb0114363a9a86e9ad5a170d1d07ac0- Returns:
- the url
-