getRecordingSearchResults static method

XmlDocumentFragment getRecordingSearchResults(
  1. String searchToken, {
  2. int? minResults,
  3. int? maxResults,
  4. String? waitTime,
})

Implementation

static XmlDocumentFragment getRecordingSearchResults(
  String searchToken, {
  int? minResults,
  int? maxResults,
  String? waitTime,
}) {
  builder.element('GetRecordingSearchResults', nest: () {
    builder.namespace(Xmlns.tse);

    ReferenceToken(searchToken).buildXml(builder, tag: 'SearchToken');

    minResults?.toString().buildXml(builder, tag: 'MinResults');

    maxResults?.toString().buildXml(builder, tag: 'MaxResults');

    waitTime?.buildXml(builder, tag: 'WaitTime');
  });

  return builder.buildFragment();
}