ServiceSpecificCredential.fromXml constructor

ServiceSpecificCredential.fromXml(
  1. XmlElement elem
)

Implementation

factory ServiceSpecificCredential.fromXml(_s.XmlElement elem) {
  return ServiceSpecificCredential(
    createDate: _s.extractXmlDateTimeValue(elem, 'CreateDate')!,
    serviceName: _s.extractXmlStringValue(elem, 'ServiceName')!,
    servicePassword: _s.extractXmlStringValue(elem, 'ServicePassword')!,
    serviceSpecificCredentialId:
        _s.extractXmlStringValue(elem, 'ServiceSpecificCredentialId')!,
    serviceUserName: _s.extractXmlStringValue(elem, 'ServiceUserName')!,
    status: _s.extractXmlStringValue(elem, 'Status')!.toStatusType(),
    userName: _s.extractXmlStringValue(elem, 'UserName')!,
  );
}