@@ -77,22 +77,14 @@ public interface ISynapseManagementApi
77
77
[ OperationContract ]
78
78
Task < V1Workflow > GetWorkflowByIdAsync ( string id , CancellationToken cancellationToken = default ) ;
79
79
80
- /// <summary>
81
- /// Lists existing <see cref="V1Workflow"/>s
82
- /// </summary>
83
- /// <param name="cancellationToken">A <see cref="CancellationToken"/></param>
84
- /// <returns>A new <see cref="List{T}"/> containing all existing <see cref="V1Workflow"/>s</returns>
85
- [ OperationContract ]
86
- Task < List < V1Workflow > > GetWorkflowsAsync ( CancellationToken cancellationToken = default ) ;
87
-
88
80
/// <summary>
89
81
/// Lists existing <see cref="V1Workflow"/>s
90
82
/// </summary>
91
83
/// <param name="query">The OData query string</param>
92
84
/// <param name="cancellationToken">A <see cref="CancellationToken"/></param>
93
85
/// <returns>A new <see cref="List{T}"/> containing all existing <see cref="V1Workflow"/>s</returns>
94
86
[ OperationContract ]
95
- Task < List < V1Workflow > > GetWorkflowsAsync ( string query , CancellationToken cancellationToken = default ) ;
87
+ Task < List < V1Workflow > > GetWorkflowsAsync ( string ? query = null , CancellationToken cancellationToken = default ) ;
96
88
97
89
/// <summary>
98
90
/// Gets the id of the <see cref="V1Workflow"/> to archive
@@ -144,22 +136,14 @@ public interface ISynapseManagementApi
144
136
[ OperationContract ]
145
137
Task < V1WorkflowInstance > GetWorkflowInstanceByIdAsync ( string id , CancellationToken cancellationToken = default ) ;
146
138
147
- /// <summary>
148
- /// Lists existing workflow instances
149
- /// </summary>
150
- /// <param name="cancellationToken">A <see cref="CancellationToken"/></param>
151
- /// <returns>A new <see cref="List{T}"/> containing all existing workflow instances</returns>
152
- [ OperationContract ]
153
- Task < List < V1WorkflowInstance > > GetWorkflowInstancesAsync ( CancellationToken cancellationToken = default ) ;
154
-
155
139
/// <summary>
156
140
/// Lists existing workflow instances
157
141
/// </summary>
158
142
/// <param name="query">The ODATA query</param>
159
143
/// <param name="cancellationToken">A <see cref="CancellationToken"/></param>
160
144
/// <returns>A new <see cref="List{T}"/> containing all existing workflow instances</returns>
161
145
[ OperationContract ]
162
- Task < List < V1WorkflowInstance > > GetWorkflowInstancesAsync ( string query , CancellationToken cancellationToken = default ) ;
146
+ Task < List < V1WorkflowInstance > > GetWorkflowInstancesAsync ( string ? query = null , CancellationToken cancellationToken = default ) ;
163
147
164
148
/// <summary>
165
149
/// Suspends the execution of the <see cref="V1WorkflowInstance"/> with the specified id
@@ -238,22 +222,14 @@ public interface ISynapseManagementApi
238
222
[ OperationContract ]
239
223
Task < V1Correlation > GetCorrelationByIdAsync ( string id , CancellationToken cancellationToken = default ) ;
240
224
241
- /// <summary>
242
- /// Lists existing <see cref="V1Correlation"/>s
243
- /// </summary>
244
- /// <param name="cancellationToken">A <see cref="CancellationToken"/></param>
245
- /// <returns>A new <see cref="List{T}"/> containing all existing <see cref="V1Correlation"/>s</returns>
246
- [ OperationContract ]
247
- Task < List < V1Correlation > > GetCorrelationsAsync ( CancellationToken cancellationToken = default ) ;
248
-
249
225
/// <summary>
250
226
/// Lists existing <see cref="V1Correlation"/>s
251
227
/// </summary>
252
228
/// <param name="query">The OData query string</param>
253
229
/// <param name="cancellationToken">A <see cref="CancellationToken"/></param>
254
230
/// <returns>A new <see cref="List{T}"/> containing all existing <see cref="V1Correlation"/>s</returns>
255
231
[ OperationContract ]
256
- Task < List < V1Correlation > > GetCorrelationsAsync ( string query , CancellationToken cancellationToken = default ) ;
232
+ Task < List < V1Correlation > > GetCorrelationsAsync ( string ? query = null , CancellationToken cancellationToken = default ) ;
257
233
258
234
/// <summary>
259
235
/// Deletes the <see cref="V1Correlation"/> with the specified id
@@ -294,7 +270,7 @@ public interface ISynapseManagementApi
294
270
/// <param name="cancellationToken">A <see cref="CancellationToken"/></param>
295
271
/// <returns>A new <see cref="List{T}"/> containing all existing <see cref="V1AuthenticationDefinitionCollection"/>s</returns>
296
272
[ OperationContract ]
297
- Task < List < V1AuthenticationDefinitionCollection > > GetAuthenticationDefinitionCollectionsAsync ( string ? query , CancellationToken cancellationToken = default ) ;
273
+ Task < List < V1AuthenticationDefinitionCollection > > GetAuthenticationDefinitionCollectionsAsync ( string ? query = null , CancellationToken cancellationToken = default ) ;
298
274
299
275
/// <summary>
300
276
/// Deletes the <see cref="V1AuthenticationDefinitionCollection"/> with the specified id
@@ -335,7 +311,7 @@ public interface ISynapseManagementApi
335
311
/// <param name="cancellationToken">A <see cref="CancellationToken"/></param>
336
312
/// <returns>A new <see cref="List{T}"/> containing all existing <see cref="V1EventDefinitionCollection"/>s</returns>
337
313
[ OperationContract ]
338
- Task < List < V1EventDefinitionCollection > > GetEventDefinitionCollectionsAsync ( string ? query , CancellationToken cancellationToken = default ) ;
314
+ Task < List < V1EventDefinitionCollection > > GetEventDefinitionCollectionsAsync ( string ? query = null , CancellationToken cancellationToken = default ) ;
339
315
340
316
/// <summary>
341
317
/// Deletes the <see cref="V1EventDefinitionCollection"/> with the specified id
@@ -376,7 +352,7 @@ public interface ISynapseManagementApi
376
352
/// <param name="cancellationToken">A <see cref="CancellationToken"/></param>
377
353
/// <returns>A new <see cref="List{T}"/> containing all existing <see cref="V1FunctionDefinitionCollection"/>s</returns>
378
354
[ OperationContract ]
379
- Task < List < V1FunctionDefinitionCollection > > GetFunctionDefinitionCollectionsAsync ( string ? query , CancellationToken cancellationToken = default ) ;
355
+ Task < List < V1FunctionDefinitionCollection > > GetFunctionDefinitionCollectionsAsync ( string ? query = null , CancellationToken cancellationToken = default ) ;
380
356
381
357
/// <summary>
382
358
/// Deletes the <see cref="V1FunctionDefinitionCollection"/> with the specified id
@@ -423,14 +399,6 @@ public interface ISynapseManagementApi
423
399
[ OperationContract ]
424
400
Task < V1Schedule > GetScheduleByIdAsync ( string id , CancellationToken cancellationToken = default ) ;
425
401
426
- /// <summary>
427
- /// Lists existing <see cref="V1Schedule"/>s
428
- /// </summary>
429
- /// <param name="cancellationToken">A <see cref="CancellationToken"/></param>
430
- /// <returns>A new <see cref="List{T}"/> containing all existing <see cref="V1Schedule"/>s</returns>
431
- [ OperationContract ]
432
- Task < List < V1Schedule > > GetSchedulesAsync ( CancellationToken cancellationToken = default ) ;
433
-
434
402
/// <summary>
435
403
/// Lists existing <see cref="V1Schedule"/>s
436
404
/// </summary>
0 commit comments