func (o *ImportEncryptionKeyParams) WithContext(ctx context.Context) *ImportEncryptionKeyParams {
	o.SetContext(ctx)
	return o
}
WithContext adds the context to the import encryption key 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"
	models "github.com/pydio/cells-sdk-go/models"
)
func NewImportEncryptionKeyParams() *ImportEncryptionKeyParams {
	var ()
	return &ImportEncryptionKeyParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewImportEncryptionKeyParamsWithTimeout(timeout time.Duration) *ImportEncryptionKeyParams {
	var ()
	return &ImportEncryptionKeyParams{
		timeout: timeout,
	}
}
func NewImportEncryptionKeyParamsWithContext(ctx context.Context) *ImportEncryptionKeyParams {
	var ()
	return &ImportEncryptionKeyParams{
		Context: ctx,
	}
}
func NewImportEncryptionKeyParamsWithHTTPClient(client *http.Client) *ImportEncryptionKeyParams {
	var ()
	return &ImportEncryptionKeyParams{
		HTTPClient: client,
	}
}
type ImportEncryptionKeyParams struct {
	Body *models.EncryptionAdminImportKeyRequest
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *ImportEncryptionKeyParams) WithTimeout(timeout time.Duration) *ImportEncryptionKeyParams {
	o.SetTimeout(timeout)
	return o
}
func (o *ImportEncryptionKeyParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}