def METHOD_NAME(self):
    response = {}
    if not self.name and not self.ssid:
        args = input('Answer ')
        for arg in args.split():
            if arg.startswith("Name="):
                name = arg.replace("Name=", "", 1)
                response["Name"] = name
                break
            if arg.startswith("SSID="):
                ssid = arg.replace("SSID", "", 1)
                response["SSID"] = ssid
                break
    else:
        if self.name:
            response["Name"] = self.name
        if self.ssid:
            response["SSID"] = self.ssid
    return response