/*
* Linkbreakers API
*
* This is a documentation of all the APIs of Linkbreakers
*
* The version of the OpenAPI document: 1.135.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ConnectWorkflowStepResponse {
/// Steps that nothing can reach now that this connection changed. Empty means the whole workflow is still connected.
#[serde(rename = "disconnectedSteps", skip_serializing_if = "Option::is_none")]
pub disconnected_steps: Option<Vec<models::WorkflowIssue>>,
/// Branches of this step that still lead nowhere, reported without being asked for. Wiring one branch of a condition and forgetting the rest is the most common way a workflow ships broken: the visitor who takes an unwired branch falls through to the fallback URL. Nothing here is unreachable, so a graph-level check would not catch it — only the step itself knows. Empty means every exit of this step leads somewhere.
#[serde(rename = "unconnectedBranchIds", skip_serializing_if = "Option::is_none")]
pub unconnected_branch_ids: Option<Vec<String>>,
#[serde(rename = "workflowStep", skip_serializing_if = "Option::is_none")]
pub workflow_step: Option<Box<models::WorkflowStep>>,
}
impl ConnectWorkflowStepResponse {
pub fn new() -> ConnectWorkflowStepResponse {
ConnectWorkflowStepResponse {
disconnected_steps: None,
unconnected_branch_ids: None,
workflow_step: None,
}
}
}