toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
final builder = XmlBuilder();
builder.element('RestoreRequest', nest: () {
builder.element('Days', nest: days.toString());
builder.element('Description', nest: description);
builder.element('GlacierJobParameters',
nest: glacierJobParameters!.toXml());
builder.element('OutputLocation', nest: outputLocation!.toXml());
builder.element('SelectParameters', nest: selectParameters!.toXml());
builder.element('Tier', nest: tier);
builder.element('Type', nest: type);
});
return builder.buildDocument();
}