jira_api_v2/models/
issue_update_metadata.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/// IssueUpdateMetadata : A list of editable field details.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct IssueUpdateMetadata {
17    /// A list of editable field details.
18    #[serde(rename = "fields", skip_serializing_if = "Option::is_none")]
19    pub fields: Option<std::collections::HashMap<String, models::FieldMetadata>>,
20}
21
22impl IssueUpdateMetadata {
23    /// A list of editable field details.
24    pub fn new() -> IssueUpdateMetadata {
25        IssueUpdateMetadata {
26            fields: None,
27        }
28    }
29}
30