Class SessionQuotaApi
java.lang.Object
com.github.copilot.generated.rpc.SessionQuotaApi
API methods for the
quota namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionget()Gets the session's current quota and account projection without making a network request.refresh()Refreshes the session's provider model catalog bypassing its cache, folds quota snapshots into session state, and returns the updated projection.Returns and clears the session's pending quota warnings.
-
Method Details
-
get
Gets the session's current quota and account projection without making a network request.- Since:
- 1.0.0
-
refresh
Refreshes the session's provider model catalog bypassing its cache, folds quota snapshots into session state, and returns the updated projection. Failures leave the last known quota intact.- Since:
- 1.0.0
-
takeWarnings
Returns and clears the session's pending quota warnings. Reading or refreshing quota does not drain warnings.- Since:
- 1.0.0
-