/*
* Hanzo Cloud API
*
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GenerateRequest {
/// Data supplies every merge field the template declares, keyed by field key. Every declared field is REQUIRED: a missing one is refused with 400 rather than rendered as a blank into a contract.
#[serde(rename = "data", skip_serializing_if = "Option::is_none")]
pub data: Option<std::collections::HashMap<String, String>>,
/// TemplateID is the template to render. Required; resolved for the caller's org, so an override wins over the built-in.
#[serde(rename = "templateId", skip_serializing_if = "Option::is_none")]
pub template_id: Option<String>,
}
impl GenerateRequest {
pub fn new() -> GenerateRequest {
GenerateRequest {
data: None,
template_id: None,
}
}
}