code: private void addPostParams(final Request request) {
          if (friendlyName != null) {
              request.addPostParam("FriendlyName", friendlyName);
          }
  
          if (targetWorkers != null) {
              request.addPostParam("TargetWorkers", targetWorkers);
          }
  
          if (maxReservedWorkers != null) {
              request.addPostParam("MaxReservedWorkers", maxReservedWorkers.toString());
          }
  
          if (taskOrder != null) {
              request.addPostParam("TaskOrder", taskOrder.toString());
          }
  
          if (reservationActivitySid != null) {
              request.addPostParam("ReservationActivitySid", reservationActivitySid);
          }
  
          if (assignmentActivitySid != null) {
              request.addPostParam("AssignmentActivitySid", assignmentActivitySid);
          }
      }
docs: Add the requested post parameters to the Request.
  
  @param request Request to add post params to