/*
* task-automation task schedule API
*
* execution of recurring time based tasks
*
* The version of the OpenAPI document: 3.63.10
* Contact: support@babelforce.com
* Generated by: https://openapi-generator.tech
*/
use crate::gen::task_schedule::models;
use serde::{Deserialize, Serialize};
/// CodeblockReferenceProperties : A reference to a stored codeblock. Either the identifier or the name need to be specified.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CodeblockReferenceProperties {
#[serde(rename = "ref")]
pub r#ref: Box<models::ReferenceProperties>,
}
impl CodeblockReferenceProperties {
/// A reference to a stored codeblock. Either the identifier or the name need to be specified.
pub fn new(r#ref: models::ReferenceProperties) -> CodeblockReferenceProperties {
CodeblockReferenceProperties {
r#ref: Box::new(r#ref),
}
}
}