jira_api_v2/models/
version_unresolved_issues_count.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/// VersionUnresolvedIssuesCount : Count of a version's unresolved issues.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct VersionUnresolvedIssuesCount {
17    /// The URL of these count details.
18    #[serde(rename = "self", skip_serializing_if = "Option::is_none")]
19    pub param_self: Option<String>,
20    /// Count of unresolved issues.
21    #[serde(rename = "issuesUnresolvedCount", skip_serializing_if = "Option::is_none")]
22    pub issues_unresolved_count: Option<i64>,
23    /// Count of issues.
24    #[serde(rename = "issuesCount", skip_serializing_if = "Option::is_none")]
25    pub issues_count: Option<i64>,
26}
27
28impl VersionUnresolvedIssuesCount {
29    /// Count of a version's unresolved issues.
30    pub fn new() -> VersionUnresolvedIssuesCount {
31        VersionUnresolvedIssuesCount {
32            param_self: None,
33            issues_unresolved_count: None,
34            issues_count: None,
35        }
36    }
37}
38