func (o *GetPrivateClosePositionParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
SetTimeout adds the timeout to the get private close position 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 NewGetPrivateClosePositionParams() *GetPrivateClosePositionParams {
	var ()
	return &GetPrivateClosePositionParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetPrivateClosePositionParamsWithTimeout(timeout time.Duration) *GetPrivateClosePositionParams {
	var ()
	return &GetPrivateClosePositionParams{
		timeout: timeout,
	}
}
func NewGetPrivateClosePositionParamsWithContext(ctx context.Context) *GetPrivateClosePositionParams {
	var ()
	return &GetPrivateClosePositionParams{
		Context: ctx,
	}
}
func NewGetPrivateClosePositionParamsWithHTTPClient(client *http.Client) *GetPrivateClosePositionParams {
	var ()
	return &GetPrivateClosePositionParams{
		HTTPClient: client,
	}
}
type GetPrivateClosePositionParams struct {
	InstrumentName string
	Price *float64
	Type string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetPrivateClosePositionParams) WithTimeout(timeout time.Duration) *GetPrivateClosePositionParams {
	o.SetTimeout(timeout)
	return o
}