/*
* The Jira Cloud platform REST API
*
* Jira Cloud platform REST API documentation
*
* The version of the OpenAPI document: 1001.0.0-SNAPSHOT
* Contact: ecosystem@atlassian.com
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// RenamedCascadingOption : Details of a custom field cascading option to rename.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct RenamedCascadingOption {
/// The value of the cascading option.
#[serde(rename = "value")]
pub value: String,
/// The new value of the cascading option.
#[serde(rename = "newValue")]
pub new_value: String,
}
impl RenamedCascadingOption {
/// Details of a custom field cascading option to rename.
pub fn new(value: String, new_value: String) -> RenamedCascadingOption {
RenamedCascadingOption {
value,
new_value,
}
}
}