code: private void addQueryParams(final Request request) {
          if (beta != null) {
              request.addQueryParam("Beta", beta.toString());
          }
  
          if (friendlyName != null) {
              request.addQueryParam("FriendlyName", friendlyName);
          }
  
          if (phoneNumber != null) {
              request.addQueryParam("PhoneNumber", phoneNumber.toString());
          }
  
          if (origin != null) {
              request.addQueryParam("Origin", origin);
          }
  
          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