list method
Lists the set of smart notes from the conference record.
By default, ordered by start time and in ascending order. For more information, see Work with artifacts.
Request parameters:
parent - Required. Format: conferenceRecords/{conference_record}
Value must have pattern ^conferenceRecords/\[^/\]+$.
pageSize - Optional. Maximum number of smart notes to return. The
service might return fewer than this value. If unspecified, at most 10
smart notes 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 ListSmartNotesResponse.
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<ListSmartNotesResponse> list(
core.String parent, {
core.int? pageSize,
core.String? pageToken,
core.String? $fields,
}) async {
final queryParams_ = <core.String, core.List<core.String>>{
'pageSize': ?pageSize == null ? null : ['${pageSize}'],
'pageToken': ?pageToken == null ? null : [pageToken],
'fields': ?$fields == null ? null : [$fields],
};
final url_ = 'v2/' + core.Uri.encodeFull('$parent') + '/smartNotes';
final response_ = await _requester.request(
url_,
'GET',
queryParams: queryParams_,
);
return ListSmartNotesResponse.fromJson(
response_ as core.Map<core.String, core.dynamic>,
);
}