func (o *GetPublicGetLastTradesByInstrumentParams) WithCount(count *int64) *GetPublicGetLastTradesByInstrumentParams {
	o.SetCount(count)
	return o
}
WithCount adds the count to the get public get last trades by instrument 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 NewGetPublicGetLastTradesByInstrumentParams() *GetPublicGetLastTradesByInstrumentParams {
	var ()
	return &GetPublicGetLastTradesByInstrumentParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetPublicGetLastTradesByInstrumentParamsWithTimeout(timeout time.Duration) *GetPublicGetLastTradesByInstrumentParams {
	var ()
	return &GetPublicGetLastTradesByInstrumentParams{
		timeout: timeout,
	}
}
func NewGetPublicGetLastTradesByInstrumentParamsWithContext(ctx context.Context) *GetPublicGetLastTradesByInstrumentParams {
	var ()
	return &GetPublicGetLastTradesByInstrumentParams{
		Context: ctx,
	}
}
func NewGetPublicGetLastTradesByInstrumentParamsWithHTTPClient(client *http.Client) *GetPublicGetLastTradesByInstrumentParams {
	var ()
	return &GetPublicGetLastTradesByInstrumentParams{
		HTTPClient: client,
	}
}
type GetPublicGetLastTradesByInstrumentParams struct {
	Count *int64
	EndSeq *int64
	IncludeOld *bool
	InstrumentName string
	Sorting *string
	StartSeq *int64
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetPublicGetLastTradesByInstrumentParams) WithTimeout(timeout time.Duration) *GetPublicGetLastTradesByInstrumentParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetPublicGetLastTradesByInstrumentParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetPublicGetLastTradesByInstrumentParams) WithContext(ctx context.Context) *GetPublicGetLastTradesByInstrumentParams {
	o.SetContext(ctx)
	return o
}
func (o *GetPublicGetLastTradesByInstrumentParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *GetPublicGetLastTradesByInstrumentParams) WithHTTPClient(client *http.Client) *GetPublicGetLastTradesByInstrumentParams {
	o.SetHTTPClient(client)
	return o
}
func (o *GetPublicGetLastTradesByInstrumentParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}