func (o *GetPublicGetLastTradesByCurrencyParams) SetSorting(sorting *string) {
	o.Sorting = sorting
}
SetSorting adds the sorting to the get public get last trades by currency 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 NewGetPublicGetLastTradesByCurrencyParams() *GetPublicGetLastTradesByCurrencyParams {
	var ()
	return &GetPublicGetLastTradesByCurrencyParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetPublicGetLastTradesByCurrencyParamsWithTimeout(timeout time.Duration) *GetPublicGetLastTradesByCurrencyParams {
	var ()
	return &GetPublicGetLastTradesByCurrencyParams{
		timeout: timeout,
	}
}
func NewGetPublicGetLastTradesByCurrencyParamsWithContext(ctx context.Context) *GetPublicGetLastTradesByCurrencyParams {
	var ()
	return &GetPublicGetLastTradesByCurrencyParams{
		Context: ctx,
	}
}
func NewGetPublicGetLastTradesByCurrencyParamsWithHTTPClient(client *http.Client) *GetPublicGetLastTradesByCurrencyParams {
	var ()
	return &GetPublicGetLastTradesByCurrencyParams{
		HTTPClient: client,
	}
}
type GetPublicGetLastTradesByCurrencyParams struct {
	Count *int64
	Currency string
	EndSeq *int64
	IncludeOld *bool
	Kind *string
	Sorting *string
	StartSeq *int64
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetPublicGetLastTradesByCurrencyParams) WithTimeout(timeout time.Duration) *GetPublicGetLastTradesByCurrencyParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetPublicGetLastTradesByCurrencyParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetPublicGetLastTradesByCurrencyParams) WithContext(ctx context.Context) *GetPublicGetLastTradesByCurrencyParams {
	o.SetContext(ctx)
	return o
}
func (o *GetPublicGetLastTradesByCurrencyParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *GetPublicGetLastTradesByCurrencyParams) WithHTTPClient(client *http.Client) *GetPublicGetLastTradesByCurrencyParams {
	o.SetHTTPClient(client)
	return o
}
func (o *GetPublicGetLastTradesByCurrencyParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *GetPublicGetLastTradesByCurrencyParams) WithCount(count *int64) *GetPublicGetLastTradesByCurrencyParams {
	o.SetCount(count)
	return o
}
func (o *GetPublicGetLastTradesByCurrencyParams) SetCount(count *int64) {
	o.Count = count
}
func (o *GetPublicGetLastTradesByCurrencyParams) WithCurrency(currency string) *GetPublicGetLastTradesByCurrencyParams {
	o.SetCurrency(currency)
	return o
}
func (o *GetPublicGetLastTradesByCurrencyParams) SetCurrency(currency string) {
	o.Currency = currency
}
func (o *GetPublicGetLastTradesByCurrencyParams) WithEndSeq(endSeq *int64) *GetPublicGetLastTradesByCurrencyParams {
	o.SetEndSeq(endSeq)
	return o
}
func (o *GetPublicGetLastTradesByCurrencyParams) SetEndSeq(endSeq *int64) {
	o.EndSeq = endSeq
}
func (o *GetPublicGetLastTradesByCurrencyParams) WithIncludeOld(includeOld *bool) *GetPublicGetLastTradesByCurrencyParams {
	o.SetIncludeOld(includeOld)
	return o
}
func (o *GetPublicGetLastTradesByCurrencyParams) SetIncludeOld(includeOld *bool) {
	o.IncludeOld = includeOld
}
func (o *GetPublicGetLastTradesByCurrencyParams) WithKind(kind *string) *GetPublicGetLastTradesByCurrencyParams {
	o.SetKind(kind)
	return o
}
func (o *GetPublicGetLastTradesByCurrencyParams) SetKind(kind *string) {
	o.Kind = kind
}
func (o *GetPublicGetLastTradesByCurrencyParams) WithSorting(sorting *string) *GetPublicGetLastTradesByCurrencyParams {
	o.SetSorting(sorting)
	return o
}