def METHOD_NAME(cls, v):
    instance = AnyOfColor.construct()
    error_messages = []
    # validate data type: List[int]
    try:
        instance.anyof_schema_1_validator = v
        return v
    except (ValidationError, ValueError) as e:
        error_messages.append(str(e))
    # validate data type: List[int]
    try:
        instance.anyof_schema_2_validator = v
        return v
    except (ValidationError, ValueError) as e:
        error_messages.append(str(e))
    # validate data type: str
    try:
        instance.anyof_schema_3_validator = v
        return v
    except (ValidationError, ValueError) as e:
        error_messages.append(str(e))
    if error_messages:
        # no match
        raise ValueError("No match found when setting the actual_instance in AnyOfColor with anyOf schemas: List[int], str. Details: " + ", ".join(error_messages))
    else:
        return v