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
*/
/// HistoryMetadataParticipant : Details of user or system associated with a issue history metadata item.
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct HistoryMetadataParticipant {
/// The ID of the user or system associated with a history record.
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
pub id: Option<String>,
/// The display name of the user or system associated with a history record.
#[serde(rename = "displayName", skip_serializing_if = "Option::is_none")]
pub display_name: Option<String>,
/// The key of the display name of the user or system associated with a history record.
#[serde(rename = "displayNameKey", skip_serializing_if = "Option::is_none")]
pub display_name_key: Option<String>,
/// The type of the user or system associated with a history record.
#[serde(rename = "type", skip_serializing_if = "Option::is_none")]
pub _type: Option<String>,
/// The URL to an avatar for the user or system associated with a history record.
#[serde(rename = "avatarUrl", skip_serializing_if = "Option::is_none")]
pub avatar_url: Option<String>,
/// The URL of the user or system associated with a history record.
#[serde(rename = "url", skip_serializing_if = "Option::is_none")]
pub url: Option<String>,
}
impl HistoryMetadataParticipant {
/// Details of user or system associated with a issue history metadata item.
pub fn new() -> HistoryMetadataParticipant {
HistoryMetadataParticipant {
id: None,
display_name: None,
display_name_key: None,
_type: None,
avatar_url: None,
url: None,
}
}
}