SSHPublicKeyMetadata.fromXml constructor

SSHPublicKeyMetadata.fromXml(
  1. XmlElement elem
)

Implementation

factory SSHPublicKeyMetadata.fromXml(_s.XmlElement elem) {
  return SSHPublicKeyMetadata(
    sSHPublicKeyId: _s.extractXmlStringValue(elem, 'SSHPublicKeyId')!,
    status: _s.extractXmlStringValue(elem, 'Status')!.toStatusType(),
    uploadDate: _s.extractXmlDateTimeValue(elem, 'UploadDate')!,
    userName: _s.extractXmlStringValue(elem, 'UserName')!,
  );
}