@staticmethod
def generate(list_of_assignments):
    res = []
    for assignments in list_of_assignments:
        buf = []
        for assignment in assignments:
            buf.append(api.ParameterAssignment(name=assignment.name, value=str(assignment.value)))
        rt = api.GetSuggestionsReply.ParameterAssignments(assignments=buf)
        res.append(rt)
    return res
@staticmethod
def generate(list_of_assignments):
    res = []
    for assignments in list_of_assignments:
        buf = []
        for assignment in assignments:
            buf.append(api.ParameterAssignment(name=assignment.name, value=str(assignment.value)))
        rt = api.GetSuggestionsReply.ParameterAssignments(assignments=buf)
        res.append(rt)
    return res