/*
 * The Jira Cloud platform REST API
 *
 * Jira Cloud platform REST API documentation
 *
 * The version of the OpenAPI document: 1001.0.0-SNAPSHOT-48dd1e2d75e7eac65741e465279d2700f927137d
 * Contact: ecosystem@atlassian.com
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// ComponentIssuesCount : Count of issues assigned to a component.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ComponentIssuesCount {
    /// The count of issues assigned to a component.
    #[serde(rename = "issueCount", skip_serializing_if = "Option::is_none")]
    pub issue_count: Option<i64>,
    /// The URL for this count of issues for a component.
    #[serde(rename = "self", skip_serializing_if = "Option::is_none")]
    pub param_self: Option<String>,
}

impl ComponentIssuesCount {
    /// Count of issues assigned to a component.
    pub fn new() -> ComponentIssuesCount {
        ComponentIssuesCount {
            issue_count: None,
            param_self: None,
        }
    }
}

