jira_api_v2/models/
attachment_archive_impl.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 AttachmentArchiveImpl {
16    /// The list of the items included in the archive.
17    #[serde(rename = "entries", skip_serializing_if = "Option::is_none")]
18    pub entries: Option<Vec<models::AttachmentArchiveEntry>>,
19    /// The number of items in the archive.
20    #[serde(rename = "totalEntryCount", skip_serializing_if = "Option::is_none")]
21    pub total_entry_count: Option<i32>,
22}
23
24impl AttachmentArchiveImpl {
25    pub fn new() -> AttachmentArchiveImpl {
26        AttachmentArchiveImpl {
27            entries: None,
28            total_entry_count: None,
29        }
30    }
31}
32