public static DataCommandResult createPutInfoResult(Object inputKey, Object value,
      Throwable error, String infoString, boolean flag) {
    DataCommandResult result = new DataCommandResult();
    result.command = CliStrings.PUT;
    result.inputKey = inputKey;
    result.putResult = value;
    result.error = error;
    result.infoString = infoString;
    return result;
  }
Domain object used for Data Commands Functions
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/domain/DataCommandResult.java