getScreenSchemes method

Future<PageBeanScreenScheme> getScreenSchemes({
  1. int? startAt,
  2. int? maxResults,
  3. List<int>? id,
  4. String? expand,
  5. String? queryString,
  6. String? orderBy,
})

Returns a paginated list of screen schemes.

Only screen schemes used in classic projects are returned.

Permissions required: Administer Jira global permission.

Implementation

Future<PageBeanScreenScheme> getScreenSchemes(
    {int? startAt,
    int? maxResults,
    List<int>? id,
    String? expand,
    String? queryString,
    String? orderBy}) async {
  return PageBeanScreenScheme.fromJson(await _client.send(
    'get',
    'rest/api/3/screenscheme',
    queryParameters: {
      if (startAt != null) 'startAt': '$startAt',
      if (maxResults != null) 'maxResults': '$maxResults',
      if (id != null) 'id': id.map((e) => '$e').join(','),
      if (expand != null) 'expand': expand,
      if (queryString != null) 'queryString': queryString,
      if (orderBy != null) 'orderBy': orderBy,
    },
  ));
}