diff --git a/cmd/cli.go b/cmd/cli.go index 6b95981c..1fd501f8 100644 --- a/cmd/cli.go +++ b/cmd/cli.go @@ -15403,7 +15403,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "ExportedObjects", "ExportedObjects as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "ImportOrder", "ImportOrder as JSON") if isMoRef([]openapi.MoMoRef{}) { cmd.Flags().String("Items", "", "Items") @@ -15951,7 +15951,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "ExportedObjects", "ExportedObjects as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "ImportOrder", "ImportOrder as JSON") if isMoRef([]openapi.MoMoRef{}) { cmd.Flags().String("Items", "", "Items") @@ -16105,7 +16105,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "ExportedObjects", "ExportedObjects as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "ImportOrder", "ImportOrder as JSON") if isMoRef([]openapi.MoMoRef{}) { cmd.Flags().String("Items", "", "Items") @@ -96632,7 +96632,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "IdpReference", "IdpReference as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Preference", "Preference as JSON") cmd.Flags().String("UserUniqueIdentifier", "", "UserUniqueIdentifier") @@ -96766,7 +96766,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "IdpReference", "IdpReference as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Preference", "Preference as JSON") cmd.Flags().String("UserUniqueIdentifier", "", "UserUniqueIdentifier") @@ -157267,7 +157267,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("NamingProperty", "", "NamingProperty") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Queries", "Queries as JSON") cmd.Flags().String("Type", "", "Type") @@ -157376,7 +157376,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("NamingProperty", "", "NamingProperty") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Queries", "Queries as JSON") cmd.Flags().String("Type", "", "Type") @@ -157485,7 +157485,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("NamingProperty", "", "NamingProperty") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Queries", "Queries as JSON") cmd.Flags().String("Type", "", "Type") @@ -157594,7 +157594,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("NamingProperty", "", "NamingProperty") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Queries", "Queries as JSON") cmd.Flags().String("Type", "", "Type") @@ -157703,7 +157703,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("NamingProperty", "", "NamingProperty") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Queries", "Queries as JSON") cmd.Flags().String("Type", "", "Type") @@ -157812,7 +157812,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("NamingProperty", "", "NamingProperty") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Queries", "Queries as JSON") cmd.Flags().String("Type", "", "Type") @@ -157921,7 +157921,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("NamingProperty", "", "NamingProperty") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Queries", "Queries as JSON") cmd.Flags().String("Type", "", "Type") @@ -158030,7 +158030,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("NamingProperty", "", "NamingProperty") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Queries", "Queries as JSON") cmd.Flags().String("Type", "", "Type") @@ -158139,7 +158139,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("NamingProperty", "", "NamingProperty") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Queries", "Queries as JSON") cmd.Flags().String("Type", "", "Type") @@ -158248,7 +158248,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("NamingProperty", "", "NamingProperty") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Queries", "Queries as JSON") cmd.Flags().String("Type", "", "Type") @@ -158357,7 +158357,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("NamingProperty", "", "NamingProperty") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Queries", "Queries as JSON") cmd.Flags().String("Type", "", "Type") @@ -158466,7 +158466,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("NamingProperty", "", "NamingProperty") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Queries", "Queries as JSON") cmd.Flags().String("Type", "", "Type") @@ -158575,7 +158575,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("NamingProperty", "", "NamingProperty") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Queries", "Queries as JSON") cmd.Flags().String("Type", "", "Type") @@ -158684,7 +158684,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("NamingProperty", "", "NamingProperty") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Queries", "Queries as JSON") cmd.Flags().String("Type", "", "Type") @@ -159315,7 +159315,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Operation", "", "Operation") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().String("PlatformType", "", "PlatformType") @@ -159339,13 +159339,13 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Status", "", "Status") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Stderr", "Stderr as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Stdout", "Stdout as JSON") cmd.Flags().String("TaskId", "", "TaskId") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Variables", "Variables as JSON") if isMoRef(openapi.WorkflowWorkflowInfoRelationship{}) { cmd.Flags().String("WorkflowInfo", "", "WorkflowInfo") @@ -159476,7 +159476,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Operation", "", "Operation") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().String("PlatformType", "", "PlatformType") @@ -159500,13 +159500,13 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Status", "", "Status") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Stderr", "Stderr as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Stdout", "Stdout as JSON") cmd.Flags().String("TaskId", "", "TaskId") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Variables", "Variables as JSON") if isMoRef(openapi.WorkflowWorkflowInfoRelationship{}) { cmd.Flags().String("WorkflowInfo", "", "WorkflowInfo") @@ -159648,7 +159648,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Operation", "", "Operation") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().String("PlatformType", "", "PlatformType") @@ -159672,13 +159672,13 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Status", "", "Status") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Stderr", "Stderr as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Stdout", "Stdout as JSON") cmd.Flags().String("TaskId", "", "TaskId") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Variables", "Variables as JSON") if isMoRef(openapi.WorkflowWorkflowInfoRelationship{}) { cmd.Flags().String("WorkflowInfo", "", "WorkflowInfo") @@ -170170,7 +170170,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().StringSlice("DnsSuffixList", []string{}, "DnsSuffixList") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "ExtraConfig", "ExtraConfig as JSON") cmd.Flags().String("Folder", "", "Folder") @@ -170480,7 +170480,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().StringSlice("DnsSuffixList", []string{}, "DnsSuffixList") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "ExtraConfig", "ExtraConfig as JSON") cmd.Flags().String("Folder", "", "Folder") @@ -179828,15 +179828,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowTaskDefinitionRelationship{}) { cmd.Flags().String("TaskDefinition", "", "TaskDefinition") @@ -179961,15 +179961,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowErrorResponseHandlerRelationship{}) { cmd.Flags().String("ErrorResponseHandler", "", "ErrorResponseHandler") @@ -180352,15 +180352,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowErrorResponseHandlerRelationship{}) { cmd.Flags().String("ErrorResponseHandler", "", "ErrorResponseHandler") @@ -180616,7 +180616,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "OutputParameters", "OutputParameters as JSON") cmd.Flags().Int64("Periodicity", 0, "Periodicity") @@ -180767,7 +180767,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("EndTime", "", "EndTime") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Input", "Input as JSON") cmd.Flags().String("LastAction", "", "LastAction") @@ -181269,7 +181269,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") if isMoRef(openapi.WorkflowServiceItemInstanceRelationship{}) { cmd.Flags().String("ServiceItemInstance", "", "ServiceItemInstance") @@ -181394,7 +181394,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "OutputParameters", "OutputParameters as JSON") cmd.Flags().Int64("Periodicity", 0, "Periodicity") @@ -181690,15 +181690,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowTaskDefinitionRelationship{}) { cmd.Flags().String("TaskDefinition", "", "TaskDefinition") @@ -182099,7 +182099,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "ExpectedOutputDataType", "ExpectedOutputDataType as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().String("PreviewTemplate", "", "PreviewTemplate") @@ -182109,7 +182109,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "Stages", "Stages as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Values", "Values as JSON") return cmd }()) @@ -182343,15 +182343,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowTaskDefinitionRelationship{}) { cmd.Flags().String("TaskDefinition", "", "TaskDefinition") @@ -182499,15 +182499,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowTaskDefinitionRelationship{}) { cmd.Flags().String("TaskDefinition", "", "TaskDefinition") @@ -182647,15 +182647,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowErrorResponseHandlerRelationship{}) { cmd.Flags().String("ErrorResponseHandler", "", "ErrorResponseHandler") @@ -182809,15 +182809,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowErrorResponseHandlerRelationship{}) { cmd.Flags().String("ErrorResponseHandler", "", "ErrorResponseHandler") @@ -183543,15 +183543,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowErrorResponseHandlerRelationship{}) { cmd.Flags().String("ErrorResponseHandler", "", "ErrorResponseHandler") @@ -183705,15 +183705,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowErrorResponseHandlerRelationship{}) { cmd.Flags().String("ErrorResponseHandler", "", "ErrorResponseHandler") @@ -184147,7 +184147,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "OutputParameters", "OutputParameters as JSON") cmd.Flags().Int64("Periodicity", 0, "Periodicity") @@ -184333,7 +184333,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "OutputParameters", "OutputParameters as JSON") cmd.Flags().Int64("Periodicity", 0, "Periodicity") @@ -184499,7 +184499,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("EndTime", "", "EndTime") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Input", "Input as JSON") cmd.Flags().String("LastAction", "", "LastAction") @@ -184667,7 +184667,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("EndTime", "", "EndTime") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Input", "Input as JSON") cmd.Flags().String("LastAction", "", "LastAction") @@ -185663,7 +185663,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") if isMoRef(openapi.WorkflowServiceItemInstanceRelationship{}) { cmd.Flags().String("ServiceItemInstance", "", "ServiceItemInstance") @@ -185791,7 +185791,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") if isMoRef(openapi.WorkflowServiceItemInstanceRelationship{}) { cmd.Flags().String("ServiceItemInstance", "", "ServiceItemInstance") @@ -185931,7 +185931,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "OutputParameters", "OutputParameters as JSON") cmd.Flags().Int64("Periodicity", 0, "Periodicity") @@ -186119,7 +186119,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "OutputParameters", "OutputParameters as JSON") cmd.Flags().Int64("Periodicity", 0, "Periodicity") @@ -186599,15 +186599,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowTaskDefinitionRelationship{}) { cmd.Flags().String("TaskDefinition", "", "TaskDefinition") @@ -186755,15 +186755,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowTaskDefinitionRelationship{}) { cmd.Flags().String("TaskDefinition", "", "TaskDefinition") @@ -187239,7 +187239,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("FailureReason", "", "FailureReason") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Input", "Input as JSON") cmd.Flags().String("InstId", "", "InstId") @@ -187255,7 +187255,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().String("RefName", "", "RefName") @@ -187429,7 +187429,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("FailureReason", "", "FailureReason") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Input", "Input as JSON") cmd.Flags().String("InstId", "", "InstId") @@ -187445,7 +187445,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().String("RefName", "", "RefName") @@ -187649,7 +187649,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "OutputDefinition", "OutputDefinition as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "OutputParameters", "OutputParameters as JSON") if isMoRef(openapi.WorkflowWorkflowProperties{}) { cmd.Flags().String("Properties", "", "Properties") @@ -187669,7 +187669,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "UiInputFilters", "UiInputFilters as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowValidationInformation{}) { cmd.Flags().String("ValidationInformation", "", "ValidationInformation") @@ -187853,7 +187853,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "OutputDefinition", "OutputDefinition as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "OutputParameters", "OutputParameters as JSON") if isMoRef(openapi.WorkflowWorkflowProperties{}) { cmd.Flags().String("Properties", "", "Properties") @@ -187873,7 +187873,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "UiInputFilters", "UiInputFilters as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowValidationInformation{}) { cmd.Flags().String("ValidationInformation", "", "ValidationInformation") @@ -188027,7 +188027,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Int64("FailedWorkflowCleanupDuration", 0, "FailedWorkflowCleanupDuration") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Input", "Input as JSON") cmd.Flags().String("InstId", "", "InstId") @@ -188051,7 +188051,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "Organization", "Organization as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") if isMoRef(openapi.WorkflowTaskInfoRelationship{}) { cmd.Flags().String("ParentTaskInfo", "", "ParentTaskInfo") @@ -188105,7 +188105,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("UserId", "", "UserId") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Variable", "Variable as JSON") cmd.Flags().String("WaitReason", "", "WaitReason") @@ -188263,7 +188263,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Int64("FailedWorkflowCleanupDuration", 0, "FailedWorkflowCleanupDuration") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Input", "Input as JSON") cmd.Flags().String("InstId", "", "InstId") @@ -188287,7 +188287,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "Organization", "Organization as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") if isMoRef(openapi.WorkflowTaskInfoRelationship{}) { cmd.Flags().String("ParentTaskInfo", "", "ParentTaskInfo") @@ -188341,7 +188341,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("UserId", "", "UserId") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Variable", "Variable as JSON") cmd.Flags().String("WaitReason", "", "WaitReason") @@ -188501,7 +188501,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "OutputDefinition", "OutputDefinition as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "OutputParameters", "OutputParameters as JSON") if isMoRef(openapi.WorkflowWorkflowProperties{}) { cmd.Flags().String("Properties", "", "Properties") @@ -188521,7 +188521,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "UiInputFilters", "UiInputFilters as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowValidationInformation{}) { cmd.Flags().String("ValidationInformation", "", "ValidationInformation") @@ -188660,7 +188660,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Int64("FailedWorkflowCleanupDuration", 0, "FailedWorkflowCleanupDuration") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Input", "Input as JSON") cmd.Flags().String("InstId", "", "InstId") @@ -188684,7 +188684,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "Organization", "Organization as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") if isMoRef(openapi.WorkflowTaskInfoRelationship{}) { cmd.Flags().String("ParentTaskInfo", "", "ParentTaskInfo") @@ -188738,7 +188738,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("UserId", "", "UserId") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Variable", "Variable as JSON") cmd.Flags().String("WaitReason", "", "WaitReason") @@ -396667,7 +396667,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "ExportedObjects", "ExportedObjects as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "ImportOrder", "ImportOrder as JSON") if isMoRef([]openapi.MoMoRef{}) { cmd.Flags().String("Items", "", "Items") @@ -396821,7 +396821,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "ExportedObjects", "ExportedObjects as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "ImportOrder", "ImportOrder as JSON") if isMoRef([]openapi.MoMoRef{}) { cmd.Flags().String("Items", "", "Items") @@ -458363,7 +458363,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "IdpReference", "IdpReference as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Preference", "Preference as JSON") cmd.Flags().String("UserUniqueIdentifier", "", "UserUniqueIdentifier") @@ -458497,7 +458497,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "IdpReference", "IdpReference as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Preference", "Preference as JSON") cmd.Flags().String("UserUniqueIdentifier", "", "UserUniqueIdentifier") @@ -505881,7 +505881,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Operation", "", "Operation") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().String("PlatformType", "", "PlatformType") @@ -505905,13 +505905,13 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Status", "", "Status") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Stderr", "Stderr as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Stdout", "Stdout as JSON") cmd.Flags().String("TaskId", "", "TaskId") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Variables", "Variables as JSON") if isMoRef(openapi.WorkflowWorkflowInfoRelationship{}) { cmd.Flags().String("WorkflowInfo", "", "WorkflowInfo") @@ -506053,7 +506053,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Operation", "", "Operation") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().String("PlatformType", "", "PlatformType") @@ -506077,13 +506077,13 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Status", "", "Status") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Stderr", "Stderr as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Stdout", "Stdout as JSON") cmd.Flags().String("TaskId", "", "TaskId") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Variables", "Variables as JSON") if isMoRef(openapi.WorkflowWorkflowInfoRelationship{}) { cmd.Flags().String("WorkflowInfo", "", "WorkflowInfo") @@ -515829,7 +515829,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().StringSlice("DnsSuffixList", []string{}, "DnsSuffixList") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "ExtraConfig", "ExtraConfig as JSON") cmd.Flags().String("Folder", "", "Folder") @@ -516139,7 +516139,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().StringSlice("DnsSuffixList", []string{}, "DnsSuffixList") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "ExtraConfig", "ExtraConfig as JSON") cmd.Flags().String("Folder", "", "Folder") @@ -522661,15 +522661,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowTaskDefinitionRelationship{}) { cmd.Flags().String("TaskDefinition", "", "TaskDefinition") @@ -522817,15 +522817,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowTaskDefinitionRelationship{}) { cmd.Flags().String("TaskDefinition", "", "TaskDefinition") @@ -522965,15 +522965,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowErrorResponseHandlerRelationship{}) { cmd.Flags().String("ErrorResponseHandler", "", "ErrorResponseHandler") @@ -523127,15 +523127,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowErrorResponseHandlerRelationship{}) { cmd.Flags().String("ErrorResponseHandler", "", "ErrorResponseHandler") @@ -523861,15 +523861,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowErrorResponseHandlerRelationship{}) { cmd.Flags().String("ErrorResponseHandler", "", "ErrorResponseHandler") @@ -524023,15 +524023,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowErrorResponseHandlerRelationship{}) { cmd.Flags().String("ErrorResponseHandler", "", "ErrorResponseHandler") @@ -524465,7 +524465,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "OutputParameters", "OutputParameters as JSON") cmd.Flags().Int64("Periodicity", 0, "Periodicity") @@ -524651,7 +524651,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "OutputParameters", "OutputParameters as JSON") cmd.Flags().Int64("Periodicity", 0, "Periodicity") @@ -524817,7 +524817,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("EndTime", "", "EndTime") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Input", "Input as JSON") cmd.Flags().String("LastAction", "", "LastAction") @@ -524985,7 +524985,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("EndTime", "", "EndTime") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Input", "Input as JSON") cmd.Flags().String("LastAction", "", "LastAction") @@ -525981,7 +525981,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") if isMoRef(openapi.WorkflowServiceItemInstanceRelationship{}) { cmd.Flags().String("ServiceItemInstance", "", "ServiceItemInstance") @@ -526109,7 +526109,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") if isMoRef(openapi.WorkflowServiceItemInstanceRelationship{}) { cmd.Flags().String("ServiceItemInstance", "", "ServiceItemInstance") @@ -526249,7 +526249,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "OutputParameters", "OutputParameters as JSON") cmd.Flags().Int64("Periodicity", 0, "Periodicity") @@ -526437,7 +526437,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "OutputParameters", "OutputParameters as JSON") cmd.Flags().Int64("Periodicity", 0, "Periodicity") @@ -526917,15 +526917,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowTaskDefinitionRelationship{}) { cmd.Flags().String("TaskDefinition", "", "TaskDefinition") @@ -527073,15 +527073,15 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Outcomes", "Outcomes as JSON") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().Bool("RetryFromFailedApi", false, "RetryFromFailedApi") cmd.Flags().String("SkipOnCondition", "", "SkipOnCondition") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowTaskDefinitionRelationship{}) { cmd.Flags().String("TaskDefinition", "", "TaskDefinition") @@ -527557,7 +527557,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("FailureReason", "", "FailureReason") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Input", "Input as JSON") cmd.Flags().String("InstId", "", "InstId") @@ -527573,7 +527573,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().String("RefName", "", "RefName") @@ -527747,7 +527747,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("FailureReason", "", "FailureReason") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Input", "Input as JSON") cmd.Flags().String("InstId", "", "InstId") @@ -527763,7 +527763,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("Name", "", "Name") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") cmd.Flags().String("RefName", "", "RefName") @@ -527967,7 +527967,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "OutputDefinition", "OutputDefinition as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "OutputParameters", "OutputParameters as JSON") if isMoRef(openapi.WorkflowWorkflowProperties{}) { cmd.Flags().String("Properties", "", "Properties") @@ -527987,7 +527987,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "UiInputFilters", "UiInputFilters as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowValidationInformation{}) { cmd.Flags().String("ValidationInformation", "", "ValidationInformation") @@ -528171,7 +528171,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "OutputDefinition", "OutputDefinition as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "OutputParameters", "OutputParameters as JSON") if isMoRef(openapi.WorkflowWorkflowProperties{}) { cmd.Flags().String("Properties", "", "Properties") @@ -528191,7 +528191,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "UiInputFilters", "UiInputFilters as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "UiRenderingData", "UiRenderingData as JSON") if isMoRef(openapi.WorkflowValidationInformation{}) { cmd.Flags().String("ValidationInformation", "", "ValidationInformation") @@ -528345,7 +528345,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Int64("FailedWorkflowCleanupDuration", 0, "FailedWorkflowCleanupDuration") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Input", "Input as JSON") cmd.Flags().String("InstId", "", "InstId") @@ -528369,7 +528369,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "Organization", "Organization as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") if isMoRef(openapi.WorkflowTaskInfoRelationship{}) { cmd.Flags().String("ParentTaskInfo", "", "ParentTaskInfo") @@ -528423,7 +528423,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("UserId", "", "UserId") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Variable", "Variable as JSON") cmd.Flags().String("WaitReason", "", "WaitReason") @@ -528581,7 +528581,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Int64("FailedWorkflowCleanupDuration", 0, "FailedWorkflowCleanupDuration") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Input", "Input as JSON") cmd.Flags().String("InstId", "", "InstId") @@ -528605,7 +528605,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().Var(&ComplexValue{}, "Organization", "Organization as JSON") } - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Output", "Output as JSON") if isMoRef(openapi.WorkflowTaskInfoRelationship{}) { cmd.Flags().String("ParentTaskInfo", "", "ParentTaskInfo") @@ -528659,7 +528659,7 @@ Provide resource body as JSON on standard input`, cmd.Flags().String("UserId", "", "UserId") - //Skipping unhandled param type + cmd.Flags().Var(&ComplexValue{}, "Variable", "Variable as JSON") cmd.Flags().String("WaitReason", "", "WaitReason") diff --git a/cmd/operations.go b/cmd/operations.go index 32272837..f3d6fa11 100644 --- a/cmd/operations.go +++ b/cmd/operations.go @@ -31609,6 +31609,20 @@ func (o *CreateBulkExport) SetBodyParams(client *openapi.APIClient, params map[s } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["ImportOrder"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["ImportOrder"] = ¶mVal + } + } + if v, ok := params["Items"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := []openapi.MoMoRef{} @@ -34935,6 +34949,20 @@ func (o *UpdateBulkExport) SetBodyParams(client *openapi.APIClient, params map[s } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["ImportOrder"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["ImportOrder"] = ¶mVal + } + } + if v, ok := params["Items"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := []openapi.MoMoRef{} @@ -265514,6 +265542,20 @@ func (o *UpdateIamUserPreference) SetBodyParams(client *openapi.APIClient, param } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Preference"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Preference"] = ¶mVal + } + } + log.Tracef("SetBodyParams: after relationship resolving: %v", params) jsTmp, err := json.Marshal(params) @@ -433455,6 +433497,20 @@ func (o *CreateTaskFabricMosScopedInventory) SetBodyParams(client *openapi.APICl } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Queries"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Queries"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -433935,6 +433991,20 @@ func (o *CreateTaskHitachiScopedInventory) SetBodyParams(client *openapi.APIClie } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Queries"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Queries"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -434415,6 +434485,20 @@ func (o *CreateTaskHyperFlexManagementScopedInventory) SetBodyParams(client *ope } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Queries"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Queries"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -434895,6 +434979,20 @@ func (o *CreateTaskHyperflexScopedInventory) SetBodyParams(client *openapi.APICl } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Queries"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Queries"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -435375,6 +435473,20 @@ func (o *CreateTaskIweScopedInventory) SetBodyParams(client *openapi.APIClient, } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Queries"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Queries"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -435855,6 +435967,20 @@ func (o *CreateTaskMdsScopedInventory) SetBodyParams(client *openapi.APIClient, } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Queries"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Queries"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -436335,6 +436461,20 @@ func (o *CreateTaskMdsSystemScopedInventory) SetBodyParams(client *openapi.APICl } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Queries"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Queries"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -436815,6 +436955,20 @@ func (o *CreateTaskNetAppScopedInventory) SetBodyParams(client *openapi.APIClien } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Queries"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Queries"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -437295,6 +437449,20 @@ func (o *CreateTaskNexusScopedInventory) SetBodyParams(client *openapi.APIClient } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Queries"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Queries"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -437775,6 +437943,20 @@ func (o *CreateTaskNexusSystemScopedInventory) SetBodyParams(client *openapi.API } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Queries"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Queries"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -438255,6 +438437,20 @@ func (o *CreateTaskNexusVlanScopedInventory) SetBodyParams(client *openapi.APICl } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Queries"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Queries"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -438735,6 +438931,20 @@ func (o *CreateTaskPublicCloudScopedInventory) SetBodyParams(client *openapi.API } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Queries"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Queries"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -439215,6 +439425,20 @@ func (o *CreateTaskPureScopedInventory) SetBodyParams(client *openapi.APIClient, } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Queries"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Queries"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -439695,6 +439919,20 @@ func (o *CreateTaskServerScopedInventory) SetBodyParams(client *openapi.APIClien } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Queries"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Queries"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -441925,6 +442163,20 @@ func (o *CreateTerraformExecutor) SetBodyParams(client *openapi.APIClient, param } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -442028,6 +442280,48 @@ func (o *CreateTerraformExecutor) SetBodyParams(client *openapi.APIClient, param } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Stderr"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Stderr"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Stdout"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Stdout"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Variables"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Variables"] = ¶mVal + } + } + if v, ok := params["WorkflowInfo"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowWorkflowInfoRelationship{} @@ -442683,6 +442977,20 @@ func (o *UpdateTerraformExecutor) SetBodyParams(client *openapi.APIClient, param } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -442786,6 +443094,48 @@ func (o *UpdateTerraformExecutor) SetBodyParams(client *openapi.APIClient, param } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Stderr"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Stderr"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Stdout"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Stdout"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Variables"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Variables"] = ¶mVal + } + } + if v, ok := params["WorkflowInfo"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowWorkflowInfoRelationship{} @@ -468283,6 +468633,20 @@ func (o *UpdateVirtualizationVmwareVirtualMachine) SetBodyParams(client *openapi } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["ExtraConfig"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["ExtraConfig"] = ¶mVal + } + } + if v, ok := params["Host"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.VirtualizationVmwareHostRelationship{} @@ -497113,6 +497477,48 @@ func (o *CreateWorkflowAnsibleBatchExecutor) SetBodyParams(client *openapi.APICl } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Outcomes"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Outcomes"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["UiRenderingData"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["UiRenderingData"] = ¶mVal + } + } + if v, ok := params["TaskDefinition"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowTaskDefinitionRelationship{} @@ -497836,6 +498242,48 @@ func (o *CreateWorkflowBatchApiExecutor) SetBodyParams(client *openapi.APIClient } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Outcomes"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Outcomes"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["UiRenderingData"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["UiRenderingData"] = ¶mVal + } + } + if v, ok := params["ErrorResponseHandler"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowErrorResponseHandlerRelationship{} @@ -500020,6 +500468,48 @@ func (o *CreateWorkflowPowerShellBatchApiExecutor) SetBodyParams(client *openapi } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Outcomes"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Outcomes"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["UiRenderingData"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["UiRenderingData"] = ¶mVal + } + } + if v, ok := params["ErrorResponseHandler"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowErrorResponseHandlerRelationship{} @@ -501609,6 +502099,20 @@ func (o *CreateWorkflowServiceItemActionDefinition) SetBodyParams(client *openap } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["OutputParameters"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["OutputParameters"] = ¶mVal + } + } + if v, ok := params["PostCoreWorkflows"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := []openapi.WorkflowServiceItemActionWorkflowDefinition{} @@ -502516,6 +503020,20 @@ func (o *CreateWorkflowServiceItemActionInstance) SetBodyParams(client *openapi. } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Input"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Input"] = ¶mVal + } + } + if v, ok := params["ServiceItemActionDefinition"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowServiceItemActionDefinitionRelationship{} @@ -504854,6 +505372,20 @@ func (o *CreateWorkflowServiceItemOutput) SetBodyParams(client *openapi.APIClien } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + if v, ok := params["ServiceItemInstance"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowServiceItemInstanceRelationship{} @@ -505646,6 +506178,20 @@ func (o *CreateWorkflowSolutionActionDefinition) SetBodyParams(client *openapi.A } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["OutputParameters"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["OutputParameters"] = ¶mVal + } + } + if v, ok := params["PostCoreWorkflows"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := []openapi.WorkflowActionWorkflowDefinition{} @@ -507369,6 +507915,48 @@ func (o *CreateWorkflowSshBatchExecutor) SetBodyParams(client *openapi.APIClient } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Outcomes"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Outcomes"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["UiRenderingData"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["UiRenderingData"] = ¶mVal + } + } + if v, ok := params["TaskDefinition"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowTaskDefinitionRelationship{} @@ -509238,6 +509826,20 @@ func (o *CreateWorkflowTemplateEvaluation) SetBodyParams(client *openapi.APIClie } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + if v, ok := params["Stages"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := []openapi.TemplateTransformationStage{} @@ -509306,6 +509908,20 @@ func (o *CreateWorkflowTemplateEvaluation) SetBodyParams(client *openapi.APIClie } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Values"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Values"] = ¶mVal + } + } + log.Tracef("SetBodyParams: after relationship resolving: %v", params) jsTmp, err := json.Marshal(params) @@ -510513,6 +511129,48 @@ func (o *UpdateWorkflowAnsibleBatchExecutor) SetBodyParams(client *openapi.APICl } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Outcomes"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Outcomes"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["UiRenderingData"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["UiRenderingData"] = ¶mVal + } + } + if v, ok := params["TaskDefinition"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowTaskDefinitionRelationship{} @@ -511236,6 +511894,48 @@ func (o *UpdateWorkflowBatchApiExecutor) SetBodyParams(client *openapi.APIClient } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Outcomes"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Outcomes"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["UiRenderingData"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["UiRenderingData"] = ¶mVal + } + } + if v, ok := params["ErrorResponseHandler"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowErrorResponseHandlerRelationship{} @@ -513420,6 +514120,48 @@ func (o *UpdateWorkflowPowerShellBatchApiExecutor) SetBodyParams(client *openapi } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Outcomes"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Outcomes"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["UiRenderingData"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["UiRenderingData"] = ¶mVal + } + } + if v, ok := params["ErrorResponseHandler"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowErrorResponseHandlerRelationship{} @@ -515009,6 +515751,20 @@ func (o *UpdateWorkflowServiceItemActionDefinition) SetBodyParams(client *openap } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["OutputParameters"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["OutputParameters"] = ¶mVal + } + } + if v, ok := params["PostCoreWorkflows"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := []openapi.WorkflowServiceItemActionWorkflowDefinition{} @@ -515916,6 +516672,20 @@ func (o *UpdateWorkflowServiceItemActionInstance) SetBodyParams(client *openapi. } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Input"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Input"] = ¶mVal + } + } + if v, ok := params["ServiceItemActionDefinition"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowServiceItemActionDefinitionRelationship{} @@ -518254,6 +519024,20 @@ func (o *UpdateWorkflowServiceItemOutput) SetBodyParams(client *openapi.APIClien } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + if v, ok := params["ServiceItemInstance"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowServiceItemInstanceRelationship{} @@ -519046,6 +519830,20 @@ func (o *UpdateWorkflowSolutionActionDefinition) SetBodyParams(client *openapi.A } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["OutputParameters"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["OutputParameters"] = ¶mVal + } + } + if v, ok := params["PostCoreWorkflows"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := []openapi.WorkflowActionWorkflowDefinition{} @@ -520769,6 +521567,48 @@ func (o *UpdateWorkflowSshBatchExecutor) SetBodyParams(client *openapi.APIClient } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Outcomes"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Outcomes"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["UiRenderingData"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["UiRenderingData"] = ¶mVal + } + } + if v, ok := params["TaskDefinition"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowTaskDefinitionRelationship{} @@ -522250,6 +523090,20 @@ func (o *UpdateWorkflowTaskInfo) SetBodyParams(client *openapi.APIClient, params } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Input"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Input"] = ¶mVal + } + } + if v, ok := params["Message"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := []openapi.WorkflowMessage{} @@ -522318,6 +523172,20 @@ func (o *UpdateWorkflowTaskInfo) SetBodyParams(client *openapi.APIClient, params } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + if v, ok := params["SubWorkflowInfo"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowWorkflowInfoRelationship{} @@ -523509,6 +524377,20 @@ func (o *UpdateWorkflowWorkflowDefinition) SetBodyParams(client *openapi.APIClie } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["OutputParameters"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["OutputParameters"] = ¶mVal + } + } + if v, ok := params["Properties"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowWorkflowProperties{} @@ -523680,6 +524562,20 @@ func (o *UpdateWorkflowWorkflowDefinition) SetBodyParams(client *openapi.APIClie } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["UiRenderingData"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["UiRenderingData"] = ¶mVal + } + } + if v, ok := params["ValidationInformation"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowValidationInformation{} @@ -524465,6 +525361,20 @@ func (o *UpdateWorkflowWorkflowInfo) SetBodyParams(client *openapi.APIClient, pa } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Input"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Input"] = ¶mVal + } + } + if v, ok := params["Message"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := []openapi.WorkflowMessage{} @@ -524568,6 +525478,20 @@ func (o *UpdateWorkflowWorkflowInfo) SetBodyParams(client *openapi.APIClient, pa } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + if v, ok := params["ParentTaskInfo"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowTaskInfoRelationship{} @@ -524776,6 +525700,20 @@ func (o *UpdateWorkflowWorkflowInfo) SetBodyParams(client *openapi.APIClient, pa } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Variable"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Variable"] = ¶mVal + } + } + if v, ok := params["WorkflowCtx"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowWorkflowCtx{} @@ -525761,6 +526699,20 @@ func (o *CreateWorkflowWorkflowDefinition) SetBodyParams(client *openapi.APIClie } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["OutputParameters"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["OutputParameters"] = ¶mVal + } + } + if v, ok := params["Properties"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowWorkflowProperties{} @@ -525932,6 +526884,20 @@ func (o *CreateWorkflowWorkflowDefinition) SetBodyParams(client *openapi.APIClie } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["UiRenderingData"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["UiRenderingData"] = ¶mVal + } + } + if v, ok := params["ValidationInformation"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowValidationInformation{} @@ -526717,6 +527683,20 @@ func (o *CreateWorkflowWorkflowInfo) SetBodyParams(client *openapi.APIClient, pa } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Input"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Input"] = ¶mVal + } + } + if v, ok := params["Message"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := []openapi.WorkflowMessage{} @@ -526820,6 +527800,20 @@ func (o *CreateWorkflowWorkflowInfo) SetBodyParams(client *openapi.APIClient, pa } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + if v, ok := params["ParentTaskInfo"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowTaskInfoRelationship{} @@ -527028,6 +528022,20 @@ func (o *CreateWorkflowWorkflowInfo) SetBodyParams(client *openapi.APIClient, pa } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Variable"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Variable"] = ¶mVal + } + } + if v, ok := params["WorkflowCtx"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowWorkflowCtx{} @@ -624448,6 +625456,20 @@ func (o *PatchBulkExport) SetBodyParams(client *openapi.APIClient, params map[st } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["ImportOrder"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["ImportOrder"] = ¶mVal + } + } + if v, ok := params["Items"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := []openapi.MoMoRef{} @@ -760338,6 +761360,20 @@ func (o *PatchIamUserPreference) SetBodyParams(client *openapi.APIClient, params } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Preference"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Preference"] = ¶mVal + } + } + log.Tracef("SetBodyParams: after relationship resolving: %v", params) jsTmp, err := json.Marshal(params) @@ -860993,6 +862029,20 @@ func (o *PatchTerraformExecutor) SetBodyParams(client *openapi.APIClient, params } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + if v, ok := params["RegisteredDevice"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.AssetDeviceRegistrationRelationship{} @@ -861096,6 +862146,48 @@ func (o *PatchTerraformExecutor) SetBodyParams(client *openapi.APIClient, params } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Stderr"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Stderr"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Stdout"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Stdout"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Variables"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Variables"] = ¶mVal + } + } + if v, ok := params["WorkflowInfo"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowWorkflowInfoRelationship{} @@ -882842,6 +883934,20 @@ func (o *PatchVirtualizationVmwareVirtualMachine) SetBodyParams(client *openapi. } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["ExtraConfig"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["ExtraConfig"] = ¶mVal + } + } + if v, ok := params["Host"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.VirtualizationVmwareHostRelationship{} @@ -897193,6 +898299,48 @@ func (o *PatchWorkflowAnsibleBatchExecutor) SetBodyParams(client *openapi.APICli } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Outcomes"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Outcomes"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["UiRenderingData"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["UiRenderingData"] = ¶mVal + } + } + if v, ok := params["TaskDefinition"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowTaskDefinitionRelationship{} @@ -897916,6 +899064,48 @@ func (o *PatchWorkflowBatchApiExecutor) SetBodyParams(client *openapi.APIClient, } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Outcomes"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Outcomes"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["UiRenderingData"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["UiRenderingData"] = ¶mVal + } + } + if v, ok := params["ErrorResponseHandler"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowErrorResponseHandlerRelationship{} @@ -900100,6 +901290,48 @@ func (o *PatchWorkflowPowerShellBatchApiExecutor) SetBodyParams(client *openapi. } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Outcomes"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Outcomes"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["UiRenderingData"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["UiRenderingData"] = ¶mVal + } + } + if v, ok := params["ErrorResponseHandler"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowErrorResponseHandlerRelationship{} @@ -901689,6 +902921,20 @@ func (o *PatchWorkflowServiceItemActionDefinition) SetBodyParams(client *openapi } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["OutputParameters"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["OutputParameters"] = ¶mVal + } + } + if v, ok := params["PostCoreWorkflows"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := []openapi.WorkflowServiceItemActionWorkflowDefinition{} @@ -902596,6 +903842,20 @@ func (o *PatchWorkflowServiceItemActionInstance) SetBodyParams(client *openapi.A } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Input"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Input"] = ¶mVal + } + } + if v, ok := params["ServiceItemActionDefinition"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowServiceItemActionDefinitionRelationship{} @@ -904934,6 +906194,20 @@ func (o *PatchWorkflowServiceItemOutput) SetBodyParams(client *openapi.APIClient } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + if v, ok := params["ServiceItemInstance"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowServiceItemInstanceRelationship{} @@ -905726,6 +907000,20 @@ func (o *PatchWorkflowSolutionActionDefinition) SetBodyParams(client *openapi.AP } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["OutputParameters"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["OutputParameters"] = ¶mVal + } + } + if v, ok := params["PostCoreWorkflows"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := []openapi.WorkflowActionWorkflowDefinition{} @@ -907449,6 +908737,48 @@ func (o *PatchWorkflowSshBatchExecutor) SetBodyParams(client *openapi.APIClient, } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Outcomes"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Outcomes"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["UiRenderingData"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["UiRenderingData"] = ¶mVal + } + } + if v, ok := params["TaskDefinition"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowTaskDefinitionRelationship{} @@ -908930,6 +910260,20 @@ func (o *PatchWorkflowTaskInfo) SetBodyParams(client *openapi.APIClient, params } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Input"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Input"] = ¶mVal + } + } + if v, ok := params["Message"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := []openapi.WorkflowMessage{} @@ -908998,6 +910342,20 @@ func (o *PatchWorkflowTaskInfo) SetBodyParams(client *openapi.APIClient, params } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + if v, ok := params["SubWorkflowInfo"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowWorkflowInfoRelationship{} @@ -910189,6 +911547,20 @@ func (o *PatchWorkflowWorkflowDefinition) SetBodyParams(client *openapi.APIClien } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["OutputParameters"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["OutputParameters"] = ¶mVal + } + } + if v, ok := params["Properties"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowWorkflowProperties{} @@ -910360,6 +911732,20 @@ func (o *PatchWorkflowWorkflowDefinition) SetBodyParams(client *openapi.APIClien } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["UiRenderingData"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["UiRenderingData"] = ¶mVal + } + } + if v, ok := params["ValidationInformation"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowValidationInformation{} @@ -911145,6 +912531,20 @@ func (o *PatchWorkflowWorkflowInfo) SetBodyParams(client *openapi.APIClient, par } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Input"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Input"] = ¶mVal + } + } + if v, ok := params["Message"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := []openapi.WorkflowMessage{} @@ -911248,6 +912648,20 @@ func (o *PatchWorkflowWorkflowInfo) SetBodyParams(client *openapi.APIClient, par } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Output"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Output"] = ¶mVal + } + } + if v, ok := params["ParentTaskInfo"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowTaskInfoRelationship{} @@ -911456,6 +912870,20 @@ func (o *PatchWorkflowWorkflowInfo) SetBodyParams(client *openapi.APIClient, par } } + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["Variable"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["Variable"] = ¶mVal + } + } + if v, ok := params["WorkflowCtx"]; ok { if complexValue, ok := v.(*ComplexValue); ok { paramVal := openapi.WorkflowWorkflowCtx{} diff --git a/generator/cli.go.tmpl b/generator/cli.go.tmpl index e22dad93..1ff005af 100644 --- a/generator/cli.go.tmpl +++ b/generator/cli.go.tmpl @@ -125,7 +125,9 @@ Provide resource body as JSON on standard input{{ end }}`, } else { cmd.Flags().Var(&ComplexValue{}, "{{ .Name }}", "{{ .Name }} as JSON") } - {{ else }} //Skipping unhandled param type {{ .DataType }} + {{ else if eq .DataType "" }} + cmd.Flags().Var(&ComplexValue{}, "{{ .Name }}", "{{ .Name }} as JSON") + {{ else }} //Skipping unhandled param '{{ .Name }}' with type '{{ .DataType }}' {{ end }} {{ end }} diff --git a/generator/operations.go.tmpl b/generator/operations.go.tmpl index fe97d5ec..a008e625 100644 --- a/generator/operations.go.tmpl +++ b/generator/operations.go.tmpl @@ -120,6 +120,20 @@ import ( } + {{ end }}{{ if eq .DataType "" }} + // if DataType is empty it can be any complex type so parse as JSON + if v, ok := params["{{ .Name }}"]; ok { + if complexValue, ok := v.(*ComplexValue); ok { + var paramVal interface{} + + err := json.Unmarshal([]byte(complexValue.String()), ¶mVal) + if err != nil { + return fmt.Errorf("Error parsing complex (JSON) value: %v", err) + } + + params["{{ .Name }}"] = ¶mVal + } + } {{ end }}{{ if .IsList }} // handle list if v, ok := params["{{ .Name }}"]; ok && isMoRef(openapi.{{ .ListElementType }}{}) {