nautobot-openapi 0.1.1

low level nautobot bindings (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * API Documentation
 *
 * Source of truth and network automation platform
 *
 * The version of the OpenAPI document: 2.4.20 (2.4)
 *
 * Generated by: https://openapi-generator.tech
 */

/// RenderJinjaRequest : Serializer for RenderJinjaView.

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct RenderJinjaRequest {
    #[serde(rename = "template_code")]
    pub template_code: String,
    #[serde(rename = "context", skip_serializing_if = "Option::is_none")]
    pub context: Option<::std::collections::HashMap<String, serde_json::Value>>,
}

impl RenderJinjaRequest {
    /// Serializer for RenderJinjaView.
    pub fn new(template_code: String) -> RenderJinjaRequest {
        RenderJinjaRequest {
            template_code,
            context: None,
        }
    }
}