kemApiV3DealerUsersGet method

Future<Response<List<DealerUserDTO>>> kemApiV3DealerUsersGet({
  1. List<String>? emails,
  2. List<int>? ids,
  3. RoleDTO? role,
})

Get the list of dealer users within the dealer org of the currently logged-in user.

Optionally, a list of emails or user ids can be included. If provided, only users with a matching email or id will be returned. This endpoint will only return users within the dealer organization of the logged-in user. @param emails @param ids @param role Supported roles of a Pro user Based on User role definitions per https://kohler.atlassian.net/wiki/spaces/XR/pages/1952645122/PRO+-+Defining+User+Roles+and+Permissions

Implementation

Future<chopper.Response<List<DealerUserDTO>>> kemApiV3DealerUsersGet({
  List<String>? emails,
  List<int>? ids,
  enums.RoleDTO? role,
}) {
  generatedMapping.putIfAbsent(
      DealerUserDTO, () => DealerUserDTO.fromJsonFactory);

  return _kemApiV3DealerUsersGet(
      emails: emails, ids: ids, role: role?.value?.toString());
}