pipedrive_rs/models/
get_notes_response200_additional_data_pagination.rs

1/*
2 * Pipedrive API v1
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.0.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11/// GetNotesResponse200AdditionalDataPagination : The pagination details of the list
12
13
14
15#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
16pub struct GetNotesResponse200AdditionalDataPagination {
17    /// Pagination start
18    #[serde(rename = "start", skip_serializing_if = "Option::is_none")]
19    pub start: Option<i32>,
20    /// Items shown per page
21    #[serde(rename = "limit", skip_serializing_if = "Option::is_none")]
22    pub limit: Option<i32>,
23    /// If there are more list items in the collection than displayed or not
24    #[serde(rename = "more_items_in_collection", skip_serializing_if = "Option::is_none")]
25    pub more_items_in_collection: Option<bool>,
26    /// Next pagination start
27    #[serde(rename = "next_start", skip_serializing_if = "Option::is_none")]
28    pub next_start: Option<i32>,
29}
30
31impl GetNotesResponse200AdditionalDataPagination {
32    /// The pagination details of the list
33    pub fn new() -> GetNotesResponse200AdditionalDataPagination {
34        GetNotesResponse200AdditionalDataPagination {
35            start: None,
36            limit: None,
37            more_items_in_collection: None,
38            next_start: None,
39        }
40    }
41}
42
43