func (o *ProcessesRanOnParams) WithContext(ctx context.Context) *ProcessesRanOnParams {
	o.SetContext(ctx)
	return o
}
WithContext adds the context to the processes ran on params
package iocs
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"
)
func NewProcessesRanOnParams() *ProcessesRanOnParams {
	return &ProcessesRanOnParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewProcessesRanOnParamsWithTimeout(timeout time.Duration) *ProcessesRanOnParams {
	return &ProcessesRanOnParams{
		timeout: timeout,
	}
}
func NewProcessesRanOnParamsWithContext(ctx context.Context) *ProcessesRanOnParams {
	return &ProcessesRanOnParams{
		Context: ctx,
	}
}
func NewProcessesRanOnParamsWithHTTPClient(client *http.Client) *ProcessesRanOnParams {
	return &ProcessesRanOnParams{
		HTTPClient: client,
	}
}
type ProcessesRanOnParams struct {
	DeviceID string
	Limit *string
	Offset *string
	Type string
	Value string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *ProcessesRanOnParams) WithDefaults() *ProcessesRanOnParams {
	o.SetDefaults()
	return o
}
func (o *ProcessesRanOnParams) SetDefaults() {
}
func (o *ProcessesRanOnParams) WithTimeout(timeout time.Duration) *ProcessesRanOnParams {
	o.SetTimeout(timeout)
	return o
}
func (o *ProcessesRanOnParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}