func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithSorting(sorting *string) *GetPublicGetLastTradesByCurrencyAndTimeParams {
	o.SetSorting(sorting)
	return o
}
WithSorting adds the sorting to the get public get last trades by currency and time 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 NewGetPublicGetLastTradesByCurrencyAndTimeParams() *GetPublicGetLastTradesByCurrencyAndTimeParams {
	var ()
	return &GetPublicGetLastTradesByCurrencyAndTimeParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithTimeout(timeout time.Duration) *GetPublicGetLastTradesByCurrencyAndTimeParams {
	var ()
	return &GetPublicGetLastTradesByCurrencyAndTimeParams{
		timeout: timeout,
	}
}
func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithContext(ctx context.Context) *GetPublicGetLastTradesByCurrencyAndTimeParams {
	var ()
	return &GetPublicGetLastTradesByCurrencyAndTimeParams{
		Context: ctx,
	}
}
func NewGetPublicGetLastTradesByCurrencyAndTimeParamsWithHTTPClient(client *http.Client) *GetPublicGetLastTradesByCurrencyAndTimeParams {
	var ()
	return &GetPublicGetLastTradesByCurrencyAndTimeParams{
		HTTPClient: client,
	}
}
type GetPublicGetLastTradesByCurrencyAndTimeParams struct {
	Count *int64
	Currency string
	EndTimestamp int64
	IncludeOld *bool
	Kind *string
	Sorting *string
	StartTimestamp int64
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithTimeout(timeout time.Duration) *GetPublicGetLastTradesByCurrencyAndTimeParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithContext(ctx context.Context) *GetPublicGetLastTradesByCurrencyAndTimeParams {
	o.SetContext(ctx)
	return o
}
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithHTTPClient(client *http.Client) *GetPublicGetLastTradesByCurrencyAndTimeParams {
	o.SetHTTPClient(client)
	return o
}
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithCount(count *int64) *GetPublicGetLastTradesByCurrencyAndTimeParams {
	o.SetCount(count)
	return o
}
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetCount(count *int64) {
	o.Count = count
}
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithCurrency(currency string) *GetPublicGetLastTradesByCurrencyAndTimeParams {
	o.SetCurrency(currency)
	return o
}
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetCurrency(currency string) {
	o.Currency = currency
}
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithEndTimestamp(endTimestamp int64) *GetPublicGetLastTradesByCurrencyAndTimeParams {
	o.SetEndTimestamp(endTimestamp)
	return o
}
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetEndTimestamp(endTimestamp int64) {
	o.EndTimestamp = endTimestamp
}
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithIncludeOld(includeOld *bool) *GetPublicGetLastTradesByCurrencyAndTimeParams {
	o.SetIncludeOld(includeOld)
	return o
}
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetIncludeOld(includeOld *bool) {
	o.IncludeOld = includeOld
}
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) WithKind(kind *string) *GetPublicGetLastTradesByCurrencyAndTimeParams {
	o.SetKind(kind)
	return o
}
func (o *GetPublicGetLastTradesByCurrencyAndTimeParams) SetKind(kind *string) {
	o.Kind = kind
}