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-af42c50d50804c2f1b8ad4bb80d52c53890867e2
* Contact: ecosystem@atlassian.com
* Generated by: https://openapi-generator.tech
*/
#![cfg(feature = "issues_api")]
use crate::models;
use serde::{Deserialize, Serialize};
/// SearchAndReconcileResults : The result of a JQL search with issues reconsilation.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SearchAndReconcileResults {
/// Indicates whether this is the last page of the paginated response.
#[serde(rename = "isLast", skip_serializing_if = "Option::is_none")]
pub is_last: Option<bool>,
/// The list of issues found by the search or reconsiliation.
#[serde(rename = "issues", skip_serializing_if = "Option::is_none")]
pub issues: Option<Vec<models::IssueBean>>,
/// The ID and name of each field in the search results.
#[serde(rename = "names", skip_serializing_if = "Option::is_none")]
pub names: Option<std::collections::HashMap<String, String>>,
/// Continuation token to fetch the next page. If this result represents the last or the only page this token will be null. This token will expire in 7 days.
#[serde(rename = "nextPageToken", skip_serializing_if = "Option::is_none")]
pub next_page_token: Option<String>,
/// The schema describing the field types in the search results.
#[serde(rename = "schema", skip_serializing_if = "Option::is_none")]
pub schema: Option<std::collections::HashMap<String, models::JsonTypeBean>>,
}
impl SearchAndReconcileResults {
/// The result of a JQL search with issues reconsilation.
pub fn new() -> SearchAndReconcileResults {
SearchAndReconcileResults {
is_last: None,
issues: None,
names: None,
next_page_token: None,
schema: None,
}
}
}