listIndustriesActiveWithHttpInfo method
Get a list of industries that have active marketplace products
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> listIndustriesActiveWithHttpInfo({ int? page, int? limit, String? sortBy, String? sortOrder, String? search, }) async {
// ignore: prefer_const_declarations
final path = r'/industries/active';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (page != null) {
queryParams.addAll(_queryParams('', 'page', page));
}
if (limit != null) {
queryParams.addAll(_queryParams('', 'limit', limit));
}
if (sortBy != null) {
queryParams.addAll(_queryParams('', 'sort_by', sortBy));
}
if (sortOrder != null) {
queryParams.addAll(_queryParams('', 'sort_order', sortOrder));
}
if (search != null) {
queryParams.addAll(_queryParams('', 'search', search));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}