func (o *QueryDevicesByFilterParams) WithSort(sort *string) *QueryDevicesByFilterParams {
	o.SetSort(sort)
	return o
}
WithSort adds the sort to the query devices by filter params
package hosts
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 NewQueryDevicesByFilterParams() *QueryDevicesByFilterParams {
	return &QueryDevicesByFilterParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewQueryDevicesByFilterParamsWithTimeout(timeout time.Duration) *QueryDevicesByFilterParams {
	return &QueryDevicesByFilterParams{
		timeout: timeout,
	}
}
func NewQueryDevicesByFilterParamsWithContext(ctx context.Context) *QueryDevicesByFilterParams {
	return &QueryDevicesByFilterParams{
		Context: ctx,
	}
}
func NewQueryDevicesByFilterParamsWithHTTPClient(client *http.Client) *QueryDevicesByFilterParams {
	return &QueryDevicesByFilterParams{
		HTTPClient: client,
	}
}
type QueryDevicesByFilterParams struct {
	Filter *string
	Limit *int64
	Offset *int64
	Sort *string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *QueryDevicesByFilterParams) WithDefaults() *QueryDevicesByFilterParams {
	o.SetDefaults()
	return o
}
func (o *QueryDevicesByFilterParams) SetDefaults() {
}
func (o *QueryDevicesByFilterParams) WithTimeout(timeout time.Duration) *QueryDevicesByFilterParams {
	o.SetTimeout(timeout)
	return o
}
func (o *QueryDevicesByFilterParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *QueryDevicesByFilterParams) WithContext(ctx context.Context) *QueryDevicesByFilterParams {
	o.SetContext(ctx)
	return o
}
func (o *QueryDevicesByFilterParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *QueryDevicesByFilterParams) WithHTTPClient(client *http.Client) *QueryDevicesByFilterParams {
	o.SetHTTPClient(client)
	return o
}
func (o *QueryDevicesByFilterParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *QueryDevicesByFilterParams) WithFilter(filter *string) *QueryDevicesByFilterParams {
	o.SetFilter(filter)
	return o
}
func (o *QueryDevicesByFilterParams) SetFilter(filter *string) {
	o.Filter = filter
}
func (o *QueryDevicesByFilterParams) WithLimit(limit *int64) *QueryDevicesByFilterParams {
	o.SetLimit(limit)
	return o
}
func (o *QueryDevicesByFilterParams) SetLimit(limit *int64) {
	o.Limit = limit
}
func (o *QueryDevicesByFilterParams) WithOffset(offset *int64) *QueryDevicesByFilterParams {
	o.SetOffset(offset)
	return o
}
func (o *QueryDevicesByFilterParams) SetOffset(offset *int64) {
	o.Offset = offset
}