in rackspace-autoscale/src/main/java/org/jclouds/rackspace/autoscale/v1/domain/CreateScalingPolicy.java [148:158]
public boolean equals(Object obj) {
if (this == obj) return true;
if (obj == null || getClass() != obj.getClass()) return false;
CreateScalingPolicy that = CreateScalingPolicy.class.cast(obj);
return Objects.equal(this.name, that.name) &&
Objects.equal(this.type, that.type) &&
Objects.equal(this.cooldown, that.cooldown) &&
Objects.equal(this.target, that.target) &&
Objects.equal(this.targetType, that.targetType) &&
Objects.equal(this.args, that.args);
}