jira_api_v2/models/
attachment_archive_entry.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 AttachmentArchiveEntry {
16    #[serde(rename = "abbreviatedName", skip_serializing_if = "Option::is_none")]
17    pub abbreviated_name: Option<String>,
18    #[serde(rename = "entryIndex", skip_serializing_if = "Option::is_none")]
19    pub entry_index: Option<i64>,
20    #[serde(rename = "mediaType", skip_serializing_if = "Option::is_none")]
21    pub media_type: Option<String>,
22    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
23    pub name: Option<String>,
24    #[serde(rename = "size", skip_serializing_if = "Option::is_none")]
25    pub size: Option<i64>,
26}
27
28impl AttachmentArchiveEntry {
29    pub fn new() -> AttachmentArchiveEntry {
30        AttachmentArchiveEntry {
31            abbreviated_name: None,
32            entry_index: None,
33            media_type: None,
34            name: None,
35            size: None,
36        }
37    }
38}
39