amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * Selling Partner API for Replenishment
 *
 * The Selling Partner API for Replenishment (Replenishment API) provides programmatic access to replenishment program metrics and offers. These programs provide recurring delivery of any replenishable item at a frequency chosen by the customer.  The Replenishment API is available worldwide wherever Amazon Subscribe & Save is available or is supported. The API is available to vendors and FBA selling partners.
 *
 * The version of the OpenAPI document: 2022-11-07
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// PaginationResponse : Use these parameters to paginate through the response.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PaginationResponse {
    /// Total number of results matching the given filter criteria.
    #[serde(rename = "totalResults", skip_serializing_if = "Option::is_none")]
    pub total_results: Option<i64>,
}

impl PaginationResponse {
    /// Use these parameters to paginate through the response.
    pub fn new() -> PaginationResponse {
        PaginationResponse {
            total_results: None,
        }
    }
}