func (o *TokensReadParams) bindParamIds(formats strfmt.Registry) []string {
	idsIR := o.Ids
	var idsIC []string
	for _, idsIIR := range idsIR {  
		idsIIV := idsIIR  
		idsIC = append(idsIC, idsIIV)
	}
	idsIS := swag.JoinByFormat(idsIC, "multi")
	return idsIS
}
bindParamTokensRead binds the parameter ids
package installation_tokens
import (
	"context"
	"net/http"
	"time"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	cr "github.com/go-openapi/runtime/client"
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)
func NewTokensReadParams() *TokensReadParams {
	return &TokensReadParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewTokensReadParamsWithTimeout(timeout time.Duration) *TokensReadParams {
	return &TokensReadParams{
		timeout: timeout,
	}
}
func NewTokensReadParamsWithContext(ctx context.Context) *TokensReadParams {
	return &TokensReadParams{
		Context: ctx,
	}
}
func NewTokensReadParamsWithHTTPClient(client *http.Client) *TokensReadParams {
	return &TokensReadParams{
		HTTPClient: client,
	}
}
type TokensReadParams struct {
	Ids []string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *TokensReadParams) WithDefaults() *TokensReadParams {
	o.SetDefaults()
	return o
}
func (o *TokensReadParams) SetDefaults() {
}
func (o *TokensReadParams) WithTimeout(timeout time.Duration) *TokensReadParams {
	o.SetTimeout(timeout)
	return o
}
func (o *TokensReadParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *TokensReadParams) WithContext(ctx context.Context) *TokensReadParams {
	o.SetContext(ctx)
	return o
}
func (o *TokensReadParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *TokensReadParams) WithHTTPClient(client *http.Client) *TokensReadParams {
	o.SetHTTPClient(client)
	return o
}
func (o *TokensReadParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *TokensReadParams) WithIds(ids []string) *TokensReadParams {
	o.SetIds(ids)
	return o
}
func (o *TokensReadParams) SetIds(ids []string) {
	o.Ids = ids
}
func (o *TokensReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {
	if err := r.SetTimeout(o.timeout); err != nil {
		return err
	}
	var res []error
	if o.Ids != nil {
		joinedIds := o.bindParamIds(reg)
		if err := r.SetQueryParam("ids", joinedIds...); err != nil {
			return err
		}
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}