CitraClient.Schemas.PaginatedResponseAlert (citra_client v0.3.0)
View SourceStruct generated from the PaginatedResponse_Alert_ schema.
Fields
:has_next_page—boolean()(API key:hasNextPage) — Whether there is a next page.:has_previous_page—boolean()(API key:hasPreviousPage) — Whether there is a previous page.:items— list ofCitraClient.Schemas.Alert.t()— The paginated items:page—integer()— Current page number (zero-based):page_size—integer()(API key:pageSize) — Number of items per page:total—integer()— Total number of items matching the query:total_pages—integer()(API key:totalPages) — Calculate total number of pages.
Summary
Functions
Build this struct from a decoded JSON map received from the API. Unknown fields are ignored.
Convert this struct into a map with the API's camelCase keys, ready
to be JSON-encoded. Fields whose value is nil are omitted.