/*
* 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};
/// CustomFieldOptionValue : Value of a custom field option and the values of its cascading options.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CustomFieldOptionValue {
/// The value of the custom field option.
#[serde(rename = "value")]
pub value: String,
/// The cascading options.
#[serde(rename = "cascadingOptions", skip_serializing_if = "Option::is_none")]
pub cascading_options: Option<Vec<String>>,
}
impl CustomFieldOptionValue {
/// Value of a custom field option and the values of its cascading options.
pub fn new(value: String) -> CustomFieldOptionValue {
CustomFieldOptionValue {
value,
cascading_options: None,
}
}
}