func (o *DeleteDataSourceParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
SetContext adds the context to the delete data source params
package config_service
import (
	"net/http"
	"time"
	"golang.org/x/net/context"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	cr "github.com/go-openapi/runtime/client"
	strfmt "github.com/go-openapi/strfmt"
)
func NewDeleteDataSourceParams() *DeleteDataSourceParams {
	var ()
	return &DeleteDataSourceParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewDeleteDataSourceParamsWithTimeout(timeout time.Duration) *DeleteDataSourceParams {
	var ()
	return &DeleteDataSourceParams{
		timeout: timeout,
	}
}
func NewDeleteDataSourceParamsWithContext(ctx context.Context) *DeleteDataSourceParams {
	var ()
	return &DeleteDataSourceParams{
		Context: ctx,
	}
}
func NewDeleteDataSourceParamsWithHTTPClient(client *http.Client) *DeleteDataSourceParams {
	var ()
	return &DeleteDataSourceParams{
		HTTPClient: client,
	}
}
type DeleteDataSourceParams struct {
	Name string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *DeleteDataSourceParams) WithTimeout(timeout time.Duration) *DeleteDataSourceParams {
	o.SetTimeout(timeout)
	return o
}
func (o *DeleteDataSourceParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *DeleteDataSourceParams) WithContext(ctx context.Context) *DeleteDataSourceParams {
	o.SetContext(ctx)
	return o
}