DeletedObject.fromXml constructor

DeletedObject.fromXml(
  1. XmlElement xml
)

Implementation

DeletedObject.fromXml(XmlElement xml) {
  deleteMarker = getProp(xml, 'DeleteMarker')?.text.toUpperCase() == 'TRUE';
  deleteMarkerVersionId = getProp(xml, 'DeleteMarkerVersionId')?.text;
  key = getProp(xml, 'Key')?.text;
  versionId = getProp(xml, 'VersionId')?.text;
}