code: def updateNetwork(self,
                        dhcp='dhcp',
                        ipaddress=None,
                        netmask=None,
                        gateway=None,
                        dns=None):
          
          return self.__post('/api/updateNetwork',
                             data={
                                 'dhcp': dhcp,
                                 'ipaddress': ipaddress,
                                 'netmask': netmask,
                                 'gateway': gateway,
                                 'dns': json.dumps(dns)
                             })
docs: Change the current network settings.