list method

Future<ListConferenceRecordsResponse> list({
  1. String? filter,
  2. int? pageSize,
  3. String? pageToken,
  4. String? $fields,
})

Lists the conference records.

By default, ordered by start time and in descending order.

Request parameters:

filter - Optional. User specified filtering condition in EBNF format. The following are the filterable fields: * space.meeting_code * space.name * start_time * end_time For example, consider the following filters: * space.name = "spaces/NAME" * space.meeting_code = "abc-mnop-xyz" * start_time>="2024-01-01T00:00:00.000Z" AND start_time<="2024-01-02T00:00:00.000Z" * end_time IS NULL

pageSize - Optional. Maximum number of conference records to return. The service might return fewer than this value. If unspecified, at most 25 conference records are returned. The maximum value is 100; values above 100 are coerced to 100. Maximum might change in the future.

pageToken - Optional. Page token returned from previous List Call.

$fields - Selector specifying which fields to include in a partial response.

Completes with a ListConferenceRecordsResponse.

Completes with a commons.ApiRequestError if the API endpoint returned an error.

If the used http.Client completes with an error when making a REST call, this method will complete with the same error.

Implementation

async.Future<ListConferenceRecordsResponse> list({
  core.String? filter,
  core.int? pageSize,
  core.String? pageToken,
  core.String? $fields,
}) async {
  final queryParams_ = <core.String, core.List<core.String>>{
    if (filter != null) 'filter': [filter],
    if (pageSize != null) 'pageSize': ['${pageSize}'],
    if (pageToken != null) 'pageToken': [pageToken],
    if ($fields != null) 'fields': [$fields],
  };

  const url_ = 'v2/conferenceRecords';

  final response_ = await _requester.request(
    url_,
    'GET',
    queryParams: queryParams_,
  );
  return ListConferenceRecordsResponse.fromJson(
      response_ as core.Map<core.String, core.dynamic>);
}