func (o *FrontMessagesParams) WithTimeout(timeout time.Duration) *FrontMessagesParams {
	o.SetTimeout(timeout)
	return o
}
WithTimeout adds the timeout to the front messages params
package frontend_service
import (
	"net/http"
	"time"
	"golang.org/x/net/context"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	cr "github.com/go-openapi/runtime/client"
	strfmt "github.com/go-openapi/strfmt"
)
func NewFrontMessagesParams() *FrontMessagesParams {
	var ()
	return &FrontMessagesParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewFrontMessagesParamsWithTimeout(timeout time.Duration) *FrontMessagesParams {
	var ()
	return &FrontMessagesParams{
		timeout: timeout,
	}
}
func NewFrontMessagesParamsWithContext(ctx context.Context) *FrontMessagesParams {
	var ()
	return &FrontMessagesParams{
		Context: ctx,
	}
}
func NewFrontMessagesParamsWithHTTPClient(client *http.Client) *FrontMessagesParams {
	var ()
	return &FrontMessagesParams{
		HTTPClient: client,
	}
}
type FrontMessagesParams struct {
	Lang string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}