Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 2.07 KB

File metadata and controls

32 lines (23 loc) · 2.07 KB

CursorPagination

Details for controlling the pagination of the API response. This object allows you to define the starting point for retrieving records, how many records to skip, and the size of the result set.

Properties

Name Type Description Notes
ingestion_time int The timestamp indicating the starting point from which data was ingested. The format of the timestamp is in Unix epoch Time. For example, `Thursday, 5 September 2024 07:03:13 GMT` can be represented as `1725519793`. [optional]
offset int The number of records to be skipped from the `ingestionTime`. For example: when `offset` is 20 and `ingestionTime` is 1725519793, the API response should have records starting from the 21st record after the specified `ingestionTime`. Note that if `offset` value is not empty, `ingestionTime` can't be empty. [optional]
retrieval_size int The number of records to retrieve in a single request. For example, when retrievalSize is set to 30, offset is 20, and ingestionTime is 1725519793, the API request will fetch 30 records starting from the 21st record after the specified `ingestionTime`. Minimum value is 1 and maximum value is 200. [optional]

Example

from instana_client.models.cursor_pagination import CursorPagination

# TODO update the JSON string below
json = "{}"
# create an instance of CursorPagination from a JSON string
cursor_pagination_instance = CursorPagination.from_json(json)
# print the JSON string representation of the object
print(CursorPagination.to_json())

# convert the object into a dict
cursor_pagination_dict = cursor_pagination_instance.to_dict()
# create an instance of CursorPagination from a dict
cursor_pagination_from_dict = CursorPagination.from_dict(cursor_pagination_dict)

[Back to Model list] [Back to API list] [Back to README]