func (o *ListFamiliesParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
SetContext adds the context to the list families params
package families
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 NewListFamiliesParams() *ListFamiliesParams {
	var (
		maxItemsDefault       = int64(10)
		offsetDefault         = int64(0)
		orderByDefault        = string("name")
		orderDirectionDefault = string("asc")
	)
	return &ListFamiliesParams{
		MaxItems:       &maxItemsDefault,
		Offset:         &offsetDefault,
		OrderBy:        &orderByDefault,
		OrderDirection: &orderDirectionDefault,
		timeout: cr.DefaultTimeout,
	}
}
func NewListFamiliesParamsWithTimeout(timeout time.Duration) *ListFamiliesParams {
	var (
		maxItemsDefault       = int64(10)
		offsetDefault         = int64(0)
		orderByDefault        = string("name")
		orderDirectionDefault = string("asc")
	)
	return &ListFamiliesParams{
		MaxItems:       &maxItemsDefault,
		Offset:         &offsetDefault,
		OrderBy:        &orderByDefault,
		OrderDirection: &orderDirectionDefault,
		timeout: timeout,
	}
}
func NewListFamiliesParamsWithContext(ctx context.Context) *ListFamiliesParams {
	var (
		maxItemsDefault       = int64(10)
		offsetDefault         = int64(0)
		orderByDefault        = string("name")
		orderDirectionDefault = string("asc")
	)
	return &ListFamiliesParams{
		MaxItems:       &maxItemsDefault,
		Offset:         &offsetDefault,
		OrderBy:        &orderByDefault,
		OrderDirection: &orderDirectionDefault,
		Context: ctx,
	}
}
func NewListFamiliesParamsWithHTTPClient(client *http.Client) *ListFamiliesParams {
	var (
		maxItemsDefault       = int64(10)
		offsetDefault         = int64(0)
		orderByDefault        = string("name")
		orderDirectionDefault = string("asc")
	)
	return &ListFamiliesParams{
		MaxItems:       &maxItemsDefault,
		Offset:         &offsetDefault,
		OrderBy:        &orderByDefault,
		OrderDirection: &orderDirectionDefault,
		HTTPClient:     client,
	}
}
type ListFamiliesParams struct {
	MaxItems *int64
	Offset *int64
	OrderBy *string
	OrderDirection *string
	Query *string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *ListFamiliesParams) WithTimeout(timeout time.Duration) *ListFamiliesParams {
	o.SetTimeout(timeout)
	return o
}
func (o *ListFamiliesParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *ListFamiliesParams) WithContext(ctx context.Context) *ListFamiliesParams {
	o.SetContext(ctx)
	return o
}