jira2/models/issue_entity_properties_for_multi_update.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
11/// IssueEntityPropertiesForMultiUpdate : An issue ID with entity property values. See [Entity properties](https://developer.atlassian.com/cloud/jira/platform/jira-entity-properties/) for more information.
12
13
14
15#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
16pub struct IssueEntityPropertiesForMultiUpdate {
17 /// The ID of the issue.
18 #[serde(rename = "issueID", skip_serializing_if = "Option::is_none")]
19 pub issue_id: Option<i64>,
20 /// Entity properties to set on the issue. The maximum length of an issue property value is 32768 characters.
21 #[serde(rename = "properties", skip_serializing_if = "Option::is_none")]
22 pub properties: Option<::std::collections::HashMap<String, crate::models::JsonNode>>,
23}
24
25impl IssueEntityPropertiesForMultiUpdate {
26 /// An issue ID with entity property values. See [Entity properties](https://developer.atlassian.com/cloud/jira/platform/jira-entity-properties/) for more information.
27 pub fn new() -> IssueEntityPropertiesForMultiUpdate {
28 IssueEntityPropertiesForMultiUpdate {
29 issue_id: None,
30 properties: None,
31 }
32 }
33}
34
35