func (o *GetStakingRedelegationsParams) WithValidatorTo(validatorTo *string) *GetStakingRedelegationsParams {
	o.SetValidatorTo(validatorTo)
	return o
}
WithValidatorTo adds the validatorTo to the get staking redelegations params
package staking
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/strfmt"
)
func NewGetStakingRedelegationsParams() *GetStakingRedelegationsParams {
	var ()
	return &GetStakingRedelegationsParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetStakingRedelegationsParamsWithTimeout(timeout time.Duration) *GetStakingRedelegationsParams {
	var ()
	return &GetStakingRedelegationsParams{
		timeout: timeout,
	}
}
func NewGetStakingRedelegationsParamsWithContext(ctx context.Context) *GetStakingRedelegationsParams {
	var ()
	return &GetStakingRedelegationsParams{
		Context: ctx,
	}
}
func NewGetStakingRedelegationsParamsWithHTTPClient(client *http.Client) *GetStakingRedelegationsParams {
	var ()
	return &GetStakingRedelegationsParams{
		HTTPClient: client,
	}
}
type GetStakingRedelegationsParams struct {
	Delegator *string
	ValidatorFrom *string
	ValidatorTo *string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetStakingRedelegationsParams) WithTimeout(timeout time.Duration) *GetStakingRedelegationsParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetStakingRedelegationsParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetStakingRedelegationsParams) WithContext(ctx context.Context) *GetStakingRedelegationsParams {
	o.SetContext(ctx)
	return o
}
func (o *GetStakingRedelegationsParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *GetStakingRedelegationsParams) WithHTTPClient(client *http.Client) *GetStakingRedelegationsParams {
	o.SetHTTPClient(client)
	return o
}
func (o *GetStakingRedelegationsParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *GetStakingRedelegationsParams) WithDelegator(delegator *string) *GetStakingRedelegationsParams {
	o.SetDelegator(delegator)
	return o
}
func (o *GetStakingRedelegationsParams) SetDelegator(delegator *string) {
	o.Delegator = delegator
}
func (o *GetStakingRedelegationsParams) WithValidatorFrom(validatorFrom *string) *GetStakingRedelegationsParams {
	o.SetValidatorFrom(validatorFrom)
	return o
}
func (o *GetStakingRedelegationsParams) SetValidatorFrom(validatorFrom *string) {
	o.ValidatorFrom = validatorFrom
}