def _get_enums_dict(enums):
    """
        Parsing Enums into proper dict format
           Args:
                enums: list

           Returns:
               dict
    """
    enums_dict = {}
    for enum in enums:
        long_name = enum.get('longName')
        enums_dict.update({long_name: enum.get('values')})
    return enums_dict