toolsOzoneTeamListMembers function

Future<XRPCResponse<TeamListMembersOutput>> toolsOzoneTeamListMembers({
  1. String? q,
  2. bool? disabled,
  3. List<String>? roles,
  4. int? limit,
  5. String? cursor,
  6. required ServiceContext $ctx,
  7. Map<String, String>? $headers,
  8. Map<String, String>? $unknown,
})

List all members with access to the ozone service.

Implementation

Future<XRPCResponse<TeamListMembersOutput>> toolsOzoneTeamListMembers({
  String? q,
  bool? disabled,
  List<String>? roles,
  int? limit,
  String? cursor,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.toolsOzoneTeamListMembers,
  headers: $headers,
  parameters: {
    ...?$unknown,
    if (q != null) 'q': q,
    if (disabled != null) 'disabled': disabled,
    if (roles != null) 'roles': roles,
    if (limit != null) 'limit': limit,
    if (cursor != null) 'cursor': cursor,
  },
  to: const TeamListMembersOutputConverter().fromJson,
);