usersListWithHttpInfo method

Future<Response> usersListWithHttpInfo({
  1. List<String>? projects,
})

Lists all users that are members in the same projects.

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> usersListWithHttpInfo({
  List<String>? projects,
}) async {
  // ignore: prefer_const_declarations
  final path = r'/api/users/';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  if (projects != null) {
    queryParams.addAll(_queryParams('multi', 'projects', projects));
  }

  const contentTypes = <String>[];

  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}