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
/*
* 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
*/
/// VersionUsageInCustomField : List of custom fields using the version.
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct VersionUsageInCustomField {
/// The name of the custom field.
#[serde(rename = "fieldName", skip_serializing_if = "Option::is_none")]
pub field_name: Option<String>,
/// The ID of the custom field.
#[serde(rename = "customFieldId", skip_serializing_if = "Option::is_none")]
pub custom_field_id: Option<i64>,
/// Count of the issues where the custom field contains the version.
#[serde(rename = "issueCountWithVersionInCustomField", skip_serializing_if = "Option::is_none")]
pub issue_count_with_version_in_custom_field: Option<i64>,
}
impl VersionUsageInCustomField {
/// List of custom fields using the version.
pub fn new() -> VersionUsageInCustomField {
VersionUsageInCustomField {
field_name: None,
custom_field_id: None,
issue_count_with_version_in_custom_field: None,
}
}
}