func (o *GetAppsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {
	if err := r.SetTimeout(o.timeout); err != nil {
		return err
	}
	var res []error
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
WriteToRequest writes these params to a swagger request
package application
import (
	"context"
	"net/http"
	"time"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	cr "github.com/go-openapi/runtime/client"
	strfmt "github.com/go-openapi/strfmt"
)
func NewGetAppsParams() *GetAppsParams {
	return &GetAppsParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetAppsParamsWithTimeout(timeout time.Duration) *GetAppsParams {
	return &GetAppsParams{
		timeout: timeout,
	}
}
func NewGetAppsParamsWithContext(ctx context.Context) *GetAppsParams {
	return &GetAppsParams{
		Context: ctx,
	}
}
func NewGetAppsParamsWithHTTPClient(client *http.Client) *GetAppsParams {
	return &GetAppsParams{
		HTTPClient: client,
	}
}
type GetAppsParams struct {
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetAppsParams) WithTimeout(timeout time.Duration) *GetAppsParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetAppsParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetAppsParams) WithContext(ctx context.Context) *GetAppsParams {
	o.SetContext(ctx)
	return o
}
func (o *GetAppsParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *GetAppsParams) WithHTTPClient(client *http.Client) *GetAppsParams {
	o.SetHTTPClient(client)
	return o
}
func (o *GetAppsParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}