diff --git a/src/WebJobs.Extensions.DurableTask/HttpManagementPayload.cs b/src/WebJobs.Extensions.DurableTask/HttpManagementPayload.cs index 1cc7cecc2..db91fdb0b 100644 --- a/src/WebJobs.Extensions.DurableTask/HttpManagementPayload.cs +++ b/src/WebJobs.Extensions.DurableTask/HttpManagementPayload.cs @@ -3,7 +3,6 @@ using Newtonsoft.Json; -#nullable enable namespace Microsoft.Azure.WebJobs.Extensions.DurableTask { /// @@ -18,7 +17,7 @@ public class HttpManagementPayload /// The ID of the orchestration instance. /// [JsonProperty("id")] - public string? Id { get; internal set; } + public string Id { get; internal set; } /// /// Gets the HTTP GET status query endpoint URL. @@ -27,7 +26,7 @@ public class HttpManagementPayload /// The HTTP URL for fetching the instance status. /// [JsonProperty("statusQueryGetUri")] - public string? StatusQueryGetUri { get; internal set; } + public string StatusQueryGetUri { get; internal set; } /// /// Gets the HTTP POST external event sending endpoint URL. @@ -36,7 +35,7 @@ public class HttpManagementPayload /// The HTTP URL for posting external event notifications. /// [JsonProperty("sendEventPostUri")] - public string? SendEventPostUri { get; internal set; } + public string SendEventPostUri { get; internal set; } /// /// Gets the HTTP POST instance termination endpoint. @@ -45,7 +44,7 @@ public class HttpManagementPayload /// The HTTP URL for posting instance termination commands. /// [JsonProperty("terminatePostUri")] - public string? TerminatePostUri { get; internal set; } + public string TerminatePostUri { get; internal set; } /// /// Gets the HTTP POST instance rewind endpoint. @@ -54,7 +53,7 @@ public class HttpManagementPayload /// The HTTP URL for rewinding orchestration instances. /// [JsonProperty("rewindPostUri")] - public string? RewindPostUri { get; internal set; } + public string RewindPostUri { get; internal set; } /// /// Gets the HTTP DELETE purge instance history by instance ID endpoint. @@ -63,7 +62,7 @@ public class HttpManagementPayload /// The HTTP URL for purging instance history by instance ID. /// [JsonProperty("purgeHistoryDeleteUri")] - public string? PurgeHistoryDeleteUri { get; internal set; } + public string PurgeHistoryDeleteUri { get; internal set; } /// /// Gets the HTTP POST instance restart endpoint. @@ -72,7 +71,7 @@ public class HttpManagementPayload /// The HTTP URL for restarting an orchestration instance. /// [JsonProperty("restartPostUri")] - public string? RestartPostUri { get; internal set; } + public string RestartPostUri { get; internal set; } /// /// Gets the HTTP POST instance suspend endpoint. @@ -81,7 +80,7 @@ public class HttpManagementPayload /// The HTTP URL for suspending an orchestration instance. /// [JsonProperty("suspendPostUri")] - public string? SuspendPostUri { get; internal set; } + public string SuspendPostUri { get; internal set; } /// /// Gets the HTTP POST instance resume endpoint. @@ -90,6 +89,6 @@ public class HttpManagementPayload /// The HTTP URL for resuming an orchestration instance. /// [JsonProperty("resumePostUri")] - public string? ResumePostUri { get; internal set; } + public string ResumePostUri { get; internal set; } } } diff --git a/src/Worker.Extensions.DurableTask/HttpManagementPayload.cs b/src/Worker.Extensions.DurableTask/HttpManagementPayload.cs index 62f2301d3..df2afe92c 100644 --- a/src/Worker.Extensions.DurableTask/HttpManagementPayload.cs +++ b/src/Worker.Extensions.DurableTask/HttpManagementPayload.cs @@ -20,7 +20,7 @@ public class HttpManagementPayload /// The ID of the orchestration instance. /// [JsonProperty("id")] - public string Id { get; internal set; } + public string? Id { get; internal set; } /// /// Gets the HTTP GET status query endpoint URL. @@ -29,7 +29,7 @@ public class HttpManagementPayload /// The HTTP URL for fetching the instance status. /// [JsonProperty("statusQueryGetUri")] - public string StatusQueryGetUri { get; internal set; } + public string? StatusQueryGetUri { get; internal set; } /// /// Gets the HTTP POST external event sending endpoint URL. @@ -38,7 +38,7 @@ public class HttpManagementPayload /// The HTTP URL for posting external event notifications. /// [JsonProperty("sendEventPostUri")] - public string SendEventPostUri { get; internal set; } + public string? SendEventPostUri { get; internal set; } /// /// Gets the HTTP POST instance termination endpoint. @@ -47,7 +47,7 @@ public class HttpManagementPayload /// The HTTP URL for posting instance termination commands. /// [JsonProperty("terminatePostUri")] - public string TerminatePostUri { get; internal set; } + public string? TerminatePostUri { get; internal set; } /// /// Gets the HTTP POST instance rewind endpoint. @@ -56,7 +56,7 @@ public class HttpManagementPayload /// The HTTP URL for rewinding orchestration instances. /// [JsonProperty("rewindPostUri")] - public string RewindPostUri { get; internal set; } + public string? RewindPostUri { get; internal set; } /// /// Gets the HTTP DELETE purge instance history by instance ID endpoint. @@ -65,7 +65,7 @@ public class HttpManagementPayload /// The HTTP URL for purging instance history by instance ID. /// [JsonProperty("purgeHistoryDeleteUri")] - public string PurgeHistoryDeleteUri { get; internal set; } + public string? PurgeHistoryDeleteUri { get; internal set; } /// /// Gets the HTTP POST instance restart endpoint. @@ -74,7 +74,7 @@ public class HttpManagementPayload /// The HTTP URL for restarting an orchestration instance. /// [JsonProperty("restartPostUri")] - public string RestartPostUri { get; internal set; } + public string? RestartPostUri { get; internal set; } /// /// Gets the HTTP POST instance suspend endpoint. @@ -83,7 +83,7 @@ public class HttpManagementPayload /// The HTTP URL for suspending an orchestration instance. /// [JsonProperty("suspendPostUri")] - public string SuspendPostUri { get; internal set; } + public string? SuspendPostUri { get; internal set; } /// /// Gets the HTTP POST instance resume endpoint. @@ -92,5 +92,5 @@ public class HttpManagementPayload /// The HTTP URL for resuming an orchestration instance. /// [JsonProperty("resumePostUri")] - public string ResumePostUri { get; internal set; } + public string? ResumePostUri { get; internal set; } }