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
 */

/// UserContextVariable : A [user](https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-reference#user) specified as an Atlassian account ID.



#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct UserContextVariable {
    /// Type of custom context variable.
    #[serde(rename = "type")]
    pub _type: String,
    /// The account ID of the user.
    #[serde(rename = "accountId")]
    pub account_id: String,
}

impl UserContextVariable {
    /// A [user](https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-reference#user) specified as an Atlassian account ID.
    pub fn new(_type: String, account_id: String) -> UserContextVariable {
        UserContextVariable {
            _type,
            account_id,
        }
    }
}