getRecordingSearchResults static method
XmlDocumentFragment
getRecordingSearchResults(})
XML for the getRecordingSearchResults
Implementation
static XmlDocumentFragment getRecordingSearchResults(
String searchToken, {
int? minResults,
int? maxResults,
String? waitTime,
}) {
Transport.builder.element('GetRecordingSearchResults', nest: () {
Transport.builder.namespace(Xmlns.tse);
Transport.builder.element('SearchToken', nest: () {
Transport.builder.text(searchToken);
});
if (minResults != null) {
Transport.builder.element('MinResults', nest: () {
Transport.builder.text(minResults);
});
}
if (maxResults != null) {
Transport.builder.element('MaxResults', nest: () {
Transport.builder.text(maxResults);
});
}
if (waitTime != null) {
Transport.builder.element('WaitTime', nest: () {
Transport.builder.text(waitTime);
});
}
});
return Transport.builder.buildFragment();
}