jira_api_v2/models/add_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 AddGroupBean {
16 /// The name of the group.
17 #[serde(rename = "name")]
18 pub name: String,
19}
20
21impl AddGroupBean {
22 pub fn new(name: String) -> AddGroupBean {
23 AddGroupBean {
24 name,
25 }
26 }
27}
28