func (o *GetRoleParams) WithUserRole(userRole *bool) *GetRoleParams {
	o.SetUserRole(userRole)
	return o
}
WithUserRole adds the userRole to the get role params
package role_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"
	"github.com/go-openapi/swag"
	strfmt "github.com/go-openapi/strfmt"
)
func NewGetRoleParams() *GetRoleParams {
	var ()
	return &GetRoleParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetRoleParamsWithTimeout(timeout time.Duration) *GetRoleParams {
	var ()
	return &GetRoleParams{
		timeout: timeout,
	}
}
func NewGetRoleParamsWithContext(ctx context.Context) *GetRoleParams {
	var ()
	return &GetRoleParams{
		Context: ctx,
	}
}
func NewGetRoleParamsWithHTTPClient(client *http.Client) *GetRoleParams {
	var ()
	return &GetRoleParams{
		HTTPClient: client,
	}
}
type GetRoleParams struct {
	AutoApplies []string
	ForceOverride *bool
	GroupRole *bool
	IsTeam *bool
	Label *string
	LastUpdated *int32
	PoliciesContextEditable *bool
	UserRole *bool
	UUID string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetRoleParams) WithTimeout(timeout time.Duration) *GetRoleParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetRoleParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetRoleParams) WithContext(ctx context.Context) *GetRoleParams {
	o.SetContext(ctx)
	return o
}
func (o *GetRoleParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *GetRoleParams) WithHTTPClient(client *http.Client) *GetRoleParams {
	o.SetHTTPClient(client)
	return o
}
func (o *GetRoleParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *GetRoleParams) WithAutoApplies(autoApplies []string) *GetRoleParams {
	o.SetAutoApplies(autoApplies)
	return o
}
func (o *GetRoleParams) SetAutoApplies(autoApplies []string) {
	o.AutoApplies = autoApplies
}
func (o *GetRoleParams) WithForceOverride(forceOverride *bool) *GetRoleParams {
	o.SetForceOverride(forceOverride)
	return o
}
func (o *GetRoleParams) SetForceOverride(forceOverride *bool) {
	o.ForceOverride = forceOverride
}
func (o *GetRoleParams) WithGroupRole(groupRole *bool) *GetRoleParams {
	o.SetGroupRole(groupRole)
	return o
}
func (o *GetRoleParams) SetGroupRole(groupRole *bool) {
	o.GroupRole = groupRole
}
func (o *GetRoleParams) WithIsTeam(isTeam *bool) *GetRoleParams {
	o.SetIsTeam(isTeam)
	return o
}
func (o *GetRoleParams) SetIsTeam(isTeam *bool) {
	o.IsTeam = isTeam
}
func (o *GetRoleParams) WithLabel(label *string) *GetRoleParams {
	o.SetLabel(label)
	return o
}
func (o *GetRoleParams) SetLabel(label *string) {
	o.Label = label
}
func (o *GetRoleParams) WithLastUpdated(lastUpdated *int32) *GetRoleParams {
	o.SetLastUpdated(lastUpdated)
	return o
}
func (o *GetRoleParams) SetLastUpdated(lastUpdated *int32) {
	o.LastUpdated = lastUpdated
}
func (o *GetRoleParams) WithPoliciesContextEditable(policiesContextEditable *bool) *GetRoleParams {
	o.SetPoliciesContextEditable(policiesContextEditable)
	return o
}
func (o *GetRoleParams) SetPoliciesContextEditable(policiesContextEditable *bool) {
	o.PoliciesContextEditable = policiesContextEditable
}