jira/gen/models/
jira_expressions_complexity_value_bean.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#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
12pub struct JiraExpressionsComplexityValueBean {
13    /// The complexity value of the current expression.
14    #[serde(rename = "value")]
15    pub value: i32,
16    /// The maximum allowed complexity. The evaluation will fail if this value is exceeded.
17    #[serde(rename = "limit")]
18    pub limit: i32,
19}
20
21impl JiraExpressionsComplexityValueBean {
22    pub fn new(value: i32, limit: i32) -> JiraExpressionsComplexityValueBean {
23        JiraExpressionsComplexityValueBean { value, limit }
24    }
25}