@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof DefaultQosDescription) {
            final DefaultQosDescription other = (DefaultQosDescription) obj;
            return Objects.equals(this.qosId, other.qosId) &&
                    Objects.equals(this.type, other.type) &&
                    Objects.equals(this.maxRate, other.maxRate) &&
                    Objects.equals(this.cir, other.cir) &&
                    Objects.equals(this.cbs, other.cbs) &&
                    Objects.equals(this.queues, other.queues);
        }
        return false;
    }
@Test
    public void testEquals() {
        new EqualsTester()
                .addEqualityGroup(defaultQosDescription1, sameAsDefaultQosDescription1)
                .addEqualityGroup(defaultQosDescription2)
                .addEqualityGroup(defaultQosDescription3)
                .addEqualityGroup(defaultQosDescription4)
                .addEqualityGroup(defaultQosDescription5)
                .addEqualityGroup(defaultQosDescription6)
                .testEquals();
    }