jira/gen/models/bulk_issue_property_update_request.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/// BulkIssuePropertyUpdateRequest : Bulk issue property update request details.
12
13#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
14pub struct BulkIssuePropertyUpdateRequest {
15 /// The value of the property. The value must be a [valid](https://tools.ietf.org/html/rfc4627), non-empty JSON blob. The maximum length is 32768 characters.
16 #[serde(rename = "value", skip_serializing_if = "Option::is_none")]
17 pub value: Option<serde_json::Value>,
18 /// EXPERIMENTAL. The Jira expression to calculate the value of the property. The value of the expression must be an object that can be converted to JSON, such as a number, boolean, string, list, or map. The context variables available to the expression are `issue` and `user`. Issues for which the expression returns a value whose JSON representation is longer than 32768 characters are ignored.
19 #[serde(rename = "expression", skip_serializing_if = "Option::is_none")]
20 pub expression: Option<String>,
21 /// The bulk operation filter.
22 #[serde(rename = "filter", skip_serializing_if = "Option::is_none")]
23 pub filter: Option<crate::gen::models::IssueFilterForBulkPropertySet>,
24}
25
26impl BulkIssuePropertyUpdateRequest {
27 /// Bulk issue property update request details.
28 pub fn new() -> BulkIssuePropertyUpdateRequest {
29 BulkIssuePropertyUpdateRequest {
30 value: None,
31 expression: None,
32 filter: None,
33 }
34 }
35}