func (o *ListInvitesParams) WithMaxItems(maxItems *int64) *ListInvitesParams {
	o.SetMaxItems(maxItems)
	return o
}
WithMaxItems adds the maxItems 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
}
func (o *ListInvitesParams) WithTimeout(timeout time.Duration) *ListInvitesParams {
	o.SetTimeout(timeout)
	return o
}
func (o *ListInvitesParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *ListInvitesParams) WithContext(ctx context.Context) *ListInvitesParams {
	o.SetContext(ctx)
	return o
}
func (o *ListInvitesParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *ListInvitesParams) WithHTTPClient(client *http.Client) *ListInvitesParams {
	o.SetHTTPClient(client)
	return o
}
func (o *ListInvitesParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *ListInvitesParams) WithEmail(email *string) *ListInvitesParams {
	o.SetEmail(email)
	return o
}
func (o *ListInvitesParams) SetEmail(email *string) {
	o.Email = email
}