@staticmethod
def delete_class(intf: str, qid: int, skip_filter=False) -> int:
    qid_hex = hex(qid)
    if (not skip_filter):
        TrafficClass.tc_ops.del_filter(intf, qid_hex, qid_hex)
    return TrafficClass.tc_ops.del_htb(intf, qid_hex)
@staticmethod
def delete_class(intf: str, qid: int, skip_filter=False) -> int:
    qid_hex = hex(qid)
    if (not skip_filter):
        TrafficClass.tc_ops.del_filter(intf, qid_hex, qid_hex)
    return TrafficClass.tc_ops.del_htb(intf, qid_hex)