def get_bot_permissions(calendar_id):
    """
    :param calendar_id: an integer representing calendar ID
    :return: a list of sorted trumba.Permission objects
             corresponding to the given campus calendar.
             None if error, [] if not exists
    Return a list of Permission objects representing
    the user permissions of a given Bothell calendar.
    raise DataFailureException or a corresponding TrumbaException
    if the request failed or an error code has been returned.
    """
    return _process_get_perm_resp(
        get_permissions_url,
        post_bot_resource(get_permissions_url,
                          _create_get_perm_body(calendar_id)),
        TrumbaCalendar.BOT_CAMPUS_CODE,
        calendar_id)
def get_bot_permissions ( calendar_id ) : return _process_get_perm_resp ( get_permissions_url , post_bot_resource ( get_permissions_url , _create_get_perm_body ( calendar_id ) ) , TrumbaCalendar . BOT_CAMPUS_CODE , calendar_id )
:param calendar_id: an integer representing calendar ID
    :return: a list of sorted trumba.Permission objects
             corresponding to the given campus calendar.
             None if error, [] if not exists
    Return a list of Permission objects representing
    the user permissions of a given Bothell calendar.
    raise DataFailureException or a corresponding TrumbaException
    if the request failed or an error code has been returned.