DBProxyTargetGroup.fromXml constructor

DBProxyTargetGroup.fromXml(
  1. XmlElement elem
)

Implementation

factory DBProxyTargetGroup.fromXml(_s.XmlElement elem) {
  return DBProxyTargetGroup(
    connectionPoolConfig: _s
        .extractXmlChild(elem, 'ConnectionPoolConfig')
        ?.let((e) => ConnectionPoolConfigurationInfo.fromXml(e)),
    createdDate: _s.extractXmlDateTimeValue(elem, 'CreatedDate'),
    dBProxyName: _s.extractXmlStringValue(elem, 'DBProxyName'),
    isDefault: _s.extractXmlBoolValue(elem, 'IsDefault'),
    status: _s.extractXmlStringValue(elem, 'Status'),
    targetGroupArn: _s.extractXmlStringValue(elem, 'TargetGroupArn'),
    targetGroupName: _s.extractXmlStringValue(elem, 'TargetGroupName'),
    updatedDate: _s.extractXmlDateTimeValue(elem, 'UpdatedDate'),
  );
}