1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* The Jira Cloud platform REST API
*
* Jira Cloud platform REST API documentation
*
* The version of the OpenAPI document: 1001.0.0-SNAPSHOT
* Contact: ecosystem@atlassian.com
* Generated by: https://openapi-generator.tech
*/
/// SuggestedIssue : An issue suggested for use in the issue picker auto-completion.
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct SuggestedIssue {
/// The ID of the issue.
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
pub id: Option<i64>,
/// The key of the issue.
#[serde(rename = "key", skip_serializing_if = "Option::is_none")]
pub key: Option<String>,
/// The key of the issue in HTML format.
#[serde(rename = "keyHtml", skip_serializing_if = "Option::is_none")]
pub key_html: Option<String>,
/// The URL of the issue type's avatar.
#[serde(rename = "img", skip_serializing_if = "Option::is_none")]
pub img: Option<String>,
/// The phrase containing the query string in HTML format, with the string highlighted with HTML bold tags.
#[serde(rename = "summary", skip_serializing_if = "Option::is_none")]
pub summary: Option<String>,
/// The phrase containing the query string, as plain text.
#[serde(rename = "summaryText", skip_serializing_if = "Option::is_none")]
pub summary_text: Option<String>,
}
impl SuggestedIssue {
/// An issue suggested for use in the issue picker auto-completion.
pub fn new() -> SuggestedIssue {
SuggestedIssue {
id: None,
key: None,
key_html: None,
img: None,
summary: None,
summary_text: None,
}
}
}