code: private void addQueryParams(final Request request) {
          if (status != null) {
              request.addQueryParam("Status", status.toString());
          }
  
          if (sourceSid != null) {
              request.addQueryParam("SourceSid", sourceSid);
          }
  
          if (groupingSid != null) {
              for (String prop : groupingSid) {
                  request.addQueryParam("GroupingSid", prop);
              }
          }
  
          if (dateCreatedAfter != null) {
              request.addQueryParam("DateCreatedAfter", dateCreatedAfter.toString());
          }
  
          if (dateCreatedBefore != null) {
              request.addQueryParam("DateCreatedBefore", dateCreatedBefore.toString());
          }
  
          if (mediaType != null) {
              request.addQueryParam("MediaType", mediaType.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