hi_jira2/models/
publish_draft_workflow_scheme.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
11/// PublishDraftWorkflowScheme : Details about the status mappings for publishing a draft workflow scheme.
12
13
14
15#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
16pub struct PublishDraftWorkflowScheme {
17    /// Mappings of statuses to new statuses for issue types.
18    #[serde(rename = "statusMappings", skip_serializing_if = "Option::is_none")]
19    pub status_mappings: Option<Vec<crate::models::StatusMapping>>,
20}
21
22impl PublishDraftWorkflowScheme {
23    /// Details about the status mappings for publishing a draft workflow scheme.
24    pub fn new() -> PublishDraftWorkflowScheme {
25        PublishDraftWorkflowScheme {
26            status_mappings: None,
27        }
28    }
29}
30
31