jira_api_v2/models/
user_migration_bean.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 UserMigrationBean {
16    #[serde(rename = "key", skip_serializing_if = "Option::is_none")]
17    pub key: Option<String>,
18    #[serde(rename = "username", skip_serializing_if = "Option::is_none")]
19    pub username: Option<String>,
20    #[serde(rename = "accountId", skip_serializing_if = "Option::is_none")]
21    pub account_id: Option<String>,
22}
23
24impl UserMigrationBean {
25    pub fn new() -> UserMigrationBean {
26        UserMigrationBean {
27            key: None,
28            username: None,
29            account_id: None,
30        }
31    }
32}
33