class ShiftIpAddressIntoSubnet implements TransformationStep, Serializable {

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (!(o instanceof ShiftIpAddressIntoSubnet)) {
      return false;
    }
    ShiftIpAddressIntoSubnet that = (ShiftIpAddressIntoSubnet) o;
    return _type == that._type
        && _ipField == that._ipField
        && Objects.equals(_subnet, that._subnet);
  }

  public  ShiftIpAddressIntoSubnet(TransformationType type, IpField ipField, Prefix subnet);

}