func (a *Client) GetPrivateDatatable(params *GetPrivateDatatableParams) (*GetPrivateDatatableOK, error) {
	if params == nil {
		params = NewGetPrivateDatatableParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateDatatable",
		Method:             "GET",
		PathPattern:        "/private/datatable",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateDatatableReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetPrivateDatatableOK), nil
}
/*
GetPrivateDatatable this is a private API endpoint intended for the user interface this API is subject to change and should not be used outside the deribit interface
package operations
import (
	"github.com/go-openapi/runtime"
	strfmt "github.com/go-openapi/strfmt"
)
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client {
	return &Client{transport: transport, formats: formats}
}
type Client struct {
	transport runtime.ClientTransport
	formats   strfmt.Registry
}
func (a *Client) GetPrivateAddToAddressBook(params *GetPrivateAddToAddressBookParams) (*GetPrivateAddToAddressBookOK, error) {
	if params == nil {
		params = NewGetPrivateAddToAddressBookParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateAddToAddressBook",
		Method:             "GET",
		PathPattern:        "/private/add_to_address_book",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateAddToAddressBookReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetPrivateAddToAddressBookOK), nil
}
func (a *Client) GetPrivateBuy(params *GetPrivateBuyParams) (*GetPrivateBuyOK, error) {
	if params == nil {
		params = NewGetPrivateBuyParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateBuy",
		Method:             "GET",
		PathPattern:        "/private/buy",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateBuyReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetPrivateBuyOK), nil
}
func (a *Client) GetPrivateCancel(params *GetPrivateCancelParams) (*GetPrivateCancelOK, error) {
	if params == nil {
		params = NewGetPrivateCancelParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateCancel",
		Method:             "GET",
		PathPattern:        "/private/cancel",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateCancelReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetPrivateCancelOK), nil
}
func (a *Client) GetPrivateCancelAll(params *GetPrivateCancelAllParams) (*GetPrivateCancelAllOK, error) {
	if params == nil {
		params = NewGetPrivateCancelAllParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateCancelAll",
		Method:             "GET",
		PathPattern:        "/private/cancel_all",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateCancelAllReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetPrivateCancelAllOK), nil
}
func (a *Client) GetPrivateCancelAllByCurrency(params *GetPrivateCancelAllByCurrencyParams) (*GetPrivateCancelAllByCurrencyOK, error) {
	if params == nil {
		params = NewGetPrivateCancelAllByCurrencyParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateCancelAllByCurrency",
		Method:             "GET",
		PathPattern:        "/private/cancel_all_by_currency",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateCancelAllByCurrencyReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetPrivateCancelAllByCurrencyOK), nil
}
func (a *Client) GetPrivateCancelAllByInstrument(params *GetPrivateCancelAllByInstrumentParams) (*GetPrivateCancelAllByInstrumentOK, error) {
	if params == nil {
		params = NewGetPrivateCancelAllByInstrumentParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateCancelAllByInstrument",
		Method:             "GET",
		PathPattern:        "/private/cancel_all_by_instrument",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateCancelAllByInstrumentReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetPrivateCancelAllByInstrumentOK), nil
}
func (a *Client) GetPrivateCancelTransferByID(params *GetPrivateCancelTransferByIDParams) (*GetPrivateCancelTransferByIDOK, error) {
	if params == nil {
		params = NewGetPrivateCancelTransferByIDParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateCancelTransferByID",
		Method:             "GET",
		PathPattern:        "/private/cancel_transfer_by_id",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateCancelTransferByIDReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetPrivateCancelTransferByIDOK), nil
}
func (a *Client) GetPrivateCancelWithdrawal(params *GetPrivateCancelWithdrawalParams) (*GetPrivateCancelWithdrawalOK, error) {
	if params == nil {
		params = NewGetPrivateCancelWithdrawalParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateCancelWithdrawal",
		Method:             "GET",
		PathPattern:        "/private/cancel_withdrawal",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateCancelWithdrawalReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetPrivateCancelWithdrawalOK), nil
}
func (a *Client) GetPrivateChangeSubaccountName(params *GetPrivateChangeSubaccountNameParams) (*GetPrivateChangeSubaccountNameOK, error) {
	if params == nil {
		params = NewGetPrivateChangeSubaccountNameParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateChangeSubaccountName",
		Method:             "GET",
		PathPattern:        "/private/change_subaccount_name",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateChangeSubaccountNameReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetPrivateChangeSubaccountNameOK), nil
}
func (a *Client) GetPrivateClosePosition(params *GetPrivateClosePositionParams) (*GetPrivateClosePositionOK, error) {
	if params == nil {
		params = NewGetPrivateClosePositionParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateClosePosition",
		Method:             "GET",
		PathPattern:        "/private/close_position",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateClosePositionReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetPrivateClosePositionOK), nil
}
func (a *Client) GetPrivateCreateDepositAddress(params *GetPrivateCreateDepositAddressParams) (*GetPrivateCreateDepositAddressOK, error) {
	if params == nil {
		params = NewGetPrivateCreateDepositAddressParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateCreateDepositAddress",
		Method:             "GET",
		PathPattern:        "/private/create_deposit_address",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateCreateDepositAddressReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetPrivateCreateDepositAddressOK), nil
}
func (a *Client) GetPrivateCreateSubaccount(params *GetPrivateCreateSubaccountParams) (*GetPrivateCreateSubaccountOK, error) {
	if params == nil {
		params = NewGetPrivateCreateSubaccountParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateCreateSubaccount",
		Method:             "GET",
		PathPattern:        "/private/create_subaccount",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateCreateSubaccountReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	return result.(*GetPrivateCreateSubaccountOK), nil
}