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
/*
* 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
*/
/// IssuesJqlMetaDataBean : The description of the page of issues loaded by the provided JQL query.
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct IssuesJqlMetaDataBean {
/// The index of the first issue.
#[serde(rename = "startAt")]
pub start_at: i64,
/// The maximum number of issues that could be loaded in this evaluation.
#[serde(rename = "maxResults")]
pub max_results: i32,
/// The number of issues that were loaded in this evaluation.
#[serde(rename = "count")]
pub count: i32,
/// The total number of issues the JQL returned.
#[serde(rename = "totalCount")]
pub total_count: i64,
/// Any warnings related to the JQL query. Present only if the validation mode was set to `warn`.
#[serde(rename = "validationWarnings", skip_serializing_if = "Option::is_none")]
pub validation_warnings: Option<Vec<String>>,
}
impl IssuesJqlMetaDataBean {
/// The description of the page of issues loaded by the provided JQL query.
pub fn new(start_at: i64, max_results: i32, count: i32, total_count: i64) -> IssuesJqlMetaDataBean {
IssuesJqlMetaDataBean {
start_at,
max_results,
count,
total_count,
validation_warnings: None,
}
}
}