@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    ActionResponse that = (ActionResponse) o;

    if (actionName != null ?
        !actionName.equals(that.actionName) : that.actionName != null) {
      return false;
    }

    if (actionType != null ?
        !actionType.equals(that.actionType) : that.actionType != null) {
      return false;
    }

    if (description != null ?
        !description.equals(that.description) : that.description != null) {
      return false;
    }

    if (inputs != null ?
        !inputs.equals(that.inputs) : that.inputs != null) {
      return false;
    }

    if (targetService != null ?
        !targetService.equals(that.targetService) : that.targetService != null) {
      return false;
    }

    if (targetComponent != null ?
        !targetComponent.equals(that.targetComponent) : that.targetComponent != null) {
      return false;
    }

    if (targetType != null ?
        !targetType.equals(that.targetType) : that.targetType != null) {
      return false;
    }

    if (defaultTimeout != null ?
        !defaultTimeout.equals(that.defaultTimeout) : that.defaultTimeout != null) {
      return false;
    }

    return true;
  }
Used to respond to GET requests for actions
ambari-server/src/main/java/org/apache/ambari/server/controller/ActionResponse.java