Skip to main content

jira/gen/models/
simple_link.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
11/// SimpleLink : Details about the operations available in this version.
12
13#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
14pub struct SimpleLink {
15    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
16    pub id: Option<String>,
17    #[serde(rename = "styleClass", skip_serializing_if = "Option::is_none")]
18    pub style_class: Option<String>,
19    #[serde(rename = "iconClass", skip_serializing_if = "Option::is_none")]
20    pub icon_class: Option<String>,
21    #[serde(rename = "label", skip_serializing_if = "Option::is_none")]
22    pub label: Option<String>,
23    #[serde(rename = "title", skip_serializing_if = "Option::is_none")]
24    pub title: Option<String>,
25    #[serde(rename = "href", skip_serializing_if = "Option::is_none")]
26    pub href: Option<String>,
27    #[serde(rename = "weight", skip_serializing_if = "Option::is_none")]
28    pub weight: Option<i32>,
29}
30
31impl SimpleLink {
32    /// Details about the operations available in this version.
33    pub fn new() -> SimpleLink {
34        SimpleLink {
35            id: None,
36            style_class: None,
37            icon_class: None,
38            label: None,
39            title: None,
40            href: None,
41            weight: None,
42        }
43    }
44}