jira_api_v2/models/workflow_status_properties.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/// WorkflowStatusProperties : Properties of a workflow status.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct WorkflowStatusProperties {
17 /// Whether issues are editable in this status.
18 #[serde(rename = "issueEditable")]
19 pub issue_editable: bool,
20}
21
22impl WorkflowStatusProperties {
23 /// Properties of a workflow status.
24 pub fn new(issue_editable: bool) -> WorkflowStatusProperties {
25 WorkflowStatusProperties {
26 issue_editable,
27 }
28 }
29}
30