getAutoFlowsWithHttpInfo method
Returns the caller org's automations, most-recently-updated first.
Returns the caller org's automations, most-recently-updated first. The optional limit query bounds the page.
Note: This method returns the HTTP Response.
Parameters:
- int limit: Limit bounds the page (default 200, maximum 1000).
Implementation
Future<Response> getAutoFlowsWithHttpInfo({ int? limit, }) async {
// ignore: prefer_const_declarations
final path = r'/v1/auto/flows';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (limit != null) {
queryParams.addAll(_queryParams('', 'limit', limit));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}