/*
* 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 GraphOut {
/// Degraded is true when the store was unreachable and this graph is honestly empty rather than wrong. Absent on a normal answer.
#[serde(rename = "degraded", skip_serializing_if = "Option::is_none")]
pub degraded: Option<bool>,
/// Edges are the parent tree, the resolved wikilinks and the connector provenance.
#[serde(rename = "edges", skip_serializing_if = "Option::is_none")]
pub edges: Option<Vec<models::GraphEdge>>,
/// Nodes are the pages, memories, sources, connectors and unresolved link targets.
#[serde(rename = "nodes", skip_serializing_if = "Option::is_none")]
pub nodes: Option<Vec<models::GraphNode>>,
}
impl GraphOut {
pub fn new() -> GraphOut {
GraphOut {
degraded: None,
edges: None,
nodes: None,
}
}
}