Class GHProjectCard


  • public class GHProjectCard
    extends GHObject
    The type GHProjectCard.
    Author:
    Gunnar Skjold
    • Constructor Detail

      • GHProjectCard

        public GHProjectCard()
    • Method Detail

      • wrap

        @Deprecated
        public GHProjectCard wrap​(GitHub root)
        Deprecated.
        Wrap gh project card.
        Parameters:
        root - the root
        Returns:
        the gh project card
      • getNote

        public String getNote()
        Gets note.
        Returns:
        the note
      • getCreator

        public GHUser getCreator()
        Gets creator.
        Returns:
        the creator
      • getContentUrl

        public URL getContentUrl()
        Gets content url.
        Returns:
        the content url
      • getProjectUrl

        public URL getProjectUrl()
        Gets project url.
        Returns:
        the project url
      • getColumnUrl

        public URL getColumnUrl()
        Gets column url.
        Returns:
        the column url
      • isArchived

        public boolean isArchived()
        Is archived boolean.
        Returns:
        the boolean
      • setNote

        public void setNote​(String note)
                     throws IOException
        Sets note.
        Parameters:
        note - the note
        Throws:
        IOException - the io exception
      • setArchived

        public void setArchived​(boolean archived)
                         throws IOException
        Sets archived.
        Parameters:
        archived - the archived
        Throws:
        IOException - the io exception
      • getApiRoute

        protected String getApiRoute()
        Gets api route.
        Returns:
        the api route
      • 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