def METHOD_NAME(
    self, name: str, default: Union[object, List[int]] = MISSING
) -> List[int]:
    ret = self.get_param_as_list(name, default)
    for item in ret:
        if type(item) is not int:
            raise errors.InvalidParameterError(
                "Parameter %r must be a list of integer values." % name
            )
    return ret