private void addQueryParams(final Request request) {
        if (activityName != null) {
            request.addQueryParam("ActivityName", activityName);
        }

        if (activitySid != null) {
            request.addQueryParam("ActivitySid", activitySid);
        }

        if (available != null) {
            request.addQueryParam("Available", available);
        }

        if (friendlyName != null) {
            request.addQueryParam("FriendlyName", friendlyName);
        }

        if (targetWorkersExpression != null) {
            request.addQueryParam("TargetWorkersExpression", targetWorkersExpression);
        }

        if (taskQueueName != null) {
            request.addQueryParam("TaskQueueName", taskQueueName);
        }

        if (taskQueueSid != null) {
            request.addQueryParam("TaskQueueSid", taskQueueSid);
        }

        if (getPageSize() != null) {
            request.addQueryParam("PageSize", Integer.toString(getPageSize()));
        }
    }
private void addQueryParams ( final Request request ) { if ( activityName != null ) { request . addQueryParam ( "ActivityName" , activityName ) ; } if ( activitySid != null ) { request . addQueryParam ( "ActivitySid" , activitySid ) ; } if ( available != null ) { request . addQueryParam ( "Available" , available ) ; } if ( friendlyName != null ) { request . addQueryParam ( "FriendlyName" , friendlyName ) ; } if ( targetWorkersExpression != null ) { request . addQueryParam ( "TargetWorkersExpression" , targetWorkersExpression ) ; } if ( taskQueueName != null ) { request . addQueryParam ( "TaskQueueName" , taskQueueName ) ; } if ( taskQueueSid != null ) { request . addQueryParam ( "TaskQueueSid" , taskQueueSid ) ; } if ( getPageSize ( ) != null ) { request . addQueryParam ( "PageSize" , Integer . toString ( getPageSize ( ) ) ) ; } }
Add the requested query string arguments to the Request.

@param request Request to add query string arguments to