@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof PiActionProfileMember)) {
            return false;
        }
        PiActionProfileMember that = (PiActionProfileMember) o;
        return Objects.equal(actionProfileId, that.actionProfileId) &&
                Objects.equal(memberId, that.memberId) &&
                Objects.equal(action, that.action);
    }
@Test
    public void testEquals() {

        new EqualsTester()
                .addEqualityGroup(piActionProfileMember1, sameAsPiActionProfileMember1)
                .addEqualityGroup(piActionProfileMember2)
                .addEqualityGroup(piActionProfileMember3)
                .testEquals();
    }