use serde::{Deserialize, Serialize}; /*
                                      * Compute Engine API
                                      *
                                      * Creates and runs virtual machines on Google Cloud Platform.
                                      *
                                      * The version of the OpenAPI document: v1
                                      *
                                      * Generated by: https://openapi-generator.tech
                                      */

use crate::google_rest_apis::compute_v1::models;

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SecurityPolicyAdvancedOptionsConfigJsonCustomConfig {
    /// A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type \"/\" subtype *[\";\" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
    #[serde(rename = "contentTypes", skip_serializing_if = "Option::is_none")]
    pub content_types: Option<Vec<String>>,
}

impl SecurityPolicyAdvancedOptionsConfigJsonCustomConfig {
    pub fn new() -> SecurityPolicyAdvancedOptionsConfigJsonCustomConfig {
        SecurityPolicyAdvancedOptionsConfigJsonCustomConfig {
            content_types: None,
        }
    }
}
