func (o *GetPublicGetTradingviewChartDataParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
SetContext adds the context 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
}