JobOperation.fromXml constructor
JobOperation.fromXml(
- XmlElement elem
Implementation
factory JobOperation.fromXml(_s.XmlElement elem) {
return JobOperation(
lambdaInvoke: _s
.extractXmlChild(elem, 'LambdaInvoke')
?.let((e) => LambdaInvokeOperation.fromXml(e)),
s3InitiateRestoreObject: _s
.extractXmlChild(elem, 'S3InitiateRestoreObject')
?.let((e) => S3InitiateRestoreObjectOperation.fromXml(e)),
s3PutObjectAcl: _s
.extractXmlChild(elem, 'S3PutObjectAcl')
?.let((e) => S3SetObjectAclOperation.fromXml(e)),
s3PutObjectCopy: _s
.extractXmlChild(elem, 'S3PutObjectCopy')
?.let((e) => S3CopyObjectOperation.fromXml(e)),
s3PutObjectLegalHold: _s
.extractXmlChild(elem, 'S3PutObjectLegalHold')
?.let((e) => S3SetObjectLegalHoldOperation.fromXml(e)),
s3PutObjectRetention: _s
.extractXmlChild(elem, 'S3PutObjectRetention')
?.let((e) => S3SetObjectRetentionOperation.fromXml(e)),
s3PutObjectTagging: _s
.extractXmlChild(elem, 'S3PutObjectTagging')
?.let((e) => S3SetObjectTaggingOperation.fromXml(e)),
);
}