/*
* NetBox REST API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 4.6.2 (4.6)
*
* Generated by: https://openapi-generator.tech
*/
/// RenderConfigInputRequest : Describes the request body for the device/VM /render-config/ endpoints. Any additional keys supplied are passed through as context variables to the rendered template.
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct RenderConfigInputRequest {
/// Optional ID of the ConfigTemplate to render. If omitted, the object's assigned config template is used.
#[serde(rename = "config_template_id", skip_serializing_if = "Option::is_none")]
pub config_template_id: Option<i32>,
}
impl RenderConfigInputRequest {
/// Describes the request body for the device/VM /render-config/ endpoints. Any additional keys supplied are passed through as context variables to the rendered template.
pub fn new() -> RenderConfigInputRequest {
RenderConfigInputRequest {
config_template_id: None,
}
}
}