func (o *GetPublicGetTradingviewChartDataParams) SetInstrumentName(instrumentName string) {
	o.InstrumentName = instrumentName
}
SetInstrumentName adds the instrumentName to the get public get tradingview chart data params
package public
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 NewGetPublicGetTradingviewChartDataParams() *GetPublicGetTradingviewChartDataParams {
	var ()
	return &GetPublicGetTradingviewChartDataParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetPublicGetTradingviewChartDataParamsWithTimeout(timeout time.Duration) *GetPublicGetTradingviewChartDataParams {
	var ()
	return &GetPublicGetTradingviewChartDataParams{
		timeout: timeout,
	}
}
func NewGetPublicGetTradingviewChartDataParamsWithContext(ctx context.Context) *GetPublicGetTradingviewChartDataParams {
	var ()
	return &GetPublicGetTradingviewChartDataParams{
		Context: ctx,
	}
}
func NewGetPublicGetTradingviewChartDataParamsWithHTTPClient(client *http.Client) *GetPublicGetTradingviewChartDataParams {
	var ()
	return &GetPublicGetTradingviewChartDataParams{
		HTTPClient: client,
	}
}
type GetPublicGetTradingviewChartDataParams struct {
	EndTimestamp int64
	InstrumentName string
	Resolution string
	StartTimestamp int64
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetPublicGetTradingviewChartDataParams) WithTimeout(timeout time.Duration) *GetPublicGetTradingviewChartDataParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetPublicGetTradingviewChartDataParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetPublicGetTradingviewChartDataParams) WithContext(ctx context.Context) *GetPublicGetTradingviewChartDataParams {
	o.SetContext(ctx)
	return o
}
func (o *GetPublicGetTradingviewChartDataParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *GetPublicGetTradingviewChartDataParams) WithHTTPClient(client *http.Client) *GetPublicGetTradingviewChartDataParams {
	o.SetHTTPClient(client)
	return o
}
func (o *GetPublicGetTradingviewChartDataParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *GetPublicGetTradingviewChartDataParams) WithEndTimestamp(endTimestamp int64) *GetPublicGetTradingviewChartDataParams {
	o.SetEndTimestamp(endTimestamp)
	return o
}
func (o *GetPublicGetTradingviewChartDataParams) SetEndTimestamp(endTimestamp int64) {
	o.EndTimestamp = endTimestamp
}
func (o *GetPublicGetTradingviewChartDataParams) WithInstrumentName(instrumentName string) *GetPublicGetTradingviewChartDataParams {
	o.SetInstrumentName(instrumentName)
	return o
}