hi_jira2/models/component_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
11/// ComponentIssuesCount : Count of issues assigned to a component.
12
13
14
15#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
16pub struct ComponentIssuesCount {
17 /// The URL for this count of issues for a component.
18 #[serde(rename = "self", skip_serializing_if = "Option::is_none")]
19 pub _self: Option<String>,
20 /// The count of issues assigned to a component.
21 #[serde(rename = "issueCount", skip_serializing_if = "Option::is_none")]
22 pub issue_count: Option<i64>,
23}
24
25impl ComponentIssuesCount {
26 /// Count of issues assigned to a component.
27 pub fn new() -> ComponentIssuesCount {
28 ComponentIssuesCount {
29 _self: None,
30 issue_count: None,
31 }
32 }
33}
34
35