code: public static PoolInfoStrings createPoolInfoStrings(PoolInfo poolInfo) {
      if (poolInfo == null) {
        return null;
      }
  
      return new PoolInfoStrings(poolInfo.getPoolGroupName(),
                                 poolInfo.getPoolName());
    }
docs: Convert this object to PoolInfoStrings for Thrift
  @param poolInfo Pool info
  @return {@link PoolInfo} converted to a Thrift form