jira_api_v2/models/
jql_query_with_unknown_users.rs

1/*
2 * The Jira Cloud platform REST API
3 *
4 * Jira Cloud platform REST API documentation
5 *
6 * The version of the OpenAPI document: 1001.0.0-SNAPSHOT
7 * Contact: ecosystem@atlassian.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// JqlQueryWithUnknownUsers : JQL queries that contained users that could not be found
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct JqlQueryWithUnknownUsers {
17    /// The original query, for reference
18    #[serde(rename = "originalQuery", skip_serializing_if = "Option::is_none")]
19    pub original_query: Option<String>,
20    /// The converted query, with accountIDs instead of user identifiers, or 'unknown' for users that could not be found
21    #[serde(rename = "convertedQuery", skip_serializing_if = "Option::is_none")]
22    pub converted_query: Option<String>,
23}
24
25impl JqlQueryWithUnknownUsers {
26    /// JQL queries that contained users that could not be found
27    pub fn new() -> JqlQueryWithUnknownUsers {
28        JqlQueryWithUnknownUsers {
29            original_query: None,
30            converted_query: None,
31        }
32    }
33}
34