getTenantsWithHttpInfo method
Performs an HTTP 'GET /api/v1/tenants' operation and returns the Response.
Parameters:
Implementation
Future<Response> getTenantsWithHttpInfo(String tenantId, [ GetTenantsOptions? options ]) async {
final meta = options?.meta;
final skip = options?.skip;
// ignore: prefer_const_declarations
final path = r'/api/v1/tenants';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'tenantId', tenantId));
if (meta != null) {
queryParams.addAll(_queryParams('', 'meta', meta));
}
if (skip != null) {
queryParams.addAll(_queryParams('', 'skip', skip));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}