diff --git a/src/ConductorSharp.Client/ConductorSharp.Client.csproj b/src/ConductorSharp.Client/ConductorSharp.Client.csproj index d5b2a3d2..acfa8e02 100644 --- a/src/ConductorSharp.Client/ConductorSharp.Client.csproj +++ b/src/ConductorSharp.Client/ConductorSharp.Client.csproj @@ -6,7 +6,7 @@ Codaxy Codaxy ConductorSharp.Client - 3.0.0-beta + 3.0.1-beta Client library for Netflix Conductor, with some additional quality of life features. https://github.com/codaxy/conductor-sharp netflix;conductor diff --git a/src/ConductorSharp.Client/Generated/Models.cs b/src/ConductorSharp.Client/Generated/Models.cs index 3a78abb1..ed71393d 100644 --- a/src/ConductorSharp.Client/Generated/Models.cs +++ b/src/ConductorSharp.Client/Generated/Models.cs @@ -1,31 +1,34 @@ //---------------------- // -// Generated using the NSwag toolchain v13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org) +// Generated using the NSwag toolchain v14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org) // //---------------------- #pragma warning disable 108 // Disable "CS0108 '{derivedDto}.ToJson()' hides inherited member '{dtoBase}.ToJson()'. Use the new keyword if hiding was intended." #pragma warning disable 114 // Disable "CS0114 '{derivedDto}.RaisePropertyChanged(String)' hides inherited member 'dtoBase.RaisePropertyChanged(String)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword." #pragma warning disable 472 // Disable "CS0472 The result of the expression is always 'false' since a value of type 'Int32' is never equal to 'null' of type 'Int32?' +#pragma warning disable 612 // Disable "CS0612 '...' is obsolete" #pragma warning disable 1573 // Disable "CS1573 Parameter '...' has no matching param tag in the XML comment for ... #pragma warning disable 1591 // Disable "CS1591 Missing XML comment for publicly visible type or member ..." #pragma warning disable 8073 // Disable "CS8073 The result of the expression is always 'false' since a value of type 'T' is never equal to 'null' of type 'T?'" #pragma warning disable 3016 // Disable "CS3016 Arrays as attribute arguments is not CLS-compliant" #pragma warning disable 8603 // Disable "CS8603 Possible null reference return" +#pragma warning disable 8604 // Disable "CS8604 Possible null reference argument for parameter" +#pragma warning disable 8625 // Disable "CS8625 Cannot convert null literal to non-nullable reference type" namespace ConductorSharp.Client.Generated { using System = global::System; - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class SkipTaskRequest { - [Newtonsoft.Json.JsonProperty("taskInput", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskInput", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary TaskInput { get; set; } - [Newtonsoft.Json.JsonProperty("taskOutput", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskOutput", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary TaskOutput { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -39,13 +42,13 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class BulkResponse { - [Newtonsoft.Json.JsonProperty("bulkErrorResults", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("bulkErrorResults", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary BulkErrorResults { get; set; } - [Newtonsoft.Json.JsonProperty("bulkSuccessfulResults", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("bulkSuccessfulResults", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection BulkSuccessfulResults { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -59,20 +62,20 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class SubWorkflowParams { [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Always)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("version", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int Version { get; set; } + [Newtonsoft.Json.JsonProperty("version", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("taskToDomain", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskToDomain", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary TaskToDomain { get; set; } - [Newtonsoft.Json.JsonProperty("workflowDefinition", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workflowDefinition", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public WorkflowDef WorkflowDefinition { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -86,90 +89,90 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class TaskDef { - [Newtonsoft.Json.JsonProperty("ownerApp", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("ownerApp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string OwnerApp { get; set; } - [Newtonsoft.Json.JsonProperty("createTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long CreateTime { get; set; } + [Newtonsoft.Json.JsonProperty("createTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? CreateTime { get; set; } - [Newtonsoft.Json.JsonProperty("updateTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long UpdateTime { get; set; } + [Newtonsoft.Json.JsonProperty("updateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? UpdateTime { get; set; } - [Newtonsoft.Json.JsonProperty("createdBy", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("createdBy", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string CreatedBy { get; set; } - [Newtonsoft.Json.JsonProperty("updatedBy", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("updatedBy", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UpdatedBy { get; set; } - [Newtonsoft.Json.JsonProperty("accessPolicy", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("accessPolicy", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary AccessPolicy { get; set; } [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Always)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Description { get; set; } - [Newtonsoft.Json.JsonProperty("retryCount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("retryCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Range(0, int.MaxValue)] - public int RetryCount { get; set; } + public int? RetryCount { get; set; } [Newtonsoft.Json.JsonProperty("timeoutSeconds", Required = Newtonsoft.Json.Required.Always)] public long TimeoutSeconds { get; set; } - [Newtonsoft.Json.JsonProperty("inputKeys", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("inputKeys", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection InputKeys { get; set; } - [Newtonsoft.Json.JsonProperty("outputKeys", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("outputKeys", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection OutputKeys { get; set; } - [Newtonsoft.Json.JsonProperty("timeoutPolicy", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("timeoutPolicy", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TaskDefTimeoutPolicy TimeoutPolicy { get; set; } + public TaskDefTimeoutPolicy? TimeoutPolicy { get; set; } - [Newtonsoft.Json.JsonProperty("retryLogic", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("retryLogic", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TaskDefRetryLogic RetryLogic { get; set; } + public TaskDefRetryLogic? RetryLogic { get; set; } - [Newtonsoft.Json.JsonProperty("retryDelaySeconds", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int RetryDelaySeconds { get; set; } + [Newtonsoft.Json.JsonProperty("retryDelaySeconds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? RetryDelaySeconds { get; set; } - [Newtonsoft.Json.JsonProperty("responseTimeoutSeconds", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("responseTimeoutSeconds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Range(1D, double.MaxValue)] - public long ResponseTimeoutSeconds { get; set; } + public long? ResponseTimeoutSeconds { get; set; } - [Newtonsoft.Json.JsonProperty("concurrentExecLimit", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int ConcurrentExecLimit { get; set; } + [Newtonsoft.Json.JsonProperty("concurrentExecLimit", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? ConcurrentExecLimit { get; set; } - [Newtonsoft.Json.JsonProperty("inputTemplate", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("inputTemplate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary InputTemplate { get; set; } - [Newtonsoft.Json.JsonProperty("rateLimitPerFrequency", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int RateLimitPerFrequency { get; set; } + [Newtonsoft.Json.JsonProperty("rateLimitPerFrequency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? RateLimitPerFrequency { get; set; } - [Newtonsoft.Json.JsonProperty("rateLimitFrequencyInSeconds", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int RateLimitFrequencyInSeconds { get; set; } + [Newtonsoft.Json.JsonProperty("rateLimitFrequencyInSeconds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? RateLimitFrequencyInSeconds { get; set; } - [Newtonsoft.Json.JsonProperty("isolationGroupId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("isolationGroupId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string IsolationGroupId { get; set; } - [Newtonsoft.Json.JsonProperty("executionNameSpace", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("executionNameSpace", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ExecutionNameSpace { get; set; } - [Newtonsoft.Json.JsonProperty("ownerEmail", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("ownerEmail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string OwnerEmail { get; set; } - [Newtonsoft.Json.JsonProperty("pollTimeoutSeconds", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("pollTimeoutSeconds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Range(0, int.MaxValue)] - public int PollTimeoutSeconds { get; set; } + public int? PollTimeoutSeconds { get; set; } - [Newtonsoft.Json.JsonProperty("backoffScaleFactor", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("backoffScaleFactor", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Range(1, int.MaxValue)] - public int BackoffScaleFactor { get; set; } + public int? BackoffScaleFactor { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -182,74 +185,74 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class WorkflowDef { - [Newtonsoft.Json.JsonProperty("ownerApp", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("ownerApp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string OwnerApp { get; set; } - [Newtonsoft.Json.JsonProperty("createTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long CreateTime { get; set; } + [Newtonsoft.Json.JsonProperty("createTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? CreateTime { get; set; } - [Newtonsoft.Json.JsonProperty("updateTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long UpdateTime { get; set; } + [Newtonsoft.Json.JsonProperty("updateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? UpdateTime { get; set; } - [Newtonsoft.Json.JsonProperty("createdBy", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("createdBy", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string CreatedBy { get; set; } - [Newtonsoft.Json.JsonProperty("updatedBy", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("updatedBy", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UpdatedBy { get; set; } - [Newtonsoft.Json.JsonProperty("accessPolicy", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("accessPolicy", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary AccessPolicy { get; set; } [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Always)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Description { get; set; } - [Newtonsoft.Json.JsonProperty("version", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int Version { get; set; } + [Newtonsoft.Json.JsonProperty("version", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } [Newtonsoft.Json.JsonProperty("tasks", Required = Newtonsoft.Json.Required.Always)] [System.ComponentModel.DataAnnotations.Required] public System.Collections.Generic.ICollection Tasks { get; set; } = new System.Collections.ObjectModel.Collection(); - [Newtonsoft.Json.JsonProperty("inputParameters", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("inputParameters", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection InputParameters { get; set; } - [Newtonsoft.Json.JsonProperty("outputParameters", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("outputParameters", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary OutputParameters { get; set; } - [Newtonsoft.Json.JsonProperty("failureWorkflow", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("failureWorkflow", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string FailureWorkflow { get; set; } - [Newtonsoft.Json.JsonProperty("schemaVersion", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("schemaVersion", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Range(2, 2)] - public int SchemaVersion { get; set; } + public int? SchemaVersion { get; set; } - [Newtonsoft.Json.JsonProperty("restartable", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool Restartable { get; set; } + [Newtonsoft.Json.JsonProperty("restartable", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Restartable { get; set; } - [Newtonsoft.Json.JsonProperty("workflowStatusListenerEnabled", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool WorkflowStatusListenerEnabled { get; set; } + [Newtonsoft.Json.JsonProperty("workflowStatusListenerEnabled", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? WorkflowStatusListenerEnabled { get; set; } - [Newtonsoft.Json.JsonProperty("ownerEmail", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("ownerEmail", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string OwnerEmail { get; set; } - [Newtonsoft.Json.JsonProperty("timeoutPolicy", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("timeoutPolicy", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public WorkflowDefTimeoutPolicy TimeoutPolicy { get; set; } + public WorkflowDefTimeoutPolicy? TimeoutPolicy { get; set; } [Newtonsoft.Json.JsonProperty("timeoutSeconds", Required = Newtonsoft.Json.Required.Always)] public long TimeoutSeconds { get; set; } - [Newtonsoft.Json.JsonProperty("variables", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("variables", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary Variables { get; set; } - [Newtonsoft.Json.JsonProperty("inputTemplate", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("inputTemplate", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary InputTemplate { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -263,7 +266,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class WorkflowTask { [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Always)] @@ -274,93 +277,93 @@ public partial class WorkflowTask [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string TaskReferenceName { get; set; } - [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("description", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Description { get; set; } - [Newtonsoft.Json.JsonProperty("inputParameters", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("inputParameters", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary InputParameters { get; set; } - [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("type", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Type { get; set; } - [Newtonsoft.Json.JsonProperty("dynamicTaskNameParam", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("dynamicTaskNameParam", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string DynamicTaskNameParam { get; set; } - [Newtonsoft.Json.JsonProperty("caseValueParam", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("caseValueParam", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.Obsolete] public string CaseValueParam { get; set; } - [Newtonsoft.Json.JsonProperty("caseExpression", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("caseExpression", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.Obsolete] public string CaseExpression { get; set; } - [Newtonsoft.Json.JsonProperty("scriptExpression", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("scriptExpression", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ScriptExpression { get; set; } - [Newtonsoft.Json.JsonProperty("decisionCases", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("decisionCases", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary> DecisionCases { get; set; } - [Newtonsoft.Json.JsonProperty("dynamicForkJoinTasksParam", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("dynamicForkJoinTasksParam", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.Obsolete] public string DynamicForkJoinTasksParam { get; set; } - [Newtonsoft.Json.JsonProperty("dynamicForkTasksParam", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("dynamicForkTasksParam", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string DynamicForkTasksParam { get; set; } - [Newtonsoft.Json.JsonProperty("dynamicForkTasksInputParamName", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("dynamicForkTasksInputParamName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string DynamicForkTasksInputParamName { get; set; } - [Newtonsoft.Json.JsonProperty("defaultCase", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("defaultCase", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection DefaultCase { get; set; } - [Newtonsoft.Json.JsonProperty("forkTasks", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("forkTasks", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection> ForkTasks { get; set; } - [Newtonsoft.Json.JsonProperty("startDelay", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int StartDelay { get; set; } + [Newtonsoft.Json.JsonProperty("startDelay", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? StartDelay { get; set; } - [Newtonsoft.Json.JsonProperty("subWorkflowParam", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("subWorkflowParam", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public SubWorkflowParams SubWorkflowParam { get; set; } - [Newtonsoft.Json.JsonProperty("joinOn", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("joinOn", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection JoinOn { get; set; } - [Newtonsoft.Json.JsonProperty("sink", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("sink", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Sink { get; set; } - [Newtonsoft.Json.JsonProperty("optional", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool Optional { get; set; } + [Newtonsoft.Json.JsonProperty("optional", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Optional { get; set; } - [Newtonsoft.Json.JsonProperty("taskDefinition", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskDefinition", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public TaskDef TaskDefinition { get; set; } - [Newtonsoft.Json.JsonProperty("rateLimited", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool RateLimited { get; set; } + [Newtonsoft.Json.JsonProperty("rateLimited", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? RateLimited { get; set; } - [Newtonsoft.Json.JsonProperty("defaultExclusiveJoinTask", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("defaultExclusiveJoinTask", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection DefaultExclusiveJoinTask { get; set; } - [Newtonsoft.Json.JsonProperty("asyncComplete", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool AsyncComplete { get; set; } + [Newtonsoft.Json.JsonProperty("asyncComplete", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? AsyncComplete { get; set; } - [Newtonsoft.Json.JsonProperty("loopCondition", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("loopCondition", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string LoopCondition { get; set; } - [Newtonsoft.Json.JsonProperty("loopOver", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("loopOver", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection LoopOver { get; set; } - [Newtonsoft.Json.JsonProperty("retryCount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int RetryCount { get; set; } + [Newtonsoft.Json.JsonProperty("retryCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? RetryCount { get; set; } - [Newtonsoft.Json.JsonProperty("evaluatorType", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("evaluatorType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string EvaluatorType { get; set; } - [Newtonsoft.Json.JsonProperty("expression", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("expression", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Expression { get; set; } - [Newtonsoft.Json.JsonProperty("workflowTaskType", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workflowTaskType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public WorkflowTaskType WorkflowTaskType { get; set; } + public WorkflowTaskType? WorkflowTaskType { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -373,24 +376,24 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class Action { - [Newtonsoft.Json.JsonProperty("action", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("action", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Action1 Action1 { get; set; } + public Action1? Action1 { get; set; } - [Newtonsoft.Json.JsonProperty("start_workflow", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("start_workflow", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public StartWorkflow Start_workflow { get; set; } - [Newtonsoft.Json.JsonProperty("complete_task", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("complete_task", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public TaskDetails Complete_task { get; set; } - [Newtonsoft.Json.JsonProperty("fail_task", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("fail_task", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public TaskDetails Fail_task { get; set; } - [Newtonsoft.Json.JsonProperty("expandInlineJSON", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool ExpandInlineJSON { get; set; } + [Newtonsoft.Json.JsonProperty("expandInlineJSON", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ExpandInlineJSON { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -403,7 +406,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class EventHandler { [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Always)] @@ -414,17 +417,17 @@ public partial class EventHandler [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string Event { get; set; } - [Newtonsoft.Json.JsonProperty("condition", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("condition", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Condition { get; set; } [Newtonsoft.Json.JsonProperty("actions", Required = Newtonsoft.Json.Required.Always)] [System.ComponentModel.DataAnnotations.Required] public System.Collections.Generic.ICollection Actions { get; set; } = new System.Collections.ObjectModel.Collection(); - [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool Active { get; set; } + [Newtonsoft.Json.JsonProperty("active", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Active { get; set; } - [Newtonsoft.Json.JsonProperty("evaluatorType", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("evaluatorType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string EvaluatorType { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -438,22 +441,22 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class StartWorkflow { - [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("version", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int Version { get; set; } + [Newtonsoft.Json.JsonProperty("version", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("correlationId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("correlationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string CorrelationId { get; set; } - [Newtonsoft.Json.JsonProperty("input", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("input", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary Input { get; set; } - [Newtonsoft.Json.JsonProperty("taskToDomain", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskToDomain", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary TaskToDomain { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -467,19 +470,19 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class TaskDetails { - [Newtonsoft.Json.JsonProperty("workflowId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workflowId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string WorkflowId { get; set; } - [Newtonsoft.Json.JsonProperty("taskRefName", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskRefName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string TaskRefName { get; set; } - [Newtonsoft.Json.JsonProperty("output", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("output", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary Output { get; set; } - [Newtonsoft.Json.JsonProperty("taskId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string TaskId { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -493,34 +496,34 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class StartWorkflowRequest { [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Always)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("version", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int Version { get; set; } + [Newtonsoft.Json.JsonProperty("version", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("correlationId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("correlationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string CorrelationId { get; set; } - [Newtonsoft.Json.JsonProperty("input", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("input", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary Input { get; set; } - [Newtonsoft.Json.JsonProperty("taskToDomain", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskToDomain", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary TaskToDomain { get; set; } - [Newtonsoft.Json.JsonProperty("workflowDef", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workflowDef", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public WorkflowDef WorkflowDef { get; set; } - [Newtonsoft.Json.JsonProperty("externalInputPayloadStoragePath", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("externalInputPayloadStoragePath", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ExternalInputPayloadStoragePath { get; set; } - [Newtonsoft.Json.JsonProperty("priority", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("priority", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Range(0, 99)] - public int Priority { get; set; } + public int? Priority { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -533,22 +536,22 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class RerunWorkflowRequest { - [Newtonsoft.Json.JsonProperty("reRunFromWorkflowId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("reRunFromWorkflowId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ReRunFromWorkflowId { get; set; } - [Newtonsoft.Json.JsonProperty("workflowInput", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workflowInput", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary WorkflowInput { get; set; } - [Newtonsoft.Json.JsonProperty("reRunFromTaskId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("reRunFromTaskId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ReRunFromTaskId { get; set; } - [Newtonsoft.Json.JsonProperty("taskInput", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskInput", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary TaskInput { get; set; } - [Newtonsoft.Json.JsonProperty("correlationId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("correlationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string CorrelationId { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -562,132 +565,132 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class Task { - [Newtonsoft.Json.JsonProperty("taskType", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string TaskType { get; set; } - [Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TaskStatus Status { get; set; } + public TaskStatus? Status { get; set; } - [Newtonsoft.Json.JsonProperty("inputData", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("inputData", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary InputData { get; set; } - [Newtonsoft.Json.JsonProperty("referenceTaskName", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("referenceTaskName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ReferenceTaskName { get; set; } - [Newtonsoft.Json.JsonProperty("retryCount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int RetryCount { get; set; } + [Newtonsoft.Json.JsonProperty("retryCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? RetryCount { get; set; } - [Newtonsoft.Json.JsonProperty("seq", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int Seq { get; set; } + [Newtonsoft.Json.JsonProperty("seq", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Seq { get; set; } - [Newtonsoft.Json.JsonProperty("correlationId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("correlationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string CorrelationId { get; set; } - [Newtonsoft.Json.JsonProperty("pollCount", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int PollCount { get; set; } + [Newtonsoft.Json.JsonProperty("pollCount", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? PollCount { get; set; } - [Newtonsoft.Json.JsonProperty("taskDefName", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskDefName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string TaskDefName { get; set; } - [Newtonsoft.Json.JsonProperty("scheduledTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long ScheduledTime { get; set; } + [Newtonsoft.Json.JsonProperty("scheduledTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? ScheduledTime { get; set; } - [Newtonsoft.Json.JsonProperty("startTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long StartTime { get; set; } + [Newtonsoft.Json.JsonProperty("startTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? StartTime { get; set; } - [Newtonsoft.Json.JsonProperty("endTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long EndTime { get; set; } + [Newtonsoft.Json.JsonProperty("endTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? EndTime { get; set; } - [Newtonsoft.Json.JsonProperty("updateTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long UpdateTime { get; set; } + [Newtonsoft.Json.JsonProperty("updateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? UpdateTime { get; set; } - [Newtonsoft.Json.JsonProperty("startDelayInSeconds", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int StartDelayInSeconds { get; set; } + [Newtonsoft.Json.JsonProperty("startDelayInSeconds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? StartDelayInSeconds { get; set; } - [Newtonsoft.Json.JsonProperty("retriedTaskId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("retriedTaskId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string RetriedTaskId { get; set; } - [Newtonsoft.Json.JsonProperty("retried", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool Retried { get; set; } + [Newtonsoft.Json.JsonProperty("retried", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Retried { get; set; } - [Newtonsoft.Json.JsonProperty("executed", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool Executed { get; set; } + [Newtonsoft.Json.JsonProperty("executed", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Executed { get; set; } - [Newtonsoft.Json.JsonProperty("callbackFromWorker", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool CallbackFromWorker { get; set; } + [Newtonsoft.Json.JsonProperty("callbackFromWorker", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CallbackFromWorker { get; set; } - [Newtonsoft.Json.JsonProperty("responseTimeoutSeconds", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long ResponseTimeoutSeconds { get; set; } + [Newtonsoft.Json.JsonProperty("responseTimeoutSeconds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? ResponseTimeoutSeconds { get; set; } - [Newtonsoft.Json.JsonProperty("workflowInstanceId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workflowInstanceId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string WorkflowInstanceId { get; set; } - [Newtonsoft.Json.JsonProperty("workflowType", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workflowType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string WorkflowType { get; set; } - [Newtonsoft.Json.JsonProperty("taskId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string TaskId { get; set; } - [Newtonsoft.Json.JsonProperty("reasonForIncompletion", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("reasonForIncompletion", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ReasonForIncompletion { get; set; } - [Newtonsoft.Json.JsonProperty("callbackAfterSeconds", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long CallbackAfterSeconds { get; set; } + [Newtonsoft.Json.JsonProperty("callbackAfterSeconds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? CallbackAfterSeconds { get; set; } - [Newtonsoft.Json.JsonProperty("workerId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workerId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string WorkerId { get; set; } - [Newtonsoft.Json.JsonProperty("outputData", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("outputData", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary OutputData { get; set; } - [Newtonsoft.Json.JsonProperty("workflowTask", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workflowTask", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public WorkflowTask WorkflowTask { get; set; } - [Newtonsoft.Json.JsonProperty("domain", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("domain", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Domain { get; set; } - [Newtonsoft.Json.JsonProperty("rateLimitPerFrequency", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int RateLimitPerFrequency { get; set; } + [Newtonsoft.Json.JsonProperty("rateLimitPerFrequency", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? RateLimitPerFrequency { get; set; } - [Newtonsoft.Json.JsonProperty("rateLimitFrequencyInSeconds", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int RateLimitFrequencyInSeconds { get; set; } + [Newtonsoft.Json.JsonProperty("rateLimitFrequencyInSeconds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? RateLimitFrequencyInSeconds { get; set; } - [Newtonsoft.Json.JsonProperty("externalInputPayloadStoragePath", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("externalInputPayloadStoragePath", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ExternalInputPayloadStoragePath { get; set; } - [Newtonsoft.Json.JsonProperty("externalOutputPayloadStoragePath", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("externalOutputPayloadStoragePath", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ExternalOutputPayloadStoragePath { get; set; } - [Newtonsoft.Json.JsonProperty("workflowPriority", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int WorkflowPriority { get; set; } + [Newtonsoft.Json.JsonProperty("workflowPriority", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? WorkflowPriority { get; set; } - [Newtonsoft.Json.JsonProperty("executionNameSpace", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("executionNameSpace", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ExecutionNameSpace { get; set; } - [Newtonsoft.Json.JsonProperty("isolationGroupId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("isolationGroupId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string IsolationGroupId { get; set; } - [Newtonsoft.Json.JsonProperty("iteration", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int Iteration { get; set; } + [Newtonsoft.Json.JsonProperty("iteration", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Iteration { get; set; } - [Newtonsoft.Json.JsonProperty("subWorkflowId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("subWorkflowId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string SubWorkflowId { get; set; } - [Newtonsoft.Json.JsonProperty("subworkflowChanged", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool SubworkflowChanged { get; set; } + [Newtonsoft.Json.JsonProperty("subworkflowChanged", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? SubworkflowChanged { get; set; } - [Newtonsoft.Json.JsonProperty("taskDefinition", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskDefinition", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public TaskDef TaskDefinition { get; set; } - [Newtonsoft.Json.JsonProperty("queueWaitTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long QueueWaitTime { get; set; } + [Newtonsoft.Json.JsonProperty("queueWaitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? QueueWaitTime { get; set; } - [Newtonsoft.Json.JsonProperty("loopOverTask", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool LoopOverTask { get; set; } + [Newtonsoft.Json.JsonProperty("loopOverTask", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? LoopOverTask { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -700,97 +703,97 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class Workflow { - [Newtonsoft.Json.JsonProperty("ownerApp", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("ownerApp", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string OwnerApp { get; set; } - [Newtonsoft.Json.JsonProperty("createTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long CreateTime { get; set; } + [Newtonsoft.Json.JsonProperty("createTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? CreateTime { get; set; } - [Newtonsoft.Json.JsonProperty("updateTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long UpdateTime { get; set; } + [Newtonsoft.Json.JsonProperty("updateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? UpdateTime { get; set; } - [Newtonsoft.Json.JsonProperty("createdBy", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("createdBy", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string CreatedBy { get; set; } - [Newtonsoft.Json.JsonProperty("updatedBy", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("updatedBy", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UpdatedBy { get; set; } - [Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public WorkflowStatus Status { get; set; } + public WorkflowStatus? Status { get; set; } - [Newtonsoft.Json.JsonProperty("endTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long EndTime { get; set; } + [Newtonsoft.Json.JsonProperty("endTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? EndTime { get; set; } - [Newtonsoft.Json.JsonProperty("workflowId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workflowId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string WorkflowId { get; set; } - [Newtonsoft.Json.JsonProperty("parentWorkflowId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("parentWorkflowId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ParentWorkflowId { get; set; } - [Newtonsoft.Json.JsonProperty("parentWorkflowTaskId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("parentWorkflowTaskId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ParentWorkflowTaskId { get; set; } - [Newtonsoft.Json.JsonProperty("tasks", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("tasks", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection Tasks { get; set; } - [Newtonsoft.Json.JsonProperty("input", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("input", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary Input { get; set; } - [Newtonsoft.Json.JsonProperty("output", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("output", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary Output { get; set; } - [Newtonsoft.Json.JsonProperty("correlationId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("correlationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string CorrelationId { get; set; } - [Newtonsoft.Json.JsonProperty("reRunFromWorkflowId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("reRunFromWorkflowId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ReRunFromWorkflowId { get; set; } - [Newtonsoft.Json.JsonProperty("reasonForIncompletion", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("reasonForIncompletion", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ReasonForIncompletion { get; set; } - [Newtonsoft.Json.JsonProperty("event", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("event", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Event { get; set; } - [Newtonsoft.Json.JsonProperty("taskToDomain", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskToDomain", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary TaskToDomain { get; set; } - [Newtonsoft.Json.JsonProperty("failedReferenceTaskNames", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("failedReferenceTaskNames", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection FailedReferenceTaskNames { get; set; } - [Newtonsoft.Json.JsonProperty("workflowDefinition", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workflowDefinition", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public WorkflowDef WorkflowDefinition { get; set; } - [Newtonsoft.Json.JsonProperty("externalInputPayloadStoragePath", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("externalInputPayloadStoragePath", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ExternalInputPayloadStoragePath { get; set; } - [Newtonsoft.Json.JsonProperty("externalOutputPayloadStoragePath", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("externalOutputPayloadStoragePath", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ExternalOutputPayloadStoragePath { get; set; } - [Newtonsoft.Json.JsonProperty("priority", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("priority", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Range(0, 99)] - public int Priority { get; set; } + public int? Priority { get; set; } - [Newtonsoft.Json.JsonProperty("variables", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("variables", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary Variables { get; set; } - [Newtonsoft.Json.JsonProperty("lastRetriedTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long LastRetriedTime { get; set; } + [Newtonsoft.Json.JsonProperty("lastRetriedTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? LastRetriedTime { get; set; } - [Newtonsoft.Json.JsonProperty("failedTaskNames", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("failedTaskNames", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection FailedTaskNames { get; set; } - [Newtonsoft.Json.JsonProperty("startTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long StartTime { get; set; } + [Newtonsoft.Json.JsonProperty("startTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? StartTime { get; set; } - [Newtonsoft.Json.JsonProperty("workflowName", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workflowName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string WorkflowName { get; set; } - [Newtonsoft.Json.JsonProperty("workflowVersion", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int WorkflowVersion { get; set; } + [Newtonsoft.Json.JsonProperty("workflowVersion", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? WorkflowVersion { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -803,21 +806,21 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class TaskMock { - [Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TaskMockStatus Status { get; set; } + public TaskMockStatus? Status { get; set; } - [Newtonsoft.Json.JsonProperty("output", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("output", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary Output { get; set; } - [Newtonsoft.Json.JsonProperty("executionTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long ExecutionTime { get; set; } + [Newtonsoft.Json.JsonProperty("executionTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? ExecutionTime { get; set; } - [Newtonsoft.Json.JsonProperty("queueWaitTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long QueueWaitTime { get; set; } + [Newtonsoft.Json.JsonProperty("queueWaitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? QueueWaitTime { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -830,39 +833,39 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class WorkflowTestRequest { [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Always)] [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("version", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int Version { get; set; } + [Newtonsoft.Json.JsonProperty("version", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("correlationId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("correlationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string CorrelationId { get; set; } - [Newtonsoft.Json.JsonProperty("input", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("input", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary Input { get; set; } - [Newtonsoft.Json.JsonProperty("taskToDomain", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskToDomain", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary TaskToDomain { get; set; } - [Newtonsoft.Json.JsonProperty("workflowDef", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workflowDef", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public WorkflowDef WorkflowDef { get; set; } - [Newtonsoft.Json.JsonProperty("externalInputPayloadStoragePath", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("externalInputPayloadStoragePath", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ExternalInputPayloadStoragePath { get; set; } - [Newtonsoft.Json.JsonProperty("priority", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("priority", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [System.ComponentModel.DataAnnotations.Range(0, 99)] - public int Priority { get; set; } + public int? Priority { get; set; } - [Newtonsoft.Json.JsonProperty("taskRefToMockOutput", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskRefToMockOutput", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary> TaskRefToMockOutput { get; set; } - [Newtonsoft.Json.JsonProperty("subWorkflowTestRequest", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("subWorkflowTestRequest", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary SubWorkflowTestRequest { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -876,17 +879,17 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class TaskExecLog { - [Newtonsoft.Json.JsonProperty("log", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("log", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Log { get; set; } - [Newtonsoft.Json.JsonProperty("taskId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string TaskId { get; set; } - [Newtonsoft.Json.JsonProperty("createdTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long CreatedTime { get; set; } + [Newtonsoft.Json.JsonProperty("createdTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? CreatedTime { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -899,7 +902,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class TaskResult { [Newtonsoft.Json.JsonProperty("workflowInstanceId", Required = Newtonsoft.Json.Required.Always)] @@ -910,33 +913,33 @@ public partial class TaskResult [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] public string TaskId { get; set; } - [Newtonsoft.Json.JsonProperty("reasonForIncompletion", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("reasonForIncompletion", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ReasonForIncompletion { get; set; } - [Newtonsoft.Json.JsonProperty("callbackAfterSeconds", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long CallbackAfterSeconds { get; set; } + [Newtonsoft.Json.JsonProperty("callbackAfterSeconds", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? CallbackAfterSeconds { get; set; } - [Newtonsoft.Json.JsonProperty("workerId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workerId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string WorkerId { get; set; } - [Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TaskResultStatus Status { get; set; } + public TaskResultStatus? Status { get; set; } - [Newtonsoft.Json.JsonProperty("outputData", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("outputData", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary OutputData { get; set; } - [Newtonsoft.Json.JsonProperty("logs", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("logs", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection Logs { get; set; } - [Newtonsoft.Json.JsonProperty("externalOutputPayloadStoragePath", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("externalOutputPayloadStoragePath", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ExternalOutputPayloadStoragePath { get; set; } - [Newtonsoft.Json.JsonProperty("subWorkflowId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("subWorkflowId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string SubWorkflowId { get; set; } - [Newtonsoft.Json.JsonProperty("extendLease", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool ExtendLease { get; set; } + [Newtonsoft.Json.JsonProperty("extendLease", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ExtendLease { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -949,17 +952,17 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class Health { - [Newtonsoft.Json.JsonProperty("details", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("details", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.IDictionary Details { get; set; } - [Newtonsoft.Json.JsonProperty("errorMessage", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("errorMessage", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ErrorMessage { get; set; } - [Newtonsoft.Json.JsonProperty("healthy", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool Healthy { get; set; } + [Newtonsoft.Json.JsonProperty("healthy", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Healthy { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -972,17 +975,17 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class HealthCheckStatus { - [Newtonsoft.Json.JsonProperty("healthResults", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("healthResults", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection HealthResults { get; set; } - [Newtonsoft.Json.JsonProperty("suppressedHealthResults", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("suppressedHealthResults", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection SuppressedHealthResults { get; set; } - [Newtonsoft.Json.JsonProperty("healthy", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool Healthy { get; set; } + [Newtonsoft.Json.JsonProperty("healthy", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Healthy { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -995,13 +998,13 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class SearchResultWorkflowSummary { - [Newtonsoft.Json.JsonProperty("totalHits", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long TotalHits { get; set; } + [Newtonsoft.Json.JsonProperty("totalHits", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? TotalHits { get; set; } - [Newtonsoft.Json.JsonProperty("results", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("results", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection Results { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -1015,69 +1018,69 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class WorkflowSummary { - [Newtonsoft.Json.JsonProperty("workflowType", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workflowType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string WorkflowType { get; set; } - [Newtonsoft.Json.JsonProperty("version", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int Version { get; set; } + [Newtonsoft.Json.JsonProperty("version", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("workflowId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workflowId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string WorkflowId { get; set; } - [Newtonsoft.Json.JsonProperty("correlationId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("correlationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string CorrelationId { get; set; } - [Newtonsoft.Json.JsonProperty("startTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("startTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string StartTime { get; set; } - [Newtonsoft.Json.JsonProperty("updateTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("updateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UpdateTime { get; set; } - [Newtonsoft.Json.JsonProperty("endTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("endTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string EndTime { get; set; } - [Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public WorkflowSummaryStatus Status { get; set; } + public WorkflowSummaryStatus? Status { get; set; } - [Newtonsoft.Json.JsonProperty("input", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("input", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Input { get; set; } - [Newtonsoft.Json.JsonProperty("output", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("output", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Output { get; set; } - [Newtonsoft.Json.JsonProperty("reasonForIncompletion", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("reasonForIncompletion", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ReasonForIncompletion { get; set; } - [Newtonsoft.Json.JsonProperty("executionTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long ExecutionTime { get; set; } + [Newtonsoft.Json.JsonProperty("executionTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? ExecutionTime { get; set; } - [Newtonsoft.Json.JsonProperty("event", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("event", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Event { get; set; } - [Newtonsoft.Json.JsonProperty("failedReferenceTaskNames", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("failedReferenceTaskNames", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string FailedReferenceTaskNames { get; set; } - [Newtonsoft.Json.JsonProperty("externalInputPayloadStoragePath", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("externalInputPayloadStoragePath", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ExternalInputPayloadStoragePath { get; set; } - [Newtonsoft.Json.JsonProperty("externalOutputPayloadStoragePath", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("externalOutputPayloadStoragePath", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ExternalOutputPayloadStoragePath { get; set; } - [Newtonsoft.Json.JsonProperty("priority", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int Priority { get; set; } + [Newtonsoft.Json.JsonProperty("priority", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Priority { get; set; } - [Newtonsoft.Json.JsonProperty("failedTaskNames", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("failedTaskNames", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection FailedTaskNames { get; set; } - [Newtonsoft.Json.JsonProperty("inputSize", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long InputSize { get; set; } + [Newtonsoft.Json.JsonProperty("inputSize", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? InputSize { get; set; } - [Newtonsoft.Json.JsonProperty("outputSize", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long OutputSize { get; set; } + [Newtonsoft.Json.JsonProperty("outputSize", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? OutputSize { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -1090,13 +1093,13 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class SearchResultWorkflow { - [Newtonsoft.Json.JsonProperty("totalHits", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long TotalHits { get; set; } + [Newtonsoft.Json.JsonProperty("totalHits", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? TotalHits { get; set; } - [Newtonsoft.Json.JsonProperty("results", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("results", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection Results { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -1110,13 +1113,13 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class ExternalStorageLocation { - [Newtonsoft.Json.JsonProperty("uri", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("uri", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Uri { get; set; } - [Newtonsoft.Json.JsonProperty("path", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("path", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Path { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -1130,13 +1133,13 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class SearchResultTaskSummary { - [Newtonsoft.Json.JsonProperty("totalHits", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long TotalHits { get; set; } + [Newtonsoft.Json.JsonProperty("totalHits", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? TotalHits { get; set; } - [Newtonsoft.Json.JsonProperty("results", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("results", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection Results { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -1150,68 +1153,68 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class TaskSummary { - [Newtonsoft.Json.JsonProperty("workflowId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workflowId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string WorkflowId { get; set; } - [Newtonsoft.Json.JsonProperty("workflowType", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workflowType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string WorkflowType { get; set; } - [Newtonsoft.Json.JsonProperty("correlationId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("correlationId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string CorrelationId { get; set; } - [Newtonsoft.Json.JsonProperty("scheduledTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("scheduledTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ScheduledTime { get; set; } - [Newtonsoft.Json.JsonProperty("startTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("startTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string StartTime { get; set; } - [Newtonsoft.Json.JsonProperty("updateTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("updateTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UpdateTime { get; set; } - [Newtonsoft.Json.JsonProperty("endTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("endTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string EndTime { get; set; } - [Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("status", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TaskSummaryStatus Status { get; set; } + public TaskSummaryStatus? Status { get; set; } - [Newtonsoft.Json.JsonProperty("reasonForIncompletion", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("reasonForIncompletion", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ReasonForIncompletion { get; set; } - [Newtonsoft.Json.JsonProperty("executionTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long ExecutionTime { get; set; } + [Newtonsoft.Json.JsonProperty("executionTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? ExecutionTime { get; set; } - [Newtonsoft.Json.JsonProperty("queueWaitTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long QueueWaitTime { get; set; } + [Newtonsoft.Json.JsonProperty("queueWaitTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? QueueWaitTime { get; set; } - [Newtonsoft.Json.JsonProperty("taskDefName", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskDefName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string TaskDefName { get; set; } - [Newtonsoft.Json.JsonProperty("taskType", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskType", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string TaskType { get; set; } - [Newtonsoft.Json.JsonProperty("input", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("input", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Input { get; set; } - [Newtonsoft.Json.JsonProperty("output", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("output", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Output { get; set; } - [Newtonsoft.Json.JsonProperty("taskId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("taskId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string TaskId { get; set; } - [Newtonsoft.Json.JsonProperty("externalInputPayloadStoragePath", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("externalInputPayloadStoragePath", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ExternalInputPayloadStoragePath { get; set; } - [Newtonsoft.Json.JsonProperty("externalOutputPayloadStoragePath", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("externalOutputPayloadStoragePath", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ExternalOutputPayloadStoragePath { get; set; } - [Newtonsoft.Json.JsonProperty("workflowPriority", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int WorkflowPriority { get; set; } + [Newtonsoft.Json.JsonProperty("workflowPriority", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? WorkflowPriority { get; set; } - [Newtonsoft.Json.JsonProperty("domain", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("domain", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Domain { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -1225,13 +1228,13 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class SearchResultTask { - [Newtonsoft.Json.JsonProperty("totalHits", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long TotalHits { get; set; } + [Newtonsoft.Json.JsonProperty("totalHits", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? TotalHits { get; set; } - [Newtonsoft.Json.JsonProperty("results", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("results", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.ICollection Results { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -1245,20 +1248,20 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public partial class PollData { - [Newtonsoft.Json.JsonProperty("queueName", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("queueName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string QueueName { get; set; } - [Newtonsoft.Json.JsonProperty("domain", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("domain", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Domain { get; set; } - [Newtonsoft.Json.JsonProperty("workerId", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("workerId", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string WorkerId { get; set; } - [Newtonsoft.Json.JsonProperty("lastPollTime", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long LastPollTime { get; set; } + [Newtonsoft.Json.JsonProperty("lastPollTime", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? LastPollTime { get; set; } private System.Collections.Generic.IDictionary _additionalProperties; @@ -1271,7 +1274,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public enum Status { @@ -1304,7 +1307,7 @@ public enum Status } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public enum Status2 { @@ -1337,7 +1340,7 @@ public enum Status2 } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public enum TaskDefTimeoutPolicy { @@ -1352,7 +1355,7 @@ public enum TaskDefTimeoutPolicy } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public enum TaskDefRetryLogic { @@ -1367,7 +1370,7 @@ public enum TaskDefRetryLogic } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public enum WorkflowDefTimeoutPolicy { @@ -1379,7 +1382,7 @@ public enum WorkflowDefTimeoutPolicy } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public enum WorkflowTaskType { @@ -1454,7 +1457,7 @@ public enum WorkflowTaskType } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public enum Action1 { @@ -1469,7 +1472,7 @@ public enum Action1 } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public enum TaskStatus { @@ -1502,7 +1505,7 @@ public enum TaskStatus } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public enum WorkflowStatus { @@ -1526,7 +1529,7 @@ public enum WorkflowStatus } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public enum TaskMockStatus { @@ -1544,7 +1547,7 @@ public enum TaskMockStatus } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public enum TaskResultStatus { @@ -1562,7 +1565,7 @@ public enum TaskResultStatus } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public enum WorkflowSummaryStatus { @@ -1586,7 +1589,7 @@ public enum WorkflowSummaryStatus } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0))")] + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")] public enum TaskSummaryStatus { @@ -1618,12 +1621,17 @@ public enum TaskSummaryStatus SKIPPED = 8, } + } -#pragma warning restore 1591 +#pragma warning restore 108 +#pragma warning restore 114 +#pragma warning restore 472 +#pragma warning restore 612 #pragma warning restore 1573 -#pragma warning restore 472 -#pragma warning restore 114 -#pragma warning restore 108 +#pragma warning restore 1591 +#pragma warning restore 8073 #pragma warning restore 3016 -#pragma warning restore 8603 \ No newline at end of file +#pragma warning restore 8603 +#pragma warning restore 8604 +#pragma warning restore 8625 \ No newline at end of file diff --git a/src/ConductorSharp.Engine/ConductorSharp.Engine.csproj b/src/ConductorSharp.Engine/ConductorSharp.Engine.csproj index cfe3fd71..1aada9db 100644 --- a/src/ConductorSharp.Engine/ConductorSharp.Engine.csproj +++ b/src/ConductorSharp.Engine/ConductorSharp.Engine.csproj @@ -6,7 +6,7 @@ Codaxy Codaxy ConductorSharp.Engine - 3.0.0-beta + 3.0.1-beta Client library for Netflix Conductor, with some additional quality of life features. https://github.com/codaxy/conductor-sharp netflix;conductor diff --git a/src/ConductorSharp.Engine/Service/DeploymentService.cs b/src/ConductorSharp.Engine/Service/DeploymentService.cs index ef4ef984..3133603e 100644 --- a/src/ConductorSharp.Engine/Service/DeploymentService.cs +++ b/src/ConductorSharp.Engine/Service/DeploymentService.cs @@ -1,4 +1,5 @@ -using System.Threading.Tasks; +using System; +using System.Threading.Tasks; using ConductorSharp.Client.Service; using ConductorSharp.Engine.Interface; using ConductorSharp.Engine.Model; @@ -50,7 +51,10 @@ public async Task Remove(Deployment deployment) var oldDefinition = await _metadataService.GetWorkflowAsync(definition.Name, definition.Version); if (oldDefinition?.Name != null) - await _metadataService.DeleteWorkflowAsync(definition.Name, definition.Version); + await _metadataService.DeleteWorkflowAsync( + definition.Name, + definition.Version ?? throw new InvalidOperationException($"Workflow {definition.Name} version cannot be null") + ); } } } diff --git a/src/ConductorSharp.Patterns/ConductorSharp.Patterns.csproj b/src/ConductorSharp.Patterns/ConductorSharp.Patterns.csproj index 3c880cf0..52d44b7b 100644 --- a/src/ConductorSharp.Patterns/ConductorSharp.Patterns.csproj +++ b/src/ConductorSharp.Patterns/ConductorSharp.Patterns.csproj @@ -7,7 +7,7 @@ False Codaxy Codaxy - 3.0.0-beta + 3.0.1-beta diff --git a/src/ConductorSharp.Toolkit/ConductorSharp.Toolkit.csproj b/src/ConductorSharp.Toolkit/ConductorSharp.Toolkit.csproj index c2b64552..d5ec0b06 100644 --- a/src/ConductorSharp.Toolkit/ConductorSharp.Toolkit.csproj +++ b/src/ConductorSharp.Toolkit/ConductorSharp.Toolkit.csproj @@ -7,7 +7,7 @@ disable true dotnet-conductorsharp - 3.0.0-beta + 3.0.1-beta diff --git a/src/ConductorSharp.Toolkit/Service/ScaffoldingService.cs b/src/ConductorSharp.Toolkit/Service/ScaffoldingService.cs index 54b28bcc..ee484d2c 100644 --- a/src/ConductorSharp.Toolkit/Service/ScaffoldingService.cs +++ b/src/ConductorSharp.Toolkit/Service/ScaffoldingService.cs @@ -84,7 +84,8 @@ public async Task Scaffold() var modelGenerator = new TaskModelGenerator(_config.BaseNamespace + ".Workflows", name, TaskModelGenerator.ModelType.Workflow) { OriginalName = workflowDefinition.Name, - Version = workflowDefinition.Version + Version = + workflowDefinition.Version ?? throw new InvalidOperationException($"Workflow {workflowDefinition.Name} version cannot be null") }; foreach (var inputParam in workflowDefinition.InputParameters) diff --git a/test/ConductorSharp.Engine.Tests/Integration/WorkflowBuilderTests.cs b/test/ConductorSharp.Engine.Tests/Integration/WorkflowBuilderTests.cs index 98751454..bb874e5a 100644 --- a/test/ConductorSharp.Engine.Tests/Integration/WorkflowBuilderTests.cs +++ b/test/ConductorSharp.Engine.Tests/Integration/WorkflowBuilderTests.cs @@ -149,7 +149,7 @@ public void BuilderReturnsCorrectDefinitionStringAddition() } [Fact] - public void BuilderReturnsCorrectDefinitionCSharpLambdaWorfklow() + public void BuilderReturnsCorrectDefinitionCSharpLambdaWorkflow() { var definition = GetDefinitionFromWorkflow(); var expectedDefinition = EmbeddedFileHelper.GetLinesFromEmbeddedFile("~/Samples/Workflows/CSharpLambdaWorkflow.json"); diff --git a/test/ConductorSharp.Engine.Tests/Samples/Tasks/CustomerGet.json b/test/ConductorSharp.Engine.Tests/Samples/Tasks/CustomerGet.json index 8ca9ff8a..72f2b6fb 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Tasks/CustomerGet.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Tasks/CustomerGet.json @@ -1,7 +1,5 @@ { "ownerApp": "undefined", - "createTime": 0, - "updateTime": 0, "createdBy": "UNDEFINED", "updatedBy": "UNDEFINED", "name": "CUSTOMER_get", diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/Arrays.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/Arrays.json index 11811237..b242c487 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/Arrays.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/Arrays.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "arrays", "version": 1, "tasks": [ @@ -39,11 +37,7 @@ ] }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" }, { @@ -55,11 +49,7 @@ "objects": [] }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" } ], @@ -68,8 +58,5 @@ ], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/CSharpLambdaWorkflow.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/CSharpLambdaWorkflow.json index 26e3e20c..eab27ea8 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/CSharpLambdaWorkflow.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/CSharpLambdaWorkflow.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "c_sharp_lambda_workflow", "version": 1, "tasks": [ @@ -14,11 +12,7 @@ } }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" }, { @@ -41,11 +35,7 @@ } }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" } ], @@ -60,20 +50,11 @@ } }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" } ] }, - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "DECISION" } ], @@ -83,9 +64,6 @@ ], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, "ownerEmail": "test@test.com", - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/CastWorkflow.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/CastWorkflow.json index 2d9ac9bd..2bbcd056 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/CastWorkflow.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/CastWorkflow.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "cast_workflow", "version": 1, "tasks": [ @@ -11,11 +9,7 @@ "customer_id": 1 }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" }, { @@ -26,19 +20,12 @@ "address": "${get_customer.output.address}" }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" } ], "inputParameters": [], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/ConditionallySendCustomerNotificationOutput.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/ConditionallySendCustomerNotificationOutput.json index 76a5eed4..76391ef0 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/ConditionallySendCustomerNotificationOutput.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/ConditionallySendCustomerNotificationOutput.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "NOTIFICATION_conditionally_send_to_customer", "version": 1, "tasks": [ @@ -21,24 +19,15 @@ "id": "${workflow.input.customer_id}" }, "type": "SUB_WORKFLOW", - "startDelay": 0, "subWorkflowParam": { "name": "NOTIFICATION_send_to_customer", "version": 3 }, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SUB_WORKFLOW" } ] }, - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "DECISION" } ], @@ -48,8 +37,5 @@ ], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/DecisionInDecision.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/DecisionInDecision.json index 159acc09..c15a1372 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/DecisionInDecision.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/DecisionInDecision.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "TEST_decision_in_decision", "version": 1, "tasks": [ @@ -31,33 +29,19 @@ "id": "${workflow.input.customer_id}" }, "type": "SUB_WORKFLOW", - "startDelay": 0, "subWorkflowParam": { "name": "NOTIFICATION_send_to_customer", "version": 3 }, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SUB_WORKFLOW" } ] }, - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "DECISION" } ] }, - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "DECISION" } ], @@ -67,8 +51,5 @@ ], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/DecisionTask.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/DecisionTask.json index e8aae57d..e015b652 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/DecisionTask.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/DecisionTask.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "decision_task", "version": 1, "tasks": [ @@ -21,11 +19,7 @@ "customer_id": 1 }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" } ] @@ -38,27 +32,14 @@ "terminationStatus": "FAILED" }, "type": "TERMINATE", - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "TERMINATE" } ], - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "DECISION" } ], "inputParameters": [], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/DynamicTask.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/DynamicTask.json index 75e1d1ae..9623ae2b 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/DynamicTask.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/DynamicTask.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "TEST_dynamic_task", "version": 1, "tasks": [ @@ -14,11 +12,6 @@ }, "type": "DYNAMIC", "dynamicTaskNameParam": "task_to_execute", - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "DYNAMIC" } ], @@ -30,8 +23,5 @@ ], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/EvaluateExpressionWorkflow.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/EvaluateExpressionWorkflow.json index e4ad0e02..3b88fbc9 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/EvaluateExpressionWorkflow.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/EvaluateExpressionWorkflow.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "evaluate_expression_workflow", "version": 1, "tasks": [ @@ -11,11 +9,7 @@ "customer_id": 1 }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" }, { @@ -25,11 +19,7 @@ "customer_id": 1 }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" }, { @@ -39,11 +29,7 @@ "customer_id": 1 }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" }, { @@ -53,11 +39,7 @@ "customer_id": 1 }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" }, { @@ -67,11 +49,7 @@ "customer_id": 34 }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" }, { @@ -82,11 +60,7 @@ "address": "${workflow.input.username}@test.com" }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" } ], @@ -95,8 +69,5 @@ ], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/HumanTask.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/HumanTask.json index 02b9718a..2c1d63a6 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/HumanTask.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/HumanTask.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "human_task_workflow", "version": 1, "tasks": [ @@ -9,19 +7,11 @@ "taskReferenceName": "human_task", "inputParameters": {}, "type": "HUMAN", - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "HUMAN" } ], "inputParameters": [], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/IndexerWorkflow.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/IndexerWorkflow.json index 65f2ad65..f942ac08 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/IndexerWorkflow.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/IndexerWorkflow.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "indexer_workflow", "version": 1, "tasks": [ @@ -12,11 +10,7 @@ "address": "${workflow.input.double_dictionary['test']['address']}" }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" } ], @@ -26,8 +20,5 @@ ], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/ListInitializationWorkflow.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/ListInitializationWorkflow.json index 436c5021..c6740e6f 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/ListInitializationWorkflow.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/ListInitializationWorkflow.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "list_initialization_workflow", "version": 1, "tasks": [ @@ -20,19 +18,12 @@ ] }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" } ], "inputParameters": [], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/NestedObjects.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/NestedObjects.json index 36d79d4f..14d6e7a0 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/NestedObjects.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/NestedObjects.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "nested_objects", "version": 1, "tasks": [ @@ -21,19 +19,12 @@ } }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" } ], "inputParameters": [], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/OptionalTaskWorkflow.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/OptionalTaskWorkflow.json index b85f01b1..50ca7bfb 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/OptionalTaskWorkflow.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/OptionalTaskWorkflow.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "TEST_optional_task_workflow", "version": 1, "tasks": [ @@ -11,15 +9,11 @@ "id": "${workflow.input.customer_id}" }, "type": "SUB_WORKFLOW", - "startDelay": 0, "subWorkflowParam": { "name": "NOTIFICATION_send_to_customer", "version": 3 }, "optional": true, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SUB_WORKFLOW" } ], @@ -28,8 +22,5 @@ ], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/PassthroughTaskWorkflow.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/PassthroughTaskWorkflow.json index ddfa427a..a5618b25 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/PassthroughTaskWorkflow.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/PassthroughTaskWorkflow.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "passthrough_task_workflow", "version": 1, "tasks": [ @@ -22,19 +20,11 @@ "scriptExpression": "return { hostname : $.hostname,additional_template : $.additional_template,base_template : $.base_template,licence : $.licence,oam_domain : $.oam_domain,platform_codename : $.platform_codename,platform_name : $.platform_name,software_version : $.software_version,upstream_switch : $.upstream_switch,upstream_switch_interface_name : $.upstream_switch_interface_name,}" }, "type": "LAMBDA", - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "LAMBDA" } ], "inputParameters": [], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/PatternTasks.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/PatternTasks.json index e998c866..e68c135e 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/PatternTasks.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/PatternTasks.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "pattern_tasks", "version": 1, "tasks": [ @@ -12,11 +10,7 @@ "workflow_id": "${workflow.input.workflow_id}" }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" }, { @@ -26,11 +20,7 @@ "seconds": "${workflow.input.seconds}" }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" } ], @@ -40,8 +30,5 @@ ], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/ScaffoldedWorkflows.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/ScaffoldedWorkflows.json index 07db3a02..681acc8f 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/ScaffoldedWorkflows.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/ScaffoldedWorkflows.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "SCAFFOLDED_workflows", "version": 1, "tasks": [ @@ -11,15 +9,11 @@ "input_one": "${workflow.input.customer_id}" }, "type": "SUB_WORKFLOW", - "startDelay": 0, "subWorkflowParam": { "name": "SCAFFOLDED_one", "version": 1 }, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SUB_WORKFLOW" }, { @@ -29,15 +23,11 @@ "name": "${scaff_one.output.output_one}" }, "type": "SUB_WORKFLOW", - "startDelay": 0, "subWorkflowParam": { "name": "SCAFFOLDED_two", "version": 1 }, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SUB_WORKFLOW" } ], @@ -46,8 +36,5 @@ ], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/SendCustomerNotification.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/SendCustomerNotification.json index d3662603..81a9ff20 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/SendCustomerNotification.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/SendCustomerNotification.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "NOTIFICATION_send_to_customer", "version": 3, "tasks": [ @@ -11,11 +9,7 @@ "id": "${workflow.input.id}" }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" }, { @@ -26,11 +20,7 @@ "name": "${get_customer.output.name}" }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" } ], @@ -39,8 +29,5 @@ ], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/StringAddition.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/StringAddition.json index 95293130..6eb45e0b 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/StringAddition.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/StringAddition.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "string_addition", "version": 1, "tasks": [ @@ -12,11 +10,6 @@ "scriptExpression": "" }, "type": "LAMBDA", - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "LAMBDA" } ], @@ -25,8 +18,5 @@ ], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/StringInterpolation.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/StringInterpolation.json index f1ec608a..1c199ae8 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/StringInterpolation.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/StringInterpolation.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "TEST_StringInterpolation", "version": 1, "tasks": [ @@ -12,11 +10,7 @@ "name": "Workflow name: TEST_StringInterpolation" }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" } ], @@ -28,8 +22,5 @@ "email_body": "${email_prepare.output.email_body}" }, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/SwitchTask.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/SwitchTask.json index dea5e929..4c323823 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/SwitchTask.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/SwitchTask.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "switch_task", "version": 1, "tasks": [ @@ -20,11 +18,7 @@ "customer_id": 1 }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" } ] @@ -37,19 +31,9 @@ "terminationStatus": "FAILED" }, "type": "TERMINATE", - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "TERMINATE" } ], - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "evaluatorType": "value-param", "expression": "switch_case_value", "workflowTaskType": "SWITCH" @@ -58,8 +42,5 @@ "inputParameters": [], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/TaskPropertiesWorkflow.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/TaskPropertiesWorkflow.json index da2506ba..b8dd5fbd 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/TaskPropertiesWorkflow.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/TaskPropertiesWorkflow.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "task_properties_workflow", "version": 1, "tasks": [ @@ -9,11 +7,7 @@ "taskReferenceName": "get_customer", "inputParameters": {}, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" }, { @@ -31,19 +25,12 @@ "correlation_id": "${get_customer.correlationId}" }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" } ], "inputParameters": [], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/TerminateTaskWorkflow.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/TerminateTaskWorkflow.json index 043ee35f..4a01f00a 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/TerminateTaskWorkflow.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/TerminateTaskWorkflow.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "terminate_task_worfklow", "version": 1, "tasks": [ @@ -24,20 +22,10 @@ "terminationStatus": "COMPLETED" }, "type": "TERMINATE", - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "TERMINATE" } ] }, - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "DECISION" }, { @@ -59,20 +47,10 @@ "terminationStatus": "FAILED" }, "type": "TERMINATE", - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "TERMINATE" } ] }, - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "evaluatorType": "value-param", "expression": "switch_case_value", "workflowTaskType": "SWITCH" @@ -87,19 +65,11 @@ } }, "type": "TERMINATE", - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "TERMINATE" } ], "inputParameters": [], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/VersionAttributeWorkflow.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/VersionAttributeWorkflow.json index 4dd8a4f2..6996e23c 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/VersionAttributeWorkflow.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/VersionAttributeWorkflow.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "version_attribute_workflow", "version": 1, "tasks": [ @@ -9,23 +7,16 @@ "taskReferenceName": "test_subworkflow", "inputParameters": {}, "type": "SUB_WORKFLOW", - "startDelay": 0, "subWorkflowParam": { "name": "TEST_subworkflow", "version": 3 }, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SUB_WORKFLOW" } ], "inputParameters": [], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/WaitTask.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/WaitTask.json index 8ecfb373..0cbb8245 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/WaitTask.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/WaitTask.json @@ -1,6 +1,4 @@ { - "createTime": 0, - "updateTime": 0, "name": "wait_task_workflow", "version": 1, "tasks": [ @@ -12,19 +10,11 @@ "until": "2022-12-31 11:59" }, "type": "WAIT", - "startDelay": 0, - "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "WAIT" } ], "inputParameters": [], "outputParameters": {}, "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file diff --git a/test/ConductorSharp.Engine.Tests/Samples/Workflows/WorkflowMetadataWorkflow.json b/test/ConductorSharp.Engine.Tests/Samples/Workflows/WorkflowMetadataWorkflow.json index 3345104c..7d838003 100644 --- a/test/ConductorSharp.Engine.Tests/Samples/Workflows/WorkflowMetadataWorkflow.json +++ b/test/ConductorSharp.Engine.Tests/Samples/Workflows/WorkflowMetadataWorkflow.json @@ -1,7 +1,5 @@ { "ownerApp": "Owner", - "createTime": 0, - "updateTime": 0, "name": "workflow_metadata_workflow", "description": "This is description", "version": 1, @@ -13,11 +11,7 @@ "customer_id": 1 }, "type": "SIMPLE", - "startDelay": 0, "optional": false, - "rateLimited": false, - "asyncComplete": false, - "retryCount": 0, "workflowTaskType": "SIMPLE" } ], @@ -25,9 +19,6 @@ "outputParameters": {}, "failureWorkflow": "NOTIFICATION_conditionally_send_to_customer", "schemaVersion": 2, - "restartable": false, - "workflowStatusListenerEnabled": false, "ownerEmail": "test@test.com", - "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0 } \ No newline at end of file