jira_api_v2/models/rule_configuration.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/// RuleConfiguration : A rule configuration.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct RuleConfiguration {
17 /// Configuration of the rule, as it is stored by the Connect app on the rule configuration page.
18 #[serde(rename = "value")]
19 pub value: String,
20}
21
22impl RuleConfiguration {
23 /// A rule configuration.
24 pub fn new(value: String) -> RuleConfiguration {
25 RuleConfiguration {
26 value,
27 }
28 }
29}
30