code: private void addQueryParams(final Request request) {
          if (type != null) {
              for (Channel.ChannelType prop : type) {
                  request.addQueryParam("Type", prop.toString());
              }
          }
  
          if (getPageSize() != null) {
              request.addQueryParam("PageSize", Integer.toString(getPageSize()));
          }
      }
docs: Add the requested query string arguments to the Request.
  
  @param request Request to add query string arguments to