@Override
  public int hashCode() {
    int result;
    result = 31 + (actionName != null ? actionName.hashCode() : 0);
    result = result + (actionType != null ? actionType.hashCode() : 0);
    result = result + (inputs != null ? inputs.hashCode() : 0);
    result = result + (description != null ? description.hashCode() : 0);
    result = result + (targetService != null ? targetService.hashCode() : 0);
    result = result + (targetComponent != null ? targetComponent.hashCode() : 0);
    result = result + (targetType != null ? targetType.hashCode() : 0);
    result = result + (defaultTimeout != null ? defaultTimeout.hashCode() : 0);
    return result;
  }
Used to respond to GET requests for actions
ambari-server/src/main/java/org/apache/ambari/server/controller/ActionResponse.java