jira_api_v2/models/
crate_workflow_status_details.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/// CrateWorkflowStatusDetails : The details of a transition status.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct CrateWorkflowStatusDetails {
17    /// The ID of the status.
18    #[serde(rename = "id")]
19    pub id: String,
20}
21
22impl CrateWorkflowStatusDetails {
23    /// The details of a transition status.
24    pub fn new(id: String) -> CrateWorkflowStatusDetails {
25        CrateWorkflowStatusDetails {
26            id,
27        }
28    }
29}
30