ObjectLockRetention.fromXml constructor

ObjectLockRetention.fromXml(
  1. XmlElement elem
)

Implementation

factory ObjectLockRetention.fromXml(_s.XmlElement elem) {
  return ObjectLockRetention(
    mode: _s.extractXmlStringValue(elem, 'Mode')?.toObjectLockRetentionMode(),
    retainUntilDate: _s.extractXmlDateTimeValue(elem, 'RetainUntilDate',
        parser: _s.timeStampFromJson),
  );
}