diff --git a/src/Sdk/DTGenerated/Generated/TaskAgentHttpClientBase.cs b/src/Sdk/DTGenerated/Generated/TaskAgentHttpClientBase.cs index 9cc08d74f..754323a81 100644 --- a/src/Sdk/DTGenerated/Generated/TaskAgentHttpClientBase.cs +++ b/src/Sdk/DTGenerated/Generated/TaskAgentHttpClientBase.cs @@ -707,26 +707,24 @@ namespace GitHub.DistributedTask.WebApi /// /// [Preview API] /// - /// Message ID + /// /// /// The cancellation token to cancel operation. [EditorBrowsable(EditorBrowsableState.Never)] public virtual Task GetJobMessageAsync( - string id, + string messageId, object userState = null, CancellationToken cancellationToken = default) { HttpMethod httpMethod = new HttpMethod("GET"); Guid locationId = new Guid("25adab70-1379-4186-be8e-b643061ebe3a"); - - List> queryParams = new List>(); - queryParams.Add("id", id); + object routeValues = new { messageId = messageId }; return SendAsync( httpMethod, locationId, + routeValues: routeValues, version: new ApiResourceVersion(6.0, 1), - queryParameters: queryParams, userState: userState, cancellationToken: cancellationToken); }