jira_api_v2/models/
add_field_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 AddFieldBean {
16    /// The ID of the field to add.
17    #[serde(rename = "fieldId")]
18    pub field_id: String,
19}
20
21impl AddFieldBean {
22    pub fn new(field_id: String) -> AddFieldBean {
23        AddFieldBean {
24            field_id,
25        }
26    }
27}
28