ash_api 0.1.7

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Hai (Ash API) specifications.
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 0.1.7
 * Contact: E36 Knots
 * Generated by: https://openapi-generator.tech
 */

/// AvalancheNodeResourceBaseNodeConfig : Configuration of the node



#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct AvalancheNodeResourceBaseNodeConfig {
    /// Whether the node is a bootstrap node of the network
    #[serde(rename = "isBootstrapNode", skip_serializing_if = "Option::is_none")]
    pub is_bootstrap_node: Option<bool>,
    /// Avalanche node configuration as JSON
    #[serde(rename = "avalancheNodeConfig", skip_serializing_if = "Option::is_none")]
    pub avalanche_node_config: Option<serde_json::Value>,
}

impl AvalancheNodeResourceBaseNodeConfig {
    /// Configuration of the node
    pub fn new() -> AvalancheNodeResourceBaseNodeConfig {
        AvalancheNodeResourceBaseNodeConfig {
            is_bootstrap_node: None,
            avalanche_node_config: None,
        }
    }
}