Klasse GHGitignoreTemplate

java.lang.Object
de.coho04.githubapi.bases.GHBase
de.coho04.githubapi.entities.GHGitignoreTemplate
Alle implementierten Schnittstellen:
HttpRequestInterface, JSONHelper

public class GHGitignoreTemplate extends GHBase
This class represents a GitHub Gitignore Template. It provides methods for fetching data about the gitignore template such as its name and source.
  • Konstruktordetails

    • GHGitignoreTemplate

      public GHGitignoreTemplate(org.json.JSONObject jsonObject)
      Constructs a new GHGitignoreTemplate instance with the provided JSON object.
      Parameter:
      jsonObject - the JSON object containing the gitignore template data
  • Methodendetails

    • getName

      public String getName()
      Returns the name of the gitignore template.
      Gibt zurück:
      the name of the gitignore template
    • getSource

      public String getSource()
      Returns the source of the gitignore template.
      Gibt zurück:
      the source of the gitignore template