code: private void addQueryParams(final Request request) {
          if (priority != null) {
              request.addQueryParam("Priority", priority.toString());
          }
  
          if (assignmentStatus != null) {
              for (String prop : assignmentStatus) {
                  request.addQueryParam("AssignmentStatus", prop);
              }
          }
  
          if (workflowSid != null) {
              request.addQueryParam("WorkflowSid", workflowSid);
          }
  
          if (workflowName != null) {
              request.addQueryParam("WorkflowName", workflowName);
          }
  
          if (taskQueueSid != null) {
              request.addQueryParam("TaskQueueSid", taskQueueSid);
          }
  
          if (taskQueueName != null) {
              request.addQueryParam("TaskQueueName", taskQueueName);
          }
  
          if (evaluateTaskAttributes != null) {
              request.addQueryParam("EvaluateTaskAttributes", evaluateTaskAttributes);
          }
  
          if (ordering != null) {
              request.addQueryParam("Ordering", ordering);
          }
  
          if (hasAddons != null) {
              request.addQueryParam("HasAddons", hasAddons.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