Interface Limits

All Known Implementing Classes:
Limits.Throttled

@Immutable public interface Limits
GitHub Rate Limit API.
Since:
0.6
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Throttled Limits.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Resource name.
    static final String
    Resource name.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String resource)
    Get limit for the given resource.
    GitHub we're in.
  • Field Details

  • Method Details

    • github

      GitHub github()
      GitHub we're in.
      Returns:
      GitHub
    • get

      Limit get(String resource)
      Get limit for the given resource.
      Parameters:
      resource - Name of resource
      Returns:
      Limit