jira_api_v2/models/update_user_to_group_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 UpdateUserToGroupBean {
16 /// This property is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
17 #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
18 pub name: Option<String>,
19 /// The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.
20 #[serde(rename = "accountId", skip_serializing_if = "Option::is_none")]
21 pub account_id: Option<String>,
22}
23
24impl UpdateUserToGroupBean {
25 pub fn new() -> UpdateUserToGroupBean {
26 UpdateUserToGroupBean {
27 name: None,
28 account_id: None,
29 }
30 }
31}
32