Klasse GHRepositoryCache

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

public class GHRepositoryCache extends GHBase
This class represents a GitHub Repository Cache. It provides methods for fetching data about the repository cache such as its full name, active caches size in bytes, and active caches count.
  • Konstruktordetails

    • GHRepositoryCache

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

    • getActiveCachesCount

      public int getActiveCachesCount()
      Returns the active caches count of the repository cache.
      Gibt zurück:
      the active caches count of the repository cache
    • getActiveCachesSizeInBytes

      public int getActiveCachesSizeInBytes()
      Returns the active caches size in bytes of the repository cache.
      Gibt zurück:
      the active caches size in bytes of the repository cache
    • getFullName

      public String getFullName()
      Returns the full name of the repository cache.
      Gibt zurück:
      the full name of the repository cache