jira_api_v2/models/
version_issues_status.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/// VersionIssuesStatus : Counts of the number of issues in various statuses.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct VersionIssuesStatus {
17    /// Count of issues with a status other than *to do*, *in progress*, and *done*.
18    #[serde(rename = "unmapped", skip_serializing_if = "Option::is_none")]
19    pub unmapped: Option<i64>,
20    /// Count of issues with status *to do*.
21    #[serde(rename = "toDo", skip_serializing_if = "Option::is_none")]
22    pub to_do: Option<i64>,
23    /// Count of issues with status *in progress*.
24    #[serde(rename = "inProgress", skip_serializing_if = "Option::is_none")]
25    pub in_progress: Option<i64>,
26    /// Count of issues with status *done*.
27    #[serde(rename = "done", skip_serializing_if = "Option::is_none")]
28    pub done: Option<i64>,
29}
30
31impl VersionIssuesStatus {
32    /// Counts of the number of issues in various statuses.
33    pub fn new() -> VersionIssuesStatus {
34        VersionIssuesStatus {
35            unmapped: None,
36            to_do: None,
37            in_progress: None,
38            done: None,
39        }
40    }
41}
42