amazon_spapi/models/vendor_shipments/pagination.rs
1/*
2 * Selling Partner API for Retail Procurement Shipments
3 *
4 * The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
5 *
6 * The version of the OpenAPI document: v1
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// Pagination : The pagination elements required to retrieve the remaining data.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct Pagination {
17 /// A generated string used to pass information to your next request. If NextToken is returned, pass the value of NextToken to the next request. If NextToken is not returned, there are no more shipment items to return.
18 #[serde(rename = "nextToken", skip_serializing_if = "Option::is_none")]
19 pub next_token: Option<String>,
20}
21
22impl Pagination {
23 /// The pagination elements required to retrieve the remaining data.
24 pub fn new() -> Pagination {
25 Pagination {
26 next_token: None,
27 }
28 }
29}
30