dtz_core/models/
static_content_http.rs

1/*
2 * DTZ Core Api
3 *
4 * a generated client for the DTZ Core API
5 *
6 * The version of the OpenAPI document: 1.1.2
7 * Contact: jens@apimeister.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[allow(unused)]
12use crate::models;
13
14
15
16
17#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
18pub struct StaticContentHttp {
19    #[serde(rename = "header", skip_serializing_if = "Option::is_none")]
20    pub header: Option<Vec<models::StaticContentHttpHeaderInner>>,
21    /// base64 encoded content
22    #[serde(rename = "content")]
23    pub content: String,
24}
25
26impl StaticContentHttp {
27    pub fn new(content: String) -> StaticContentHttp {
28        StaticContentHttp {
29            header: None,
30            content,
31        }
32    }
33}
34
35