jira_api_v2/models/
icon_bean.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/// IconBean : An icon.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct IconBean {
17    /// The URL of a 16x16 pixel icon.
18    #[serde(rename = "url16x16", skip_serializing_if = "Option::is_none")]
19    pub url16x16: Option<String>,
20    /// The title of the icon, for use as a tooltip on the icon.
21    #[serde(rename = "title", skip_serializing_if = "Option::is_none")]
22    pub title: Option<String>,
23    /// The URL of the tooltip, used only for a status icon.
24    #[serde(rename = "link", skip_serializing_if = "Option::is_none")]
25    pub link: Option<String>,
26}
27
28impl IconBean {
29    /// An icon.
30    pub fn new() -> IconBean {
31        IconBean {
32            url16x16: None,
33            title: None,
34            link: None,
35        }
36    }
37}
38