Documentation
/*
 * The Jira Cloud platform REST API
 *
 * Jira Cloud platform REST API documentation
 *
 * The version of the OpenAPI document: 1001.0.0-SNAPSHOT
 * Contact: ecosystem@atlassian.com
 * Generated by: https://openapi-generator.tech
 */

/// LinkGroup : Details a link group, which defines issue operations.



#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct LinkGroup {
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<String>,
    #[serde(rename = "styleClass", skip_serializing_if = "Option::is_none")]
    pub style_class: Option<String>,
    #[serde(rename = "header", skip_serializing_if = "Option::is_none")]
    pub header: Option<crate::models::SimpleLink>,
    #[serde(rename = "weight", skip_serializing_if = "Option::is_none")]
    pub weight: Option<i32>,
    #[serde(rename = "links", skip_serializing_if = "Option::is_none")]
    pub links: Option<Vec<crate::models::SimpleLink>>,
    #[serde(rename = "groups", skip_serializing_if = "Option::is_none")]
    pub groups: Option<Vec<crate::models::LinkGroup>>,
}

impl LinkGroup {
    /// Details a link group, which defines issue operations.
    pub fn new() -> LinkGroup {
        LinkGroup {
            id: None,
            style_class: None,
            header: None,
            weight: None,
            links: None,
            groups: None,
        }
    }
}