File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed
Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 160
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-f35d75f04023f8de20cc787ab5202c4853a79ea14fa8e639f598e034b312207f .yml
3- openapi_spec_hash : 0b2bf8b46a5bb29402fb9ae08ce6314f
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-b40906da1a429be933f59cd9c3b2f7197aef9b302033558e7cbb65579357240a .yml
3+ openapi_spec_hash : bc0aec8cac7bfb2a69792bb43cfe50d2
44config_hash : d3267594264bfb76d2ee7e881d5f8a5a
Original file line number Diff line number Diff line change 1010
1111
1212class Pagination (BaseModel ):
13- """Pagination information for the response"""
13+ """
14+ Pagination information for the response.
15+ Token format: "NEXT_PAGE/TOTAL_PAGES/TOTAL_COUNT" (e.g., "2/40/1000").
16+ Use -1 for unknown values (e.g., "2/-1/-1" when totals unavailable).
17+ Empty token means no more pages.
18+ """
1419
1520 next_token : Optional [str ] = FieldInfo (alias = "nextToken" , default = None )
1621 """Token passed for retrieving the next set of results.
@@ -29,10 +34,18 @@ class Repository(BaseModel):
2934
3035class RunnerSearchRepositoriesResponse (BaseModel ):
3136 last_page : Optional [int ] = FieldInfo (alias = "lastPage" , default = None )
32- """Last page in the responses"""
37+ """Deprecated: Use pagination token instead.
38+
39+ Total pages can be extracted from token.
40+ """
3341
3442 pagination : Optional [Pagination ] = None
35- """Pagination information for the response"""
43+ """
44+ Pagination information for the response. Token format:
45+ "NEXT_PAGE/TOTAL_PAGES/TOTAL_COUNT" (e.g., "2/40/1000"). Use -1 for unknown
46+ values (e.g., "2/-1/-1" when totals unavailable). Empty token means no more
47+ pages.
48+ """
3649
3750 repositories : Optional [List [Repository ]] = None
3851 """List of repositories matching the search criteria"""
You can’t perform that action at this time.
0 commit comments