ServerCertificateMetadata.fromXml constructor

ServerCertificateMetadata.fromXml(
  1. XmlElement elem
)

Implementation

factory ServerCertificateMetadata.fromXml(_s.XmlElement elem) {
  return ServerCertificateMetadata(
    arn: _s.extractXmlStringValue(elem, 'Arn')!,
    path: _s.extractXmlStringValue(elem, 'Path')!,
    serverCertificateId:
        _s.extractXmlStringValue(elem, 'ServerCertificateId')!,
    serverCertificateName:
        _s.extractXmlStringValue(elem, 'ServerCertificateName')!,
    expiration: _s.extractXmlDateTimeValue(elem, 'Expiration'),
    uploadDate: _s.extractXmlDateTimeValue(elem, 'UploadDate'),
  );
}