jira_api_v2/models/
security_level.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/// SecurityLevel : Details of an issue level security item.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct SecurityLevel {
17    /// The URL of the issue level security item.
18    #[serde(rename = "self", skip_serializing_if = "Option::is_none")]
19    pub param_self: Option<String>,
20    /// The ID of the issue level security item.
21    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
22    pub id: Option<String>,
23    /// The description of the issue level security item.
24    #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
25    pub description: Option<String>,
26    /// The name of the issue level security item.
27    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
28    pub name: Option<String>,
29}
30
31impl SecurityLevel {
32    /// Details of an issue level security item.
33    pub fn new() -> SecurityLevel {
34        SecurityLevel {
35            param_self: None,
36            id: None,
37            description: None,
38            name: None,
39        }
40    }
41}
42