jira_api_v2/models/project_avatars.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/// ProjectAvatars : List of project avatars.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct ProjectAvatars {
17 /// List of avatars included with Jira. These avatars cannot be deleted.
18 #[serde(rename = "system", skip_serializing_if = "Option::is_none")]
19 pub system: Option<Vec<models::Avatar>>,
20 /// List of avatars added to Jira. These avatars may be deleted.
21 #[serde(rename = "custom", skip_serializing_if = "Option::is_none")]
22 pub custom: Option<Vec<models::Avatar>>,
23}
24
25impl ProjectAvatars {
26 /// List of project avatars.
27 pub fn new() -> ProjectAvatars {
28 ProjectAvatars {
29 system: None,
30 custom: None,
31 }
32 }
33}
34