/*
* The Jira Cloud platform REST API
*
* Jira Cloud platform REST API documentation
*
* The version of the OpenAPI document: 1001.0.0-SNAPSHOT-af42c50d50804c2f1b8ad4bb80d52c53890867e2
* Contact: ecosystem@atlassian.com
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// FieldsSchemeItemParameter : The default parameters to apply to the field across all work types in the specified schemes, may be null if only work type-specific updates are needed
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct FieldsSchemeItemParameter {
/// The custom description for the field, null to preserve current description
#[serde(rename = "description", skip_serializing_if = "Option::is_none")]
pub description: Option<String>,
/// Whether the field is required, null to preserve current requirement setting
#[serde(rename = "isRequired", skip_serializing_if = "Option::is_none")]
pub is_required: Option<bool>,
}
impl FieldsSchemeItemParameter {
/// The default parameters to apply to the field across all work types in the specified schemes, may be null if only work type-specific updates are needed
pub fn new() -> FieldsSchemeItemParameter {
FieldsSchemeItemParameter {
description: None,
is_required: None,
}
}
}