amazon_spapi/models/fulfillment_inbound_2024_03_20/
pagination.rs

1/*
2 * The Selling Partner API for FBA inbound operations.
3 *
4 * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon's fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
5 *
6 * The version of the OpenAPI document: 2024-03-20
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// Pagination : Contains tokens to fetch from a certain page.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct Pagination {
17    /// When present, pass this string token in the next request to return the next response page.
18    #[serde(rename = "nextToken", skip_serializing_if = "Option::is_none")]
19    pub next_token: Option<String>,
20}
21
22impl Pagination {
23    /// Contains tokens to fetch from a certain page.
24    pub fn new() -> Pagination {
25        Pagination {
26            next_token: None,
27        }
28    }
29}
30