func (a *Client) GetPrivateWithdraw(params *GetPrivateWithdrawParams) (*GetPrivateWithdrawOK, error) {
	if params == nil {
		params = NewGetPrivateWithdrawParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateWithdraw",
		Method:             "GET",
		PathPattern:        "/private/withdraw",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateWithdrawReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetPrivateWithdrawOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetPrivateWithdraw: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
/*
GetPrivateWithdraw creates a new withdrawal request
package wallet
import (
	"fmt"
	"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
	}
	success, ok := result.(*GetPrivateAddToAddressBookOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetPrivateAddToAddressBook: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
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
	}
	success, ok := result.(*GetPrivateCancelWithdrawalOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetPrivateCancelWithdrawal: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
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
	}
	success, ok := result.(*GetPrivateCreateDepositAddressOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetPrivateCreateDepositAddress: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetPrivateGetAddressBook(params *GetPrivateGetAddressBookParams) (*GetPrivateGetAddressBookOK, error) {
	if params == nil {
		params = NewGetPrivateGetAddressBookParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateGetAddressBook",
		Method:             "GET",
		PathPattern:        "/private/get_address_book",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateGetAddressBookReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetPrivateGetAddressBookOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetPrivateGetAddressBook: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetPrivateGetCurrentDepositAddress(params *GetPrivateGetCurrentDepositAddressParams) (*GetPrivateGetCurrentDepositAddressOK, error) {
	if params == nil {
		params = NewGetPrivateGetCurrentDepositAddressParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateGetCurrentDepositAddress",
		Method:             "GET",
		PathPattern:        "/private/get_current_deposit_address",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateGetCurrentDepositAddressReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetPrivateGetCurrentDepositAddressOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetPrivateGetCurrentDepositAddress: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetPrivateGetDeposits(params *GetPrivateGetDepositsParams) (*GetPrivateGetDepositsOK, error) {
	if params == nil {
		params = NewGetPrivateGetDepositsParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateGetDeposits",
		Method:             "GET",
		PathPattern:        "/private/get_deposits",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateGetDepositsReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetPrivateGetDepositsOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetPrivateGetDeposits: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetPrivateGetTransfers(params *GetPrivateGetTransfersParams) (*GetPrivateGetTransfersOK, error) {
	if params == nil {
		params = NewGetPrivateGetTransfersParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateGetTransfers",
		Method:             "GET",
		PathPattern:        "/private/get_transfers",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateGetTransfersReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetPrivateGetTransfersOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetPrivateGetTransfers: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetPrivateGetWithdrawals(params *GetPrivateGetWithdrawalsParams) (*GetPrivateGetWithdrawalsOK, error) {
	if params == nil {
		params = NewGetPrivateGetWithdrawalsParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateGetWithdrawals",
		Method:             "GET",
		PathPattern:        "/private/get_withdrawals",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateGetWithdrawalsReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetPrivateGetWithdrawalsOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetPrivateGetWithdrawals: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetPrivateRemoveFromAddressBook(params *GetPrivateRemoveFromAddressBookParams) (*GetPrivateRemoveFromAddressBookOK, error) {
	if params == nil {
		params = NewGetPrivateRemoveFromAddressBookParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateRemoveFromAddressBook",
		Method:             "GET",
		PathPattern:        "/private/remove_from_address_book",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateRemoveFromAddressBookReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetPrivateRemoveFromAddressBookOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetPrivateRemoveFromAddressBook: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetPrivateToggleDepositAddressCreation(params *GetPrivateToggleDepositAddressCreationParams) (*GetPrivateToggleDepositAddressCreationOK, error) {
	if params == nil {
		params = NewGetPrivateToggleDepositAddressCreationParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetPrivateToggleDepositAddressCreation",
		Method:             "GET",
		PathPattern:        "/private/toggle_deposit_address_creation",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{""},
		Schemes:            []string{"http"},
		Params:             params,
		Reader:             &GetPrivateToggleDepositAddressCreationReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetPrivateToggleDepositAddressCreationOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetPrivateToggleDepositAddressCreation: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}