func (o *RevokeParams) WithContext(ctx context.Context) *RevokeParams {
	o.SetContext(ctx)
	return o
}
WithContext adds the context to the revoke params
package token_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 NewRevokeParams() *RevokeParams {
	var ()
	return &RevokeParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewRevokeParamsWithTimeout(timeout time.Duration) *RevokeParams {
	var ()
	return &RevokeParams{
		timeout: timeout,
	}
}
func NewRevokeParamsWithContext(ctx context.Context) *RevokeParams {
	var ()
	return &RevokeParams{
		Context: ctx,
	}
}
func NewRevokeParamsWithHTTPClient(client *http.Client) *RevokeParams {
	var ()
	return &RevokeParams{
		HTTPClient: client,
	}
}
type RevokeParams struct {
	Body *models.RestRevokeRequest
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *RevokeParams) WithTimeout(timeout time.Duration) *RevokeParams {
	o.SetTimeout(timeout)
	return o
}
func (o *RevokeParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}