opensearch-client 0.3.2

Strongly typed OpenSearch Client
Documentation
/*
 * opensearch-client
 *
 * Rust Client for OpenSearch
 *
 * The version of the OpenAPI document: 3.1.0
 * Contact: alberto.paro@gmail.com
 * Generated by Paro OpenAPI Generator
 */

use crate::notifications;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListFeaturesResponse {
    #[serde(
        rename = "plugin_features",
        default,
        skip_serializing_if = "Option::is_none"
    )]
    pub plugin_features: Option<notifications::NotificationsPluginFeaturesMap>,
    #[serde(
        rename = "allowed_config_type_list",
        default,
        skip_serializing_if = "Option::is_none"
    )]
    pub allowed_config_type_list: Option<Vec<String>>,
}

impl ListFeaturesResponse {
    pub fn new() -> ListFeaturesResponse {
        ListFeaturesResponse {
            plugin_features: None,
            allowed_config_type_list: None,
        }
    }
}