jira_api_v2/models/
remove_option_from_issues_result.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#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct RemoveOptionFromIssuesResult {
16    /// The IDs of the modified issues.
17    #[serde(rename = "modifiedIssues", skip_serializing_if = "Option::is_none")]
18    pub modified_issues: Option<Vec<i64>>,
19    /// The IDs of the unchanged issues, those issues where errors prevent modification.
20    #[serde(rename = "unmodifiedIssues", skip_serializing_if = "Option::is_none")]
21    pub unmodified_issues: Option<Vec<i64>>,
22    /// A collection of errors related to unchanged issues. The collection size is limited, which means not all errors may be returned.
23    #[serde(rename = "errors", skip_serializing_if = "Option::is_none")]
24    pub errors: Option<Box<models::SimpleErrorCollection>>,
25}
26
27impl RemoveOptionFromIssuesResult {
28    pub fn new() -> RemoveOptionFromIssuesResult {
29        RemoveOptionFromIssuesResult {
30            modified_issues: None,
31            unmodified_issues: None,
32            errors: None,
33        }
34    }
35}
36