Class GenerateRepoOption


  • public class GenerateRepoOption
    extends java.lang.Object
    GenerateRepoOption options when creating repository using a template
    • Constructor Detail

      • GenerateRepoOption

        public GenerateRepoOption()
    • Method Detail

      • isAvatar

        public java.lang.Boolean isAvatar()
        include avatar of the template repo
        Returns:
        avatar
      • setAvatar

        public void setAvatar​(java.lang.Boolean avatar)
      • defaultBranch

        public GenerateRepoOption defaultBranch​(java.lang.String defaultBranch)
      • getDefaultBranch

        public java.lang.String getDefaultBranch()
        Default branch of the new repository
        Returns:
        defaultBranch
      • setDefaultBranch

        public void setDefaultBranch​(java.lang.String defaultBranch)
      • getDescription

        public java.lang.String getDescription()
        Description of the repository to create
        Returns:
        description
      • setDescription

        public void setDescription​(java.lang.String description)
      • isGitContent

        public java.lang.Boolean isGitContent()
        include git content of default branch in template repo
        Returns:
        gitContent
      • setGitContent

        public void setGitContent​(java.lang.Boolean gitContent)
      • isGitHooks

        public java.lang.Boolean isGitHooks()
        include git hooks in template repo
        Returns:
        gitHooks
      • setGitHooks

        public void setGitHooks​(java.lang.Boolean gitHooks)
      • isLabels

        public java.lang.Boolean isLabels()
        include labels in template repo
        Returns:
        labels
      • setLabels

        public void setLabels​(java.lang.Boolean labels)
      • getName

        public java.lang.String getName()
        Name of the repository to create
        Returns:
        name
      • setName

        public void setName​(java.lang.String name)
      • getOwner

        public java.lang.String getOwner()
        The organization or person who will own the new repository
        Returns:
        owner
      • setOwner

        public void setOwner​(java.lang.String owner)
      • isPrivate

        public java.lang.Boolean isPrivate()
        Whether the repository is private
        Returns:
        _private
      • setPrivate

        public void setPrivate​(java.lang.Boolean _private)
      • isTopics

        public java.lang.Boolean isTopics()
        include topics in template repo
        Returns:
        topics
      • setTopics

        public void setTopics​(java.lang.Boolean topics)
      • isWebhooks

        public java.lang.Boolean isWebhooks()
        include webhooks in template repo
        Returns:
        webhooks
      • setWebhooks

        public void setWebhooks​(java.lang.Boolean webhooks)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object