Class GHLabel

    • Constructor Detail

      • GHLabel

        public GHLabel()
    • Method Detail

      • getUrl

        public String getUrl()
        Gets url.
        Returns:
        the url
      • getName

        public String getName()
        Gets name.
        Returns:
        the name
      • getColor

        public String getColor()
        Color code without leading '#', such as 'f29513'
        Returns:
        the color
      • setColor

        public void setColor​(String newColor)
                      throws IOException
        Sets color.
        Parameters:
        newColor - 6-letter hex color code, like "f29513"
        Throws:
        IOException - the io exception
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object