// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Body for POST /v1/workflows/edges.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct WorkflowEdgeCreateRequest {
    /// Workflow to create the edge in.
    pub workflow_id: String,
    /// Opaque edge ID. Omit to let the server generate one.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub id: Option<String>,
    /// Source block ID
    pub source_block: String,
    /// Target block ID
    pub target_block: String,
    /// Output handle
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub source_handle: Option<String>,
    /// Input handle
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub target_handle: Option<String>,
}
