Destination.fromXml constructor
Destination.fromXml(
- XmlElement? xml
Implementation
Destination.fromXml(XmlElement? xml) {
accessControlTranslation = AccessControlTranslation.fromXml(
getProp(xml, 'AccessControlTranslation'));
account = getProp(xml, 'Account')?.value;
bucket = getProp(xml, 'Bucket')?.value;
encryptionConfiguration = EncryptionConfiguration.fromXml(
getProp(xml, 'EncryptionConfiguration'));
metrics = Metrics.fromXml(getProp(xml, 'Metrics'));
replicationTime = ReplicationTime.fromXml(getProp(xml, 'ReplicationTime'));
storageClass = getProp(xml, 'StorageClass')?.value;
}