/*
* 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 PagesEnvVar {
/// Type is \"plain_text\" or \"secret_text\" and decides that: plain text is readable afterwards, secret text is write-only. Empty is Cloudflare's default, plain_text — so a secret with no type set is stored in the clear.
#[serde(rename = "type", skip_serializing_if = "Option::is_none")]
pub r#type: Option<String>,
/// Value is the variable's value. Under type \"secret_text\" Cloudflare encrypts it on arrival and never reads it back, so a later read of the project shows the variable without this.
#[serde(rename = "value", skip_serializing_if = "Option::is_none")]
pub value: Option<String>,
}
impl PagesEnvVar {
pub fn new() -> PagesEnvVar {
PagesEnvVar {
r#type: None,
value: None,
}
}
}