def METHOD_NAME(self, dataDict):
    """
    Set values from key-value dictionary
    """
    errKeys = []
    for key in dataDict:
        if key not in self.fieldsList:
            errKeys.append(key)
    if errKeys:
        return S_ERROR(f"Key(s) {', '.join(errKeys)} are not valid")
    for key in dataDict:
        self.setValueByKey(key, dataDict[key])
    return S_OK()