jira_api_v2/models/
unrestricted_user_email.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#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct UnrestrictedUserEmail {
16    /// The accountId of the user
17    #[serde(rename = "accountId", skip_serializing_if = "Option::is_none")]
18    pub account_id: Option<String>,
19    /// The email of the user
20    #[serde(rename = "email", skip_serializing_if = "Option::is_none")]
21    pub email: Option<String>,
22}
23
24impl UnrestrictedUserEmail {
25    pub fn new() -> UnrestrictedUserEmail {
26        UnrestrictedUserEmail {
27            account_id: None,
28            email: None,
29        }
30    }
31}
32