jira_v3_openapi 1.5.0

Jira Cloud platform REST API lib (OpenAPI document version: 1001.0.0-SNAPSHOT-37416ade0f89f7cb291510843b8a4bbd682b33a1)
Documentation
/*
 * The Jira Cloud platform REST API
 *
 * Jira Cloud platform REST API documentation
 *
 * The version of the OpenAPI document: 1001.0.0-SNAPSHOT-37416ade0f89f7cb291510843b8a4bbd682b33a1
 * Contact: ecosystem@atlassian.com
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CustomTemplateOptions {
    /// Enable screen delegated admin support for the template. This means screen and associated schemes will be copied rather than referenced.
    #[serde(rename = "enableScreenDelegatedAdminSupport", skip_serializing_if = "Option::is_none")]
    pub enable_screen_delegated_admin_support: Option<bool>,
    /// Enable workflow delegated admin support for the template. This means workflows and workflow schemes will be copied rather than referenced.
    #[serde(rename = "enableWorkflowDelegatedAdminSupport", skip_serializing_if = "Option::is_none")]
    pub enable_workflow_delegated_admin_support: Option<bool>,
}

impl CustomTemplateOptions {
    pub fn new() -> CustomTemplateOptions {
        CustomTemplateOptions {
            enable_screen_delegated_admin_support: None,
            enable_workflow_delegated_admin_support: None,
        }
    }
}