code: func (o *ListTasksURL) Build() (*url.URL, error) {
  	var _result url.URL
  
  	var _path = "/tasks"
  
  	_basePath := o._basePath
  	if _basePath == "" {
  		_basePath = "/api"
  	}
  	_result.Path = golangswaggerpaths.Join(_basePath, _path)
  
  	qs := make(url.Values)
  
  	var pageSize string
  	if o.PageSize != nil {
  		pageSize = swag.FormatInt32(*o.PageSize)
  	}
  	if pageSize != "" {
  		qs.Set("pageSize", pageSize)
  	}
  
  	var sinceID string
  	if o.SinceID != nil {
  		sinceID = swag.FormatInt64(*o.SinceID)
  	}
  	if sinceID != "" {
  		qs.Set("sinceId", sinceID)
  	}
  
  	var statusIR []string
  	for _, statusI := range o.Status {
  		statusIS := statusI
  		if statusIS != "" {
  			statusIR = append(statusIR, statusIS)
  		}
  	}
  
  	status := swag.JoinByFormat(statusIR, "pipes")
  
  	if len(status) > 0 {
  		qsv := status[0]
  		if qsv != "" {
  			qs.Set("status", qsv)
  		}
  	}
  
  	var tagsIR []string
  	for _, tagsI := range o.Tags {
  		tagsIS := tagsI
  		if tagsIS != "" {
  			tagsIR = append(tagsIR, tagsIS)
  		}
  	}
  
  	tags := swag.JoinByFormat(tagsIR, "")
  
  	if len(tags) > 0 {
  		qsv := tags[0]
  		if qsv != "" {
  			qs.Set("tags", qsv)
  		}
  	}
  
  	_result.RawQuery = qs.Encode()
  
  	return &_result, nil
  }
docs: // Build a url path and query string