@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        final P4ActionModel other = (P4ActionModel) obj;
        return Objects.equals(this.id, other.id)
                && Objects.equals(this.params, other.params);
    }
@Test
    public void testEquals() {
        new EqualsTester()
                .addEqualityGroup(actionModel, sameAsActionModel, sameAsActionModel2)
                .addEqualityGroup(actionModel2)
                .addEqualityGroup(actionModel3)
                .addEqualityGroup(actionModel4)
                .testEquals();
    }