jira_api_v2/models/
attachment_archive.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 AttachmentArchive {
16    #[serde(rename = "moreAvailable", skip_serializing_if = "Option::is_none")]
17    pub more_available: Option<bool>,
18    #[serde(rename = "totalNumberOfEntriesAvailable", skip_serializing_if = "Option::is_none")]
19    pub total_number_of_entries_available: Option<i32>,
20    #[serde(rename = "totalEntryCount", skip_serializing_if = "Option::is_none")]
21    pub total_entry_count: Option<i32>,
22    #[serde(rename = "entries", skip_serializing_if = "Option::is_none")]
23    pub entries: Option<Vec<models::AttachmentArchiveEntry>>,
24}
25
26impl AttachmentArchive {
27    pub fn new() -> AttachmentArchive {
28        AttachmentArchive {
29            more_available: None,
30            total_number_of_entries_available: None,
31            total_entry_count: None,
32            entries: None,
33        }
34    }
35}
36