<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getLinkProperties(self, wanInterfaceId=1, timeout=1):
 """Execute GetCommonLinkProperties action to get WAN link properties. :param int wanInterfaceId: the id of the WAN device :param float timeout: the timeout to wait for the action to be executed :return: WAN link properties :rtype: WanLinkProperties """

        namespace = Wan.getServiceType("getLinkProperties") + str(wanInterfaceId)
        uri = self.getControlURL(namespace)

        results = self.execute(uri, namespace, "GetCommonLinkProperties", timeout=timeout)

        return WanLinkProperties(results)