Skip to content

Commit

Permalink
feat: expose workflow struct properties
Browse files Browse the repository at this point in the history
  • Loading branch information
onnovalkering committed Apr 30, 2020
1 parent cbf0321 commit 8200b0c
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions src/v11_wf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,25 +48,25 @@ pub enum WorkflowInputs {
#[serde(rename_all = "camelCase")]
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct WorkflowInputParameter {
r#type: WorkflowInputParameterType,
pub r#type: WorkflowInputParameterType,

label: Option<String>,
pub label: Option<String>,

secondary_files: SecondaryFiles,
pub secondary_files: SecondaryFiles,

streamable: Option<bool>,
pub streamable: Option<bool>,

default: Option<Any>,
pub default: Option<Any>,

doc: Option<Documentation>,
pub doc: Option<Documentation>,

id: Option<String>,
pub id: Option<String>,

format: Option<Format>,
pub format: Option<Format>,

load_contents: Option<bool>,
pub load_contents: Option<bool>,

load_listing: Option<String>,
pub load_listing: Option<String>,
}

#[serde(untagged, rename_all = "camelCase")]
Expand Down Expand Up @@ -95,25 +95,25 @@ pub enum WorkflowOutputs {
#[serde(rename_all = "camelCase")]
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct WorkflowOutputParameter {
r#type: WorkflowOutputParameterType,
pub r#type: WorkflowOutputParameterType,

label: Option<String>,
pub label: Option<String>,

secondary_files: SecondaryFiles,
pub secondary_files: SecondaryFiles,

streamable: Option<bool>,
pub streamable: Option<bool>,

default: Option<YValue>,
pub default: Option<YValue>,

doc: Option<Documentation>,
pub doc: Option<Documentation>,

id: Option<String>,
pub id: Option<String>,

format: Option<Format>,
pub format: Option<Format>,

output_source: Option<WorkflowOutputParameterOutputSource>,
pub output_source: Option<WorkflowOutputParameterOutputSource>,

link_merge: Option<String>,
pub link_merge: Option<String>,
}

#[serde(untagged, rename_all = "camelCase")]
Expand Down

0 comments on commit 8200b0c

Please sign in to comment.