You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -113,10 +113,10 @@ public partial class DataTransfer
113
113
/// <param name="sender">an instance of an ADT.Runtime.ISendAsync pipeline to use to make the request.</param>
114
114
/// <param name="serializationMode">Allows the caller to choose the depth of the serialization. See <see cref="ADT.Runtime.SerializationMode"/>.</param>
115
115
/// <returns>
116
-
/// A <see cref="global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>" />
117
-
/// that will be complete when handling of the response is completed.
116
+
/// A <see cref="global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult>" /> that will be complete when handling
@@ -200,10 +200,10 @@ public partial class DataTransfer
200
200
/// <param name="eventListener">an <see cref="ADT.Runtime.IEventListener" /> instance that will receive events.</param>
201
201
/// <param name="sender">an instance of an ADT.Runtime.ISendAsync pipeline to use to make the request.</param>
202
202
/// <returns>
203
-
/// A <see cref="global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>" />
204
-
/// that will be complete when handling of the response is completed.
203
+
/// A <see cref="global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult>" /> that will be complete when handling
204
+
/// of the response is completed.
205
205
/// </returns>
206
-
public async global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>> AzureDataTransferListFlowProfilesViaJsonStringWithResult(global::System.String jsonString, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender)
206
+
public async global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult> AzureDataTransferListFlowProfilesViaJsonStringWithResult(global::System.String jsonString, ADT.Runtime.IEventListener eventListener, ADT.Runtime.ISendAsync sender)
207
207
{
208
208
var apiVersion = @"2025-05-30-preview";
209
209
// Constant Parameters
@@ -239,10 +239,10 @@ public partial class DataTransfer
239
239
/// <param name="sender">an instance of an ADT.Runtime.ISendAsync pipeline to use to make the request.</param>
240
240
/// <param name="serializationMode">Allows the caller to choose the depth of the serialization. See <see cref="ADT.Runtime.SerializationMode"/>.</param>
241
241
/// <returns>
242
-
/// A <see cref="global::System.Threading.Tasks.Task<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>" />
243
-
/// that will be complete when handling of the response is completed.
242
+
/// A <see cref="global::System.Threading.Tasks.Task<ADT.Models.IFlowProfilesListResult>" /> that will be complete when handling
var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => If( ADT.Runtime.Json.JsonArray.Parse(body.Result) as ADT.Runtime.Json.JsonArray, out var __y) ? new global::System.Func<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__y, (__x)=>(ADT.Models.IFlowProfileMetadata) (ADT.Models.FlowProfileMetadata.FromJson(__x) )) ))() : null);
304
+
var _result = _response.Content.ReadAsStringAsync().ContinueWith( body => ADT.Models.FlowProfilesListResult.FromJson(ADT.Runtime.Json.JsonNode.Parse(body.Result)) );
305
305
return await _result;
306
306
}
307
307
default:
@@ -344,7 +344,7 @@ public partial class DataTransfer
344
344
/// <returns>
345
345
/// A <see cref="global::System.Threading.Tasks.Task" /> that will be complete when handling of the response is completed.
await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => If( ADT.Runtime.Json.JsonArray.Parse(body.Result) as ADT.Runtime.Json.JsonArray, out var __y) ? new global::System.Func<System.Collections.Generic.List<ADT.Models.IFlowProfileMetadata>>(()=> global::System.Linq.Enumerable.ToList(global::System.Linq.Enumerable.Select(__y, (__x)=>(ADT.Models.IFlowProfileMetadata) (ADT.Models.FlowProfileMetadata.FromJson(__x) )) ))() : null));
366
+
await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => ADT.Models.FlowProfilesListResult.FromJson(ADT.Runtime.Json.JsonNode.Parse(body.Result)) ));
0 commit comments