func (o *GetPublicGetlasttradesParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
SetHTTPClient adds the HTTPClient to the get public getlasttrades params
package operations
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/swag"
	strfmt "github.com/go-openapi/strfmt"
)
func NewGetPublicGetlasttradesParams() *GetPublicGetlasttradesParams {
	var ()
	return &GetPublicGetlasttradesParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetPublicGetlasttradesParamsWithTimeout(timeout time.Duration) *GetPublicGetlasttradesParams {
	var ()
	return &GetPublicGetlasttradesParams{
		timeout: timeout,
	}
}
func NewGetPublicGetlasttradesParamsWithContext(ctx context.Context) *GetPublicGetlasttradesParams {
	var ()
	return &GetPublicGetlasttradesParams{
		Context: ctx,
	}
}
func NewGetPublicGetlasttradesParamsWithHTTPClient(client *http.Client) *GetPublicGetlasttradesParams {
	var ()
	return &GetPublicGetlasttradesParams{
		HTTPClient: client,
	}
}
type GetPublicGetlasttradesParams struct {
	Count *float64
	Direction *string
	EndID *float64
	EndSeq *float64
	EndTimestamp *int64
	Instrument string
	Since *float64
	Sort *string
	StartID *float64
	StartSeq *float64
	StartTimestamp *int64
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetPublicGetlasttradesParams) WithTimeout(timeout time.Duration) *GetPublicGetlasttradesParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetPublicGetlasttradesParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetPublicGetlasttradesParams) WithContext(ctx context.Context) *GetPublicGetlasttradesParams {
	o.SetContext(ctx)
	return o
}
func (o *GetPublicGetlasttradesParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *GetPublicGetlasttradesParams) WithHTTPClient(client *http.Client) *GetPublicGetlasttradesParams {
	o.SetHTTPClient(client)
	return o
}