jira_api_v2/models/health_check_result.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/// HealthCheckResult : Jira instance health check results. Deprecated and no longer returned.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct HealthCheckResult {
17 /// The name of the Jira health check item.
18 #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
19 pub name: Option<String>,
20 /// The description of the Jira health check item.
21 #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
22 pub description: Option<String>,
23 /// Whether the Jira health check item passed or failed.
24 #[serde(rename = "passed", skip_serializing_if = "Option::is_none")]
25 pub passed: Option<bool>,
26}
27
28impl HealthCheckResult {
29 /// Jira instance health check results. Deprecated and no longer returned.
30 pub fn new() -> HealthCheckResult {
31 HealthCheckResult {
32 name: None,
33 description: None,
34 passed: None,
35 }
36 }
37}
38