func (o *ListInvitesParams) WithTimeout(timeout time.Duration) *ListInvitesParams {
	o.SetTimeout(timeout)
	return o
}
WithTimeout adds the timeout to the list invites params
package invites
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"
	"github.com/go-openapi/swag"
)
func NewListInvitesParams() *ListInvitesParams {
	var (
		maxItemsDefault       = int64(100)
		offsetDefault         = int64(0)
		orderDirectionDefault = string("desc")
	)
	return &ListInvitesParams{
		MaxItems:       &maxItemsDefault,
		Offset:         &offsetDefault,
		OrderDirection: &orderDirectionDefault,
		timeout: cr.DefaultTimeout,
	}
}
func NewListInvitesParamsWithTimeout(timeout time.Duration) *ListInvitesParams {
	var (
		maxItemsDefault       = int64(100)
		offsetDefault         = int64(0)
		orderDirectionDefault = string("desc")
	)
	return &ListInvitesParams{
		MaxItems:       &maxItemsDefault,
		Offset:         &offsetDefault,
		OrderDirection: &orderDirectionDefault,
		timeout: timeout,
	}
}
func NewListInvitesParamsWithContext(ctx context.Context) *ListInvitesParams {
	var (
		maxItemsDefault       = int64(100)
		offsetDefault         = int64(0)
		orderDirectionDefault = string("desc")
	)
	return &ListInvitesParams{
		MaxItems:       &maxItemsDefault,
		Offset:         &offsetDefault,
		OrderDirection: &orderDirectionDefault,
		Context: ctx,
	}
}
func NewListInvitesParamsWithHTTPClient(client *http.Client) *ListInvitesParams {
	var (
		maxItemsDefault       = int64(100)
		offsetDefault         = int64(0)
		orderDirectionDefault = string("desc")
	)
	return &ListInvitesParams{
		MaxItems:       &maxItemsDefault,
		Offset:         &offsetDefault,
		OrderDirection: &orderDirectionDefault,
		HTTPClient:     client,
	}
}
type ListInvitesParams struct {
	Email *string
	MaxItems *int64
	Offset *int64
	OrderDirection *string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}