jira_api_v2/models/
paginated_response_comment.rs

1/*
2 * The Jira Cloud platform REST API
3 *
4 * Jira Cloud platform REST API documentation
5 *
6 * The version of the OpenAPI document: 1001.0.0-SNAPSHOT
7 * Contact: ecosystem@atlassian.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct PaginatedResponseComment {
16    #[serde(rename = "total", skip_serializing_if = "Option::is_none")]
17    pub total: Option<i64>,
18    #[serde(rename = "results", skip_serializing_if = "Option::is_none")]
19    pub results: Option<Vec<models::Comment>>,
20    #[serde(rename = "maxResults", skip_serializing_if = "Option::is_none")]
21    pub max_results: Option<i32>,
22    #[serde(rename = "startAt", skip_serializing_if = "Option::is_none")]
23    pub start_at: Option<i64>,
24}
25
26impl PaginatedResponseComment {
27    pub fn new() -> PaginatedResponseComment {
28        PaginatedResponseComment {
29            total: None,
30            results: None,
31            max_results: None,
32            start_at: None,
33        }
34    }
35}
36