Class GHRepository.Contributor

  • Enclosing class:
    GHRepository

    public static class GHRepository.Contributor
    extends GHUser
    The type Contributor.
    • Constructor Detail

      • Contributor

        public Contributor()
    • Method Detail

      • getContributions

        public int getContributions()
        Gets contributions.
        Returns:
        the contributions
      • hashCode

        public int hashCode()
        Hash code.
        Overrides:
        hashCode in class GHUser
        Returns:
        the int
      • equals

        public boolean equals​(Object obj)
        Equals.
        Overrides:
        equals in class GHUser
        Parameters:
        obj - the obj
        Returns:
        true, if successful
      • getRoot

        @Deprecated
        public GitHub getRoot()
        Deprecated.
        For access to the GitHub instance, use a local copy instead of pulling it out of objects.
        Get the root GitHub instance for this object.
        Returns:
        the root GitHub instance