quarantine

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionUpdateCountForbidden

type ActionUpdateCountForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

ActionUpdateCountForbidden describes a response with status code 403, with default header values.

Forbidden

func NewActionUpdateCountForbidden

func NewActionUpdateCountForbidden() *ActionUpdateCountForbidden

NewActionUpdateCountForbidden creates a ActionUpdateCountForbidden with default headers values

func (*ActionUpdateCountForbidden) Code added in v0.2.33

func (o *ActionUpdateCountForbidden) Code() int

Code gets the status code for the action update count forbidden response

func (*ActionUpdateCountForbidden) Error

func (*ActionUpdateCountForbidden) GetPayload

func (*ActionUpdateCountForbidden) IsClientError added in v0.2.27

func (o *ActionUpdateCountForbidden) IsClientError() bool

IsClientError returns true when this action update count forbidden response has a 4xx status code

func (*ActionUpdateCountForbidden) IsCode added in v0.2.27

func (o *ActionUpdateCountForbidden) IsCode(code int) bool

IsCode returns true when this action update count forbidden response a status code equal to that given

func (*ActionUpdateCountForbidden) IsRedirect added in v0.2.27

func (o *ActionUpdateCountForbidden) IsRedirect() bool

IsRedirect returns true when this action update count forbidden response has a 3xx status code

func (*ActionUpdateCountForbidden) IsServerError added in v0.2.27

func (o *ActionUpdateCountForbidden) IsServerError() bool

IsServerError returns true when this action update count forbidden response has a 5xx status code

func (*ActionUpdateCountForbidden) IsSuccess added in v0.2.27

func (o *ActionUpdateCountForbidden) IsSuccess() bool

IsSuccess returns true when this action update count forbidden response has a 2xx status code

func (*ActionUpdateCountForbidden) String added in v0.2.27

func (o *ActionUpdateCountForbidden) String() string

type ActionUpdateCountOK

type ActionUpdateCountOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaAggregatesResponse
}

ActionUpdateCountOK describes a response with status code 200, with default header values.

OK

func NewActionUpdateCountOK

func NewActionUpdateCountOK() *ActionUpdateCountOK

NewActionUpdateCountOK creates a ActionUpdateCountOK with default headers values

func (*ActionUpdateCountOK) Code added in v0.2.33

func (o *ActionUpdateCountOK) Code() int

Code gets the status code for the action update count o k response

func (*ActionUpdateCountOK) Error

func (o *ActionUpdateCountOK) Error() string

func (*ActionUpdateCountOK) GetPayload

func (*ActionUpdateCountOK) IsClientError added in v0.2.27

func (o *ActionUpdateCountOK) IsClientError() bool

IsClientError returns true when this action update count o k response has a 4xx status code

func (*ActionUpdateCountOK) IsCode added in v0.2.27

func (o *ActionUpdateCountOK) IsCode(code int) bool

IsCode returns true when this action update count o k response a status code equal to that given

func (*ActionUpdateCountOK) IsRedirect added in v0.2.27

func (o *ActionUpdateCountOK) IsRedirect() bool

IsRedirect returns true when this action update count o k response has a 3xx status code

func (*ActionUpdateCountOK) IsServerError added in v0.2.27

func (o *ActionUpdateCountOK) IsServerError() bool

IsServerError returns true when this action update count o k response has a 5xx status code

func (*ActionUpdateCountOK) IsSuccess added in v0.2.27

func (o *ActionUpdateCountOK) IsSuccess() bool

IsSuccess returns true when this action update count o k response has a 2xx status code

func (*ActionUpdateCountOK) String added in v0.2.27

func (o *ActionUpdateCountOK) String() string

type ActionUpdateCountParams

type ActionUpdateCountParams struct {

	/* Filter.

	   FQL specifying filter parameters.
	*/
	Filter string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ActionUpdateCountParams contains all the parameters to send to the API endpoint

for the action update count operation.

Typically these are written to a http.Request.

func NewActionUpdateCountParams

func NewActionUpdateCountParams() *ActionUpdateCountParams

NewActionUpdateCountParams creates a new ActionUpdateCountParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewActionUpdateCountParamsWithContext

func NewActionUpdateCountParamsWithContext(ctx context.Context) *ActionUpdateCountParams

NewActionUpdateCountParamsWithContext creates a new ActionUpdateCountParams object with the ability to set a context for a request.

func NewActionUpdateCountParamsWithHTTPClient

func NewActionUpdateCountParamsWithHTTPClient(client *http.Client) *ActionUpdateCountParams

NewActionUpdateCountParamsWithHTTPClient creates a new ActionUpdateCountParams object with the ability to set a custom HTTPClient for a request.

func NewActionUpdateCountParamsWithTimeout

func NewActionUpdateCountParamsWithTimeout(timeout time.Duration) *ActionUpdateCountParams

NewActionUpdateCountParamsWithTimeout creates a new ActionUpdateCountParams object with the ability to set a timeout on a request.

func (*ActionUpdateCountParams) SetContext

func (o *ActionUpdateCountParams) SetContext(ctx context.Context)

SetContext adds the context to the action update count params

func (*ActionUpdateCountParams) SetDefaults

func (o *ActionUpdateCountParams) SetDefaults()

SetDefaults hydrates default values in the action update count params (not the query body).

All values with no default are reset to their zero value.

func (*ActionUpdateCountParams) SetFilter

func (o *ActionUpdateCountParams) SetFilter(filter string)

SetFilter adds the filter to the action update count params

func (*ActionUpdateCountParams) SetHTTPClient

func (o *ActionUpdateCountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the action update count params

func (*ActionUpdateCountParams) SetTimeout

func (o *ActionUpdateCountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the action update count params

func (*ActionUpdateCountParams) WithContext

WithContext adds the context to the action update count params

func (*ActionUpdateCountParams) WithDefaults

WithDefaults hydrates default values in the action update count params (not the query body).

All values with no default are reset to their zero value.

func (*ActionUpdateCountParams) WithFilter

WithFilter adds the filter to the action update count params

func (*ActionUpdateCountParams) WithHTTPClient

func (o *ActionUpdateCountParams) WithHTTPClient(client *http.Client) *ActionUpdateCountParams

WithHTTPClient adds the HTTPClient to the action update count params

func (*ActionUpdateCountParams) WithTimeout

WithTimeout adds the timeout to the action update count params

func (*ActionUpdateCountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ActionUpdateCountReader

type ActionUpdateCountReader struct {
	// contains filtered or unexported fields
}

ActionUpdateCountReader is a Reader for the ActionUpdateCount structure.

func (*ActionUpdateCountReader) ReadResponse

func (o *ActionUpdateCountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ActionUpdateCountTooManyRequests

type ActionUpdateCountTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

ActionUpdateCountTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewActionUpdateCountTooManyRequests

func NewActionUpdateCountTooManyRequests() *ActionUpdateCountTooManyRequests

NewActionUpdateCountTooManyRequests creates a ActionUpdateCountTooManyRequests with default headers values

func (*ActionUpdateCountTooManyRequests) Code added in v0.2.33

Code gets the status code for the action update count too many requests response

func (*ActionUpdateCountTooManyRequests) Error

func (*ActionUpdateCountTooManyRequests) GetPayload

func (*ActionUpdateCountTooManyRequests) IsClientError added in v0.2.27

func (o *ActionUpdateCountTooManyRequests) IsClientError() bool

IsClientError returns true when this action update count too many requests response has a 4xx status code

func (*ActionUpdateCountTooManyRequests) IsCode added in v0.2.27

func (o *ActionUpdateCountTooManyRequests) IsCode(code int) bool

IsCode returns true when this action update count too many requests response a status code equal to that given

func (*ActionUpdateCountTooManyRequests) IsRedirect added in v0.2.27

func (o *ActionUpdateCountTooManyRequests) IsRedirect() bool

IsRedirect returns true when this action update count too many requests response has a 3xx status code

func (*ActionUpdateCountTooManyRequests) IsServerError added in v0.2.27

func (o *ActionUpdateCountTooManyRequests) IsServerError() bool

IsServerError returns true when this action update count too many requests response has a 5xx status code

func (*ActionUpdateCountTooManyRequests) IsSuccess added in v0.2.27

func (o *ActionUpdateCountTooManyRequests) IsSuccess() bool

IsSuccess returns true when this action update count too many requests response has a 2xx status code

func (*ActionUpdateCountTooManyRequests) String added in v0.2.27

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for quarantine API

func (*Client) ActionUpdateCount

func (a *Client) ActionUpdateCount(params *ActionUpdateCountParams, opts ...ClientOption) (*ActionUpdateCountOK, error)

ActionUpdateCount returns count of potentially affected quarantined files for each action

func (*Client) GetAggregateFiles

func (a *Client) GetAggregateFiles(params *GetAggregateFilesParams, opts ...ClientOption) (*GetAggregateFilesOK, error)

GetAggregateFiles gets quarantine file aggregates as specified via json in request body

func (*Client) GetQuarantineFiles

func (a *Client) GetQuarantineFiles(params *GetQuarantineFilesParams, opts ...ClientOption) (*GetQuarantineFilesOK, error)

GetQuarantineFiles gets quarantine file metadata for specified ids

func (*Client) QueryQuarantineFiles

func (a *Client) QueryQuarantineFiles(params *QueryQuarantineFilesParams, opts ...ClientOption) (*QueryQuarantineFilesOK, error)

QueryQuarantineFiles gets quarantine file ids that match the provided filter criteria

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateQfByQuery

func (a *Client) UpdateQfByQuery(params *UpdateQfByQueryParams, opts ...ClientOption) (*UpdateQfByQueryOK, error)

UpdateQfByQuery applies quarantine file actions by query

func (*Client) UpdateQuarantinedDetectsByIds

func (a *Client) UpdateQuarantinedDetectsByIds(params *UpdateQuarantinedDetectsByIdsParams, opts ...ClientOption) (*UpdateQuarantinedDetectsByIdsOK, error)

UpdateQuarantinedDetectsByIds applies action by quarantine file ids

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ActionUpdateCount(params *ActionUpdateCountParams, opts ...ClientOption) (*ActionUpdateCountOK, error)

	GetAggregateFiles(params *GetAggregateFilesParams, opts ...ClientOption) (*GetAggregateFilesOK, error)

	GetQuarantineFiles(params *GetQuarantineFilesParams, opts ...ClientOption) (*GetQuarantineFilesOK, error)

	QueryQuarantineFiles(params *QueryQuarantineFilesParams, opts ...ClientOption) (*QueryQuarantineFilesOK, error)

	UpdateQfByQuery(params *UpdateQfByQueryParams, opts ...ClientOption) (*UpdateQfByQueryOK, error)

	UpdateQuarantinedDetectsByIds(params *UpdateQuarantinedDetectsByIdsParams, opts ...ClientOption) (*UpdateQuarantinedDetectsByIdsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new quarantine API client.

type GetAggregateFilesForbidden

type GetAggregateFilesForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

GetAggregateFilesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAggregateFilesForbidden

func NewGetAggregateFilesForbidden() *GetAggregateFilesForbidden

NewGetAggregateFilesForbidden creates a GetAggregateFilesForbidden with default headers values

func (*GetAggregateFilesForbidden) Code added in v0.2.33

func (o *GetAggregateFilesForbidden) Code() int

Code gets the status code for the get aggregate files forbidden response

func (*GetAggregateFilesForbidden) Error

func (*GetAggregateFilesForbidden) GetPayload

func (*GetAggregateFilesForbidden) IsClientError added in v0.2.27

func (o *GetAggregateFilesForbidden) IsClientError() bool

IsClientError returns true when this get aggregate files forbidden response has a 4xx status code

func (*GetAggregateFilesForbidden) IsCode added in v0.2.27

func (o *GetAggregateFilesForbidden) IsCode(code int) bool

IsCode returns true when this get aggregate files forbidden response a status code equal to that given

func (*GetAggregateFilesForbidden) IsRedirect added in v0.2.27

func (o *GetAggregateFilesForbidden) IsRedirect() bool

IsRedirect returns true when this get aggregate files forbidden response has a 3xx status code

func (*GetAggregateFilesForbidden) IsServerError added in v0.2.27

func (o *GetAggregateFilesForbidden) IsServerError() bool

IsServerError returns true when this get aggregate files forbidden response has a 5xx status code

func (*GetAggregateFilesForbidden) IsSuccess added in v0.2.27

func (o *GetAggregateFilesForbidden) IsSuccess() bool

IsSuccess returns true when this get aggregate files forbidden response has a 2xx status code

func (*GetAggregateFilesForbidden) String added in v0.2.27

func (o *GetAggregateFilesForbidden) String() string

type GetAggregateFilesOK

type GetAggregateFilesOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaAggregatesResponse
}

GetAggregateFilesOK describes a response with status code 200, with default header values.

OK

func NewGetAggregateFilesOK

func NewGetAggregateFilesOK() *GetAggregateFilesOK

NewGetAggregateFilesOK creates a GetAggregateFilesOK with default headers values

func (*GetAggregateFilesOK) Code added in v0.2.33

func (o *GetAggregateFilesOK) Code() int

Code gets the status code for the get aggregate files o k response

func (*GetAggregateFilesOK) Error

func (o *GetAggregateFilesOK) Error() string

func (*GetAggregateFilesOK) GetPayload

func (*GetAggregateFilesOK) IsClientError added in v0.2.27

func (o *GetAggregateFilesOK) IsClientError() bool

IsClientError returns true when this get aggregate files o k response has a 4xx status code

func (*GetAggregateFilesOK) IsCode added in v0.2.27

func (o *GetAggregateFilesOK) IsCode(code int) bool

IsCode returns true when this get aggregate files o k response a status code equal to that given

func (*GetAggregateFilesOK) IsRedirect added in v0.2.27

func (o *GetAggregateFilesOK) IsRedirect() bool

IsRedirect returns true when this get aggregate files o k response has a 3xx status code

func (*GetAggregateFilesOK) IsServerError added in v0.2.27

func (o *GetAggregateFilesOK) IsServerError() bool

IsServerError returns true when this get aggregate files o k response has a 5xx status code

func (*GetAggregateFilesOK) IsSuccess added in v0.2.27

func (o *GetAggregateFilesOK) IsSuccess() bool

IsSuccess returns true when this get aggregate files o k response has a 2xx status code

func (*GetAggregateFilesOK) String added in v0.2.27

func (o *GetAggregateFilesOK) String() string

type GetAggregateFilesParams

type GetAggregateFilesParams struct {

	// Body.
	Body *models.MsaAggregateQueryRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAggregateFilesParams contains all the parameters to send to the API endpoint

for the get aggregate files operation.

Typically these are written to a http.Request.

func NewGetAggregateFilesParams

func NewGetAggregateFilesParams() *GetAggregateFilesParams

NewGetAggregateFilesParams creates a new GetAggregateFilesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAggregateFilesParamsWithContext

func NewGetAggregateFilesParamsWithContext(ctx context.Context) *GetAggregateFilesParams

NewGetAggregateFilesParamsWithContext creates a new GetAggregateFilesParams object with the ability to set a context for a request.

func NewGetAggregateFilesParamsWithHTTPClient

func NewGetAggregateFilesParamsWithHTTPClient(client *http.Client) *GetAggregateFilesParams

NewGetAggregateFilesParamsWithHTTPClient creates a new GetAggregateFilesParams object with the ability to set a custom HTTPClient for a request.

func NewGetAggregateFilesParamsWithTimeout

func NewGetAggregateFilesParamsWithTimeout(timeout time.Duration) *GetAggregateFilesParams

NewGetAggregateFilesParamsWithTimeout creates a new GetAggregateFilesParams object with the ability to set a timeout on a request.

func (*GetAggregateFilesParams) SetBody

SetBody adds the body to the get aggregate files params

func (*GetAggregateFilesParams) SetContext

func (o *GetAggregateFilesParams) SetContext(ctx context.Context)

SetContext adds the context to the get aggregate files params

func (*GetAggregateFilesParams) SetDefaults

func (o *GetAggregateFilesParams) SetDefaults()

SetDefaults hydrates default values in the get aggregate files params (not the query body).

All values with no default are reset to their zero value.

func (*GetAggregateFilesParams) SetHTTPClient

func (o *GetAggregateFilesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get aggregate files params

func (*GetAggregateFilesParams) SetTimeout

func (o *GetAggregateFilesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get aggregate files params

func (*GetAggregateFilesParams) WithBody

WithBody adds the body to the get aggregate files params

func (*GetAggregateFilesParams) WithContext

WithContext adds the context to the get aggregate files params

func (*GetAggregateFilesParams) WithDefaults

WithDefaults hydrates default values in the get aggregate files params (not the query body).

All values with no default are reset to their zero value.

func (*GetAggregateFilesParams) WithHTTPClient

func (o *GetAggregateFilesParams) WithHTTPClient(client *http.Client) *GetAggregateFilesParams

WithHTTPClient adds the HTTPClient to the get aggregate files params

func (*GetAggregateFilesParams) WithTimeout

WithTimeout adds the timeout to the get aggregate files params

func (*GetAggregateFilesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAggregateFilesReader

type GetAggregateFilesReader struct {
	// contains filtered or unexported fields
}

GetAggregateFilesReader is a Reader for the GetAggregateFiles structure.

func (*GetAggregateFilesReader) ReadResponse

func (o *GetAggregateFilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAggregateFilesTooManyRequests

type GetAggregateFilesTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetAggregateFilesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetAggregateFilesTooManyRequests

func NewGetAggregateFilesTooManyRequests() *GetAggregateFilesTooManyRequests

NewGetAggregateFilesTooManyRequests creates a GetAggregateFilesTooManyRequests with default headers values

func (*GetAggregateFilesTooManyRequests) Code added in v0.2.33

Code gets the status code for the get aggregate files too many requests response

func (*GetAggregateFilesTooManyRequests) Error

func (*GetAggregateFilesTooManyRequests) GetPayload

func (*GetAggregateFilesTooManyRequests) IsClientError added in v0.2.27

func (o *GetAggregateFilesTooManyRequests) IsClientError() bool

IsClientError returns true when this get aggregate files too many requests response has a 4xx status code

func (*GetAggregateFilesTooManyRequests) IsCode added in v0.2.27

func (o *GetAggregateFilesTooManyRequests) IsCode(code int) bool

IsCode returns true when this get aggregate files too many requests response a status code equal to that given

func (*GetAggregateFilesTooManyRequests) IsRedirect added in v0.2.27

func (o *GetAggregateFilesTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get aggregate files too many requests response has a 3xx status code

func (*GetAggregateFilesTooManyRequests) IsServerError added in v0.2.27

func (o *GetAggregateFilesTooManyRequests) IsServerError() bool

IsServerError returns true when this get aggregate files too many requests response has a 5xx status code

func (*GetAggregateFilesTooManyRequests) IsSuccess added in v0.2.27

func (o *GetAggregateFilesTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get aggregate files too many requests response has a 2xx status code

func (*GetAggregateFilesTooManyRequests) String added in v0.2.27

type GetQuarantineFilesForbidden

type GetQuarantineFilesForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

GetQuarantineFilesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetQuarantineFilesForbidden

func NewGetQuarantineFilesForbidden() *GetQuarantineFilesForbidden

NewGetQuarantineFilesForbidden creates a GetQuarantineFilesForbidden with default headers values

func (*GetQuarantineFilesForbidden) Code added in v0.2.33

func (o *GetQuarantineFilesForbidden) Code() int

Code gets the status code for the get quarantine files forbidden response

func (*GetQuarantineFilesForbidden) Error

func (*GetQuarantineFilesForbidden) GetPayload

func (*GetQuarantineFilesForbidden) IsClientError added in v0.2.27

func (o *GetQuarantineFilesForbidden) IsClientError() bool

IsClientError returns true when this get quarantine files forbidden response has a 4xx status code

func (*GetQuarantineFilesForbidden) IsCode added in v0.2.27

func (o *GetQuarantineFilesForbidden) IsCode(code int) bool

IsCode returns true when this get quarantine files forbidden response a status code equal to that given

func (*GetQuarantineFilesForbidden) IsRedirect added in v0.2.27

func (o *GetQuarantineFilesForbidden) IsRedirect() bool

IsRedirect returns true when this get quarantine files forbidden response has a 3xx status code

func (*GetQuarantineFilesForbidden) IsServerError added in v0.2.27

func (o *GetQuarantineFilesForbidden) IsServerError() bool

IsServerError returns true when this get quarantine files forbidden response has a 5xx status code

func (*GetQuarantineFilesForbidden) IsSuccess added in v0.2.27

func (o *GetQuarantineFilesForbidden) IsSuccess() bool

IsSuccess returns true when this get quarantine files forbidden response has a 2xx status code

func (*GetQuarantineFilesForbidden) String added in v0.2.27

func (o *GetQuarantineFilesForbidden) String() string

type GetQuarantineFilesOK

type GetQuarantineFilesOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.DomainMsaQfResponse
}

GetQuarantineFilesOK describes a response with status code 200, with default header values.

OK

func NewGetQuarantineFilesOK

func NewGetQuarantineFilesOK() *GetQuarantineFilesOK

NewGetQuarantineFilesOK creates a GetQuarantineFilesOK with default headers values

func (*GetQuarantineFilesOK) Code added in v0.2.33

func (o *GetQuarantineFilesOK) Code() int

Code gets the status code for the get quarantine files o k response

func (*GetQuarantineFilesOK) Error

func (o *GetQuarantineFilesOK) Error() string

func (*GetQuarantineFilesOK) GetPayload

func (*GetQuarantineFilesOK) IsClientError added in v0.2.27

func (o *GetQuarantineFilesOK) IsClientError() bool

IsClientError returns true when this get quarantine files o k response has a 4xx status code

func (*GetQuarantineFilesOK) IsCode added in v0.2.27

func (o *GetQuarantineFilesOK) IsCode(code int) bool

IsCode returns true when this get quarantine files o k response a status code equal to that given

func (*GetQuarantineFilesOK) IsRedirect added in v0.2.27

func (o *GetQuarantineFilesOK) IsRedirect() bool

IsRedirect returns true when this get quarantine files o k response has a 3xx status code

func (*GetQuarantineFilesOK) IsServerError added in v0.2.27

func (o *GetQuarantineFilesOK) IsServerError() bool

IsServerError returns true when this get quarantine files o k response has a 5xx status code

func (*GetQuarantineFilesOK) IsSuccess added in v0.2.27

func (o *GetQuarantineFilesOK) IsSuccess() bool

IsSuccess returns true when this get quarantine files o k response has a 2xx status code

func (*GetQuarantineFilesOK) String added in v0.2.27

func (o *GetQuarantineFilesOK) String() string

type GetQuarantineFilesParams

type GetQuarantineFilesParams struct {

	// Body.
	Body *models.MsaIdsRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetQuarantineFilesParams contains all the parameters to send to the API endpoint

for the get quarantine files operation.

Typically these are written to a http.Request.

func NewGetQuarantineFilesParams

func NewGetQuarantineFilesParams() *GetQuarantineFilesParams

NewGetQuarantineFilesParams creates a new GetQuarantineFilesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetQuarantineFilesParamsWithContext

func NewGetQuarantineFilesParamsWithContext(ctx context.Context) *GetQuarantineFilesParams

NewGetQuarantineFilesParamsWithContext creates a new GetQuarantineFilesParams object with the ability to set a context for a request.

func NewGetQuarantineFilesParamsWithHTTPClient

func NewGetQuarantineFilesParamsWithHTTPClient(client *http.Client) *GetQuarantineFilesParams

NewGetQuarantineFilesParamsWithHTTPClient creates a new GetQuarantineFilesParams object with the ability to set a custom HTTPClient for a request.

func NewGetQuarantineFilesParamsWithTimeout

func NewGetQuarantineFilesParamsWithTimeout(timeout time.Duration) *GetQuarantineFilesParams

NewGetQuarantineFilesParamsWithTimeout creates a new GetQuarantineFilesParams object with the ability to set a timeout on a request.

func (*GetQuarantineFilesParams) SetBody

func (o *GetQuarantineFilesParams) SetBody(body *models.MsaIdsRequest)

SetBody adds the body to the get quarantine files params

func (*GetQuarantineFilesParams) SetContext

func (o *GetQuarantineFilesParams) SetContext(ctx context.Context)

SetContext adds the context to the get quarantine files params

func (*GetQuarantineFilesParams) SetDefaults

func (o *GetQuarantineFilesParams) SetDefaults()

SetDefaults hydrates default values in the get quarantine files params (not the query body).

All values with no default are reset to their zero value.

func (*GetQuarantineFilesParams) SetHTTPClient

func (o *GetQuarantineFilesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get quarantine files params

func (*GetQuarantineFilesParams) SetTimeout

func (o *GetQuarantineFilesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get quarantine files params

func (*GetQuarantineFilesParams) WithBody

WithBody adds the body to the get quarantine files params

func (*GetQuarantineFilesParams) WithContext

WithContext adds the context to the get quarantine files params

func (*GetQuarantineFilesParams) WithDefaults

WithDefaults hydrates default values in the get quarantine files params (not the query body).

All values with no default are reset to their zero value.

func (*GetQuarantineFilesParams) WithHTTPClient

func (o *GetQuarantineFilesParams) WithHTTPClient(client *http.Client) *GetQuarantineFilesParams

WithHTTPClient adds the HTTPClient to the get quarantine files params

func (*GetQuarantineFilesParams) WithTimeout

WithTimeout adds the timeout to the get quarantine files params

func (*GetQuarantineFilesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetQuarantineFilesReader

type GetQuarantineFilesReader struct {
	// contains filtered or unexported fields
}

GetQuarantineFilesReader is a Reader for the GetQuarantineFiles structure.

func (*GetQuarantineFilesReader) ReadResponse

func (o *GetQuarantineFilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetQuarantineFilesTooManyRequests

type GetQuarantineFilesTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetQuarantineFilesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetQuarantineFilesTooManyRequests

func NewGetQuarantineFilesTooManyRequests() *GetQuarantineFilesTooManyRequests

NewGetQuarantineFilesTooManyRequests creates a GetQuarantineFilesTooManyRequests with default headers values

func (*GetQuarantineFilesTooManyRequests) Code added in v0.2.33

Code gets the status code for the get quarantine files too many requests response

func (*GetQuarantineFilesTooManyRequests) Error

func (*GetQuarantineFilesTooManyRequests) GetPayload

func (*GetQuarantineFilesTooManyRequests) IsClientError added in v0.2.27

func (o *GetQuarantineFilesTooManyRequests) IsClientError() bool

IsClientError returns true when this get quarantine files too many requests response has a 4xx status code

func (*GetQuarantineFilesTooManyRequests) IsCode added in v0.2.27

func (o *GetQuarantineFilesTooManyRequests) IsCode(code int) bool

IsCode returns true when this get quarantine files too many requests response a status code equal to that given

func (*GetQuarantineFilesTooManyRequests) IsRedirect added in v0.2.27

func (o *GetQuarantineFilesTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get quarantine files too many requests response has a 3xx status code

func (*GetQuarantineFilesTooManyRequests) IsServerError added in v0.2.27

func (o *GetQuarantineFilesTooManyRequests) IsServerError() bool

IsServerError returns true when this get quarantine files too many requests response has a 5xx status code

func (*GetQuarantineFilesTooManyRequests) IsSuccess added in v0.2.27

func (o *GetQuarantineFilesTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get quarantine files too many requests response has a 2xx status code

func (*GetQuarantineFilesTooManyRequests) String added in v0.2.27

type QueryQuarantineFilesForbidden

type QueryQuarantineFilesForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

QueryQuarantineFilesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewQueryQuarantineFilesForbidden

func NewQueryQuarantineFilesForbidden() *QueryQuarantineFilesForbidden

NewQueryQuarantineFilesForbidden creates a QueryQuarantineFilesForbidden with default headers values

func (*QueryQuarantineFilesForbidden) Code added in v0.2.33

Code gets the status code for the query quarantine files forbidden response

func (*QueryQuarantineFilesForbidden) Error

func (*QueryQuarantineFilesForbidden) GetPayload

func (*QueryQuarantineFilesForbidden) IsClientError added in v0.2.27

func (o *QueryQuarantineFilesForbidden) IsClientError() bool

IsClientError returns true when this query quarantine files forbidden response has a 4xx status code

func (*QueryQuarantineFilesForbidden) IsCode added in v0.2.27

func (o *QueryQuarantineFilesForbidden) IsCode(code int) bool

IsCode returns true when this query quarantine files forbidden response a status code equal to that given

func (*QueryQuarantineFilesForbidden) IsRedirect added in v0.2.27

func (o *QueryQuarantineFilesForbidden) IsRedirect() bool

IsRedirect returns true when this query quarantine files forbidden response has a 3xx status code

func (*QueryQuarantineFilesForbidden) IsServerError added in v0.2.27

func (o *QueryQuarantineFilesForbidden) IsServerError() bool

IsServerError returns true when this query quarantine files forbidden response has a 5xx status code

func (*QueryQuarantineFilesForbidden) IsSuccess added in v0.2.27

func (o *QueryQuarantineFilesForbidden) IsSuccess() bool

IsSuccess returns true when this query quarantine files forbidden response has a 2xx status code

func (*QueryQuarantineFilesForbidden) String added in v0.2.27

type QueryQuarantineFilesOK

type QueryQuarantineFilesOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

QueryQuarantineFilesOK describes a response with status code 200, with default header values.

OK

func NewQueryQuarantineFilesOK

func NewQueryQuarantineFilesOK() *QueryQuarantineFilesOK

NewQueryQuarantineFilesOK creates a QueryQuarantineFilesOK with default headers values

func (*QueryQuarantineFilesOK) Code added in v0.2.33

func (o *QueryQuarantineFilesOK) Code() int

Code gets the status code for the query quarantine files o k response

func (*QueryQuarantineFilesOK) Error

func (o *QueryQuarantineFilesOK) Error() string

func (*QueryQuarantineFilesOK) GetPayload

func (*QueryQuarantineFilesOK) IsClientError added in v0.2.27

func (o *QueryQuarantineFilesOK) IsClientError() bool

IsClientError returns true when this query quarantine files o k response has a 4xx status code

func (*QueryQuarantineFilesOK) IsCode added in v0.2.27

func (o *QueryQuarantineFilesOK) IsCode(code int) bool

IsCode returns true when this query quarantine files o k response a status code equal to that given

func (*QueryQuarantineFilesOK) IsRedirect added in v0.2.27

func (o *QueryQuarantineFilesOK) IsRedirect() bool

IsRedirect returns true when this query quarantine files o k response has a 3xx status code

func (*QueryQuarantineFilesOK) IsServerError added in v0.2.27

func (o *QueryQuarantineFilesOK) IsServerError() bool

IsServerError returns true when this query quarantine files o k response has a 5xx status code

func (*QueryQuarantineFilesOK) IsSuccess added in v0.2.27

func (o *QueryQuarantineFilesOK) IsSuccess() bool

IsSuccess returns true when this query quarantine files o k response has a 2xx status code

func (*QueryQuarantineFilesOK) String added in v0.2.27

func (o *QueryQuarantineFilesOK) String() string

type QueryQuarantineFilesParams

type QueryQuarantineFilesParams struct {

	/* Filter.

	   FQL query specifying the filter parameters. Special value '*' means to not filter on anything. Filter term criteria: status, adversary_id, device.device_id, device.country, device.hostname, behaviors.behavior_id, behaviors.ioc_type, behaviors.ioc_value, behaviors.username, behaviors.tree_root_hash. Filter range criteria:, max_severity, max_confidence, first_behavior, last_behavior.
	*/
	Filter *string

	/* Limit.

	   Number of ids to return.
	*/
	Limit *int64

	/* Offset.

	   Starting index of overall result set from which to return ids.
	*/
	Offset *string

	/* Q.

	   Match phrase_prefix query criteria; included fields: _all (all filter string fields), sha256, state, paths.path, paths.state, hostname, username, date_updated, date_created.
	*/
	Q *string

	/* Sort.

	   Possible order by fields: hostname, username, date_updated, date_created, paths.path, state, paths.state. Ex: 'date_created|asc'.
	*/
	Sort *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

QueryQuarantineFilesParams contains all the parameters to send to the API endpoint

for the query quarantine files operation.

Typically these are written to a http.Request.

func NewQueryQuarantineFilesParams

func NewQueryQuarantineFilesParams() *QueryQuarantineFilesParams

NewQueryQuarantineFilesParams creates a new QueryQuarantineFilesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewQueryQuarantineFilesParamsWithContext

func NewQueryQuarantineFilesParamsWithContext(ctx context.Context) *QueryQuarantineFilesParams

NewQueryQuarantineFilesParamsWithContext creates a new QueryQuarantineFilesParams object with the ability to set a context for a request.

func NewQueryQuarantineFilesParamsWithHTTPClient

func NewQueryQuarantineFilesParamsWithHTTPClient(client *http.Client) *QueryQuarantineFilesParams

NewQueryQuarantineFilesParamsWithHTTPClient creates a new QueryQuarantineFilesParams object with the ability to set a custom HTTPClient for a request.

func NewQueryQuarantineFilesParamsWithTimeout

func NewQueryQuarantineFilesParamsWithTimeout(timeout time.Duration) *QueryQuarantineFilesParams

NewQueryQuarantineFilesParamsWithTimeout creates a new QueryQuarantineFilesParams object with the ability to set a timeout on a request.

func (*QueryQuarantineFilesParams) SetContext

func (o *QueryQuarantineFilesParams) SetContext(ctx context.Context)

SetContext adds the context to the query quarantine files params

func (*QueryQuarantineFilesParams) SetDefaults

func (o *QueryQuarantineFilesParams) SetDefaults()

SetDefaults hydrates default values in the query quarantine files params (not the query body).

All values with no default are reset to their zero value.

func (*QueryQuarantineFilesParams) SetFilter

func (o *QueryQuarantineFilesParams) SetFilter(filter *string)

SetFilter adds the filter to the query quarantine files params

func (*QueryQuarantineFilesParams) SetHTTPClient

func (o *QueryQuarantineFilesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the query quarantine files params

func (*QueryQuarantineFilesParams) SetLimit

func (o *QueryQuarantineFilesParams) SetLimit(limit *int64)

SetLimit adds the limit to the query quarantine files params

func (*QueryQuarantineFilesParams) SetOffset

func (o *QueryQuarantineFilesParams) SetOffset(offset *string)

SetOffset adds the offset to the query quarantine files params

func (*QueryQuarantineFilesParams) SetQ

func (o *QueryQuarantineFilesParams) SetQ(q *string)

SetQ adds the q to the query quarantine files params

func (*QueryQuarantineFilesParams) SetSort

func (o *QueryQuarantineFilesParams) SetSort(sort *string)

SetSort adds the sort to the query quarantine files params

func (*QueryQuarantineFilesParams) SetTimeout

func (o *QueryQuarantineFilesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the query quarantine files params

func (*QueryQuarantineFilesParams) WithContext

WithContext adds the context to the query quarantine files params

func (*QueryQuarantineFilesParams) WithDefaults

WithDefaults hydrates default values in the query quarantine files params (not the query body).

All values with no default are reset to their zero value.

func (*QueryQuarantineFilesParams) WithFilter

WithFilter adds the filter to the query quarantine files params

func (*QueryQuarantineFilesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query quarantine files params

func (*QueryQuarantineFilesParams) WithLimit

WithLimit adds the limit to the query quarantine files params

func (*QueryQuarantineFilesParams) WithOffset

WithOffset adds the offset to the query quarantine files params

func (*QueryQuarantineFilesParams) WithQ

WithQ adds the q to the query quarantine files params

func (*QueryQuarantineFilesParams) WithSort

WithSort adds the sort to the query quarantine files params

func (*QueryQuarantineFilesParams) WithTimeout

WithTimeout adds the timeout to the query quarantine files params

func (*QueryQuarantineFilesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryQuarantineFilesReader

type QueryQuarantineFilesReader struct {
	// contains filtered or unexported fields
}

QueryQuarantineFilesReader is a Reader for the QueryQuarantineFiles structure.

func (*QueryQuarantineFilesReader) ReadResponse

func (o *QueryQuarantineFilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type QueryQuarantineFilesTooManyRequests

type QueryQuarantineFilesTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

QueryQuarantineFilesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryQuarantineFilesTooManyRequests

func NewQueryQuarantineFilesTooManyRequests() *QueryQuarantineFilesTooManyRequests

NewQueryQuarantineFilesTooManyRequests creates a QueryQuarantineFilesTooManyRequests with default headers values

func (*QueryQuarantineFilesTooManyRequests) Code added in v0.2.33

Code gets the status code for the query quarantine files too many requests response

func (*QueryQuarantineFilesTooManyRequests) Error

func (*QueryQuarantineFilesTooManyRequests) GetPayload

func (*QueryQuarantineFilesTooManyRequests) IsClientError added in v0.2.27

func (o *QueryQuarantineFilesTooManyRequests) IsClientError() bool

IsClientError returns true when this query quarantine files too many requests response has a 4xx status code

func (*QueryQuarantineFilesTooManyRequests) IsCode added in v0.2.27

IsCode returns true when this query quarantine files too many requests response a status code equal to that given

func (*QueryQuarantineFilesTooManyRequests) IsRedirect added in v0.2.27

func (o *QueryQuarantineFilesTooManyRequests) IsRedirect() bool

IsRedirect returns true when this query quarantine files too many requests response has a 3xx status code

func (*QueryQuarantineFilesTooManyRequests) IsServerError added in v0.2.27

func (o *QueryQuarantineFilesTooManyRequests) IsServerError() bool

IsServerError returns true when this query quarantine files too many requests response has a 5xx status code

func (*QueryQuarantineFilesTooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this query quarantine files too many requests response has a 2xx status code

func (*QueryQuarantineFilesTooManyRequests) String added in v0.2.27

type UpdateQfByQueryForbidden

type UpdateQfByQueryForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

UpdateQfByQueryForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateQfByQueryForbidden

func NewUpdateQfByQueryForbidden() *UpdateQfByQueryForbidden

NewUpdateQfByQueryForbidden creates a UpdateQfByQueryForbidden with default headers values

func (*UpdateQfByQueryForbidden) Code added in v0.2.33

func (o *UpdateQfByQueryForbidden) Code() int

Code gets the status code for the update qf by query forbidden response

func (*UpdateQfByQueryForbidden) Error

func (o *UpdateQfByQueryForbidden) Error() string

func (*UpdateQfByQueryForbidden) GetPayload

func (*UpdateQfByQueryForbidden) IsClientError added in v0.2.27

func (o *UpdateQfByQueryForbidden) IsClientError() bool

IsClientError returns true when this update qf by query forbidden response has a 4xx status code

func (*UpdateQfByQueryForbidden) IsCode added in v0.2.27

func (o *UpdateQfByQueryForbidden) IsCode(code int) bool

IsCode returns true when this update qf by query forbidden response a status code equal to that given

func (*UpdateQfByQueryForbidden) IsRedirect added in v0.2.27

func (o *UpdateQfByQueryForbidden) IsRedirect() bool

IsRedirect returns true when this update qf by query forbidden response has a 3xx status code

func (*UpdateQfByQueryForbidden) IsServerError added in v0.2.27

func (o *UpdateQfByQueryForbidden) IsServerError() bool

IsServerError returns true when this update qf by query forbidden response has a 5xx status code

func (*UpdateQfByQueryForbidden) IsSuccess added in v0.2.27

func (o *UpdateQfByQueryForbidden) IsSuccess() bool

IsSuccess returns true when this update qf by query forbidden response has a 2xx status code

func (*UpdateQfByQueryForbidden) String added in v0.2.27

func (o *UpdateQfByQueryForbidden) String() string

type UpdateQfByQueryOK

type UpdateQfByQueryOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

UpdateQfByQueryOK describes a response with status code 200, with default header values.

OK

func NewUpdateQfByQueryOK

func NewUpdateQfByQueryOK() *UpdateQfByQueryOK

NewUpdateQfByQueryOK creates a UpdateQfByQueryOK with default headers values

func (*UpdateQfByQueryOK) Code added in v0.2.33

func (o *UpdateQfByQueryOK) Code() int

Code gets the status code for the update qf by query o k response

func (*UpdateQfByQueryOK) Error

func (o *UpdateQfByQueryOK) Error() string

func (*UpdateQfByQueryOK) GetPayload

func (o *UpdateQfByQueryOK) GetPayload() *models.MsaReplyMetaOnly

func (*UpdateQfByQueryOK) IsClientError added in v0.2.27

func (o *UpdateQfByQueryOK) IsClientError() bool

IsClientError returns true when this update qf by query o k response has a 4xx status code

func (*UpdateQfByQueryOK) IsCode added in v0.2.27

func (o *UpdateQfByQueryOK) IsCode(code int) bool

IsCode returns true when this update qf by query o k response a status code equal to that given

func (*UpdateQfByQueryOK) IsRedirect added in v0.2.27

func (o *UpdateQfByQueryOK) IsRedirect() bool

IsRedirect returns true when this update qf by query o k response has a 3xx status code

func (*UpdateQfByQueryOK) IsServerError added in v0.2.27

func (o *UpdateQfByQueryOK) IsServerError() bool

IsServerError returns true when this update qf by query o k response has a 5xx status code

func (*UpdateQfByQueryOK) IsSuccess added in v0.2.27

func (o *UpdateQfByQueryOK) IsSuccess() bool

IsSuccess returns true when this update qf by query o k response has a 2xx status code

func (*UpdateQfByQueryOK) String added in v0.2.27

func (o *UpdateQfByQueryOK) String() string

type UpdateQfByQueryParams

type UpdateQfByQueryParams struct {

	// Body.
	Body *models.DomainQueriesPatchRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateQfByQueryParams contains all the parameters to send to the API endpoint

for the update qf by query operation.

Typically these are written to a http.Request.

func NewUpdateQfByQueryParams

func NewUpdateQfByQueryParams() *UpdateQfByQueryParams

NewUpdateQfByQueryParams creates a new UpdateQfByQueryParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateQfByQueryParamsWithContext

func NewUpdateQfByQueryParamsWithContext(ctx context.Context) *UpdateQfByQueryParams

NewUpdateQfByQueryParamsWithContext creates a new UpdateQfByQueryParams object with the ability to set a context for a request.

func NewUpdateQfByQueryParamsWithHTTPClient

func NewUpdateQfByQueryParamsWithHTTPClient(client *http.Client) *UpdateQfByQueryParams

NewUpdateQfByQueryParamsWithHTTPClient creates a new UpdateQfByQueryParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateQfByQueryParamsWithTimeout

func NewUpdateQfByQueryParamsWithTimeout(timeout time.Duration) *UpdateQfByQueryParams

NewUpdateQfByQueryParamsWithTimeout creates a new UpdateQfByQueryParams object with the ability to set a timeout on a request.

func (*UpdateQfByQueryParams) SetBody

SetBody adds the body to the update qf by query params

func (*UpdateQfByQueryParams) SetContext

func (o *UpdateQfByQueryParams) SetContext(ctx context.Context)

SetContext adds the context to the update qf by query params

func (*UpdateQfByQueryParams) SetDefaults

func (o *UpdateQfByQueryParams) SetDefaults()

SetDefaults hydrates default values in the update qf by query params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateQfByQueryParams) SetHTTPClient

func (o *UpdateQfByQueryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update qf by query params

func (*UpdateQfByQueryParams) SetTimeout

func (o *UpdateQfByQueryParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update qf by query params

func (*UpdateQfByQueryParams) WithBody

WithBody adds the body to the update qf by query params

func (*UpdateQfByQueryParams) WithContext

WithContext adds the context to the update qf by query params

func (*UpdateQfByQueryParams) WithDefaults

func (o *UpdateQfByQueryParams) WithDefaults() *UpdateQfByQueryParams

WithDefaults hydrates default values in the update qf by query params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateQfByQueryParams) WithHTTPClient

func (o *UpdateQfByQueryParams) WithHTTPClient(client *http.Client) *UpdateQfByQueryParams

WithHTTPClient adds the HTTPClient to the update qf by query params

func (*UpdateQfByQueryParams) WithTimeout

func (o *UpdateQfByQueryParams) WithTimeout(timeout time.Duration) *UpdateQfByQueryParams

WithTimeout adds the timeout to the update qf by query params

func (*UpdateQfByQueryParams) WriteToRequest

func (o *UpdateQfByQueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateQfByQueryReader

type UpdateQfByQueryReader struct {
	// contains filtered or unexported fields
}

UpdateQfByQueryReader is a Reader for the UpdateQfByQuery structure.

func (*UpdateQfByQueryReader) ReadResponse

func (o *UpdateQfByQueryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateQfByQueryTooManyRequests

type UpdateQfByQueryTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

UpdateQfByQueryTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUpdateQfByQueryTooManyRequests

func NewUpdateQfByQueryTooManyRequests() *UpdateQfByQueryTooManyRequests

NewUpdateQfByQueryTooManyRequests creates a UpdateQfByQueryTooManyRequests with default headers values

func (*UpdateQfByQueryTooManyRequests) Code added in v0.2.33

Code gets the status code for the update qf by query too many requests response

func (*UpdateQfByQueryTooManyRequests) Error

func (*UpdateQfByQueryTooManyRequests) GetPayload

func (*UpdateQfByQueryTooManyRequests) IsClientError added in v0.2.27

func (o *UpdateQfByQueryTooManyRequests) IsClientError() bool

IsClientError returns true when this update qf by query too many requests response has a 4xx status code

func (*UpdateQfByQueryTooManyRequests) IsCode added in v0.2.27

func (o *UpdateQfByQueryTooManyRequests) IsCode(code int) bool

IsCode returns true when this update qf by query too many requests response a status code equal to that given

func (*UpdateQfByQueryTooManyRequests) IsRedirect added in v0.2.27

func (o *UpdateQfByQueryTooManyRequests) IsRedirect() bool

IsRedirect returns true when this update qf by query too many requests response has a 3xx status code

func (*UpdateQfByQueryTooManyRequests) IsServerError added in v0.2.27

func (o *UpdateQfByQueryTooManyRequests) IsServerError() bool

IsServerError returns true when this update qf by query too many requests response has a 5xx status code

func (*UpdateQfByQueryTooManyRequests) IsSuccess added in v0.2.27

func (o *UpdateQfByQueryTooManyRequests) IsSuccess() bool

IsSuccess returns true when this update qf by query too many requests response has a 2xx status code

func (*UpdateQfByQueryTooManyRequests) String added in v0.2.27

type UpdateQuarantinedDetectsByIdsForbidden

type UpdateQuarantinedDetectsByIdsForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

UpdateQuarantinedDetectsByIdsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateQuarantinedDetectsByIdsForbidden

func NewUpdateQuarantinedDetectsByIdsForbidden() *UpdateQuarantinedDetectsByIdsForbidden

NewUpdateQuarantinedDetectsByIdsForbidden creates a UpdateQuarantinedDetectsByIdsForbidden with default headers values

func (*UpdateQuarantinedDetectsByIdsForbidden) Code added in v0.2.33

Code gets the status code for the update quarantined detects by ids forbidden response

func (*UpdateQuarantinedDetectsByIdsForbidden) Error

func (*UpdateQuarantinedDetectsByIdsForbidden) GetPayload

func (*UpdateQuarantinedDetectsByIdsForbidden) IsClientError added in v0.2.27

func (o *UpdateQuarantinedDetectsByIdsForbidden) IsClientError() bool

IsClientError returns true when this update quarantined detects by ids forbidden response has a 4xx status code

func (*UpdateQuarantinedDetectsByIdsForbidden) IsCode added in v0.2.27

IsCode returns true when this update quarantined detects by ids forbidden response a status code equal to that given

func (*UpdateQuarantinedDetectsByIdsForbidden) IsRedirect added in v0.2.27

IsRedirect returns true when this update quarantined detects by ids forbidden response has a 3xx status code

func (*UpdateQuarantinedDetectsByIdsForbidden) IsServerError added in v0.2.27

func (o *UpdateQuarantinedDetectsByIdsForbidden) IsServerError() bool

IsServerError returns true when this update quarantined detects by ids forbidden response has a 5xx status code

func (*UpdateQuarantinedDetectsByIdsForbidden) IsSuccess added in v0.2.27

IsSuccess returns true when this update quarantined detects by ids forbidden response has a 2xx status code

func (*UpdateQuarantinedDetectsByIdsForbidden) String added in v0.2.27

type UpdateQuarantinedDetectsByIdsOK

type UpdateQuarantinedDetectsByIdsOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

UpdateQuarantinedDetectsByIdsOK describes a response with status code 200, with default header values.

OK

func NewUpdateQuarantinedDetectsByIdsOK

func NewUpdateQuarantinedDetectsByIdsOK() *UpdateQuarantinedDetectsByIdsOK

NewUpdateQuarantinedDetectsByIdsOK creates a UpdateQuarantinedDetectsByIdsOK with default headers values

func (*UpdateQuarantinedDetectsByIdsOK) Code added in v0.2.33

Code gets the status code for the update quarantined detects by ids o k response

func (*UpdateQuarantinedDetectsByIdsOK) Error

func (*UpdateQuarantinedDetectsByIdsOK) GetPayload

func (*UpdateQuarantinedDetectsByIdsOK) IsClientError added in v0.2.27

func (o *UpdateQuarantinedDetectsByIdsOK) IsClientError() bool

IsClientError returns true when this update quarantined detects by ids o k response has a 4xx status code

func (*UpdateQuarantinedDetectsByIdsOK) IsCode added in v0.2.27

func (o *UpdateQuarantinedDetectsByIdsOK) IsCode(code int) bool

IsCode returns true when this update quarantined detects by ids o k response a status code equal to that given

func (*UpdateQuarantinedDetectsByIdsOK) IsRedirect added in v0.2.27

func (o *UpdateQuarantinedDetectsByIdsOK) IsRedirect() bool

IsRedirect returns true when this update quarantined detects by ids o k response has a 3xx status code

func (*UpdateQuarantinedDetectsByIdsOK) IsServerError added in v0.2.27

func (o *UpdateQuarantinedDetectsByIdsOK) IsServerError() bool

IsServerError returns true when this update quarantined detects by ids o k response has a 5xx status code

func (*UpdateQuarantinedDetectsByIdsOK) IsSuccess added in v0.2.27

func (o *UpdateQuarantinedDetectsByIdsOK) IsSuccess() bool

IsSuccess returns true when this update quarantined detects by ids o k response has a 2xx status code

func (*UpdateQuarantinedDetectsByIdsOK) String added in v0.2.27

type UpdateQuarantinedDetectsByIdsParams

type UpdateQuarantinedDetectsByIdsParams struct {

	// Body.
	Body *models.DomainEntitiesPatchRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateQuarantinedDetectsByIdsParams contains all the parameters to send to the API endpoint

for the update quarantined detects by ids operation.

Typically these are written to a http.Request.

func NewUpdateQuarantinedDetectsByIdsParams

func NewUpdateQuarantinedDetectsByIdsParams() *UpdateQuarantinedDetectsByIdsParams

NewUpdateQuarantinedDetectsByIdsParams creates a new UpdateQuarantinedDetectsByIdsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateQuarantinedDetectsByIdsParamsWithContext

func NewUpdateQuarantinedDetectsByIdsParamsWithContext(ctx context.Context) *UpdateQuarantinedDetectsByIdsParams

NewUpdateQuarantinedDetectsByIdsParamsWithContext creates a new UpdateQuarantinedDetectsByIdsParams object with the ability to set a context for a request.

func NewUpdateQuarantinedDetectsByIdsParamsWithHTTPClient

func NewUpdateQuarantinedDetectsByIdsParamsWithHTTPClient(client *http.Client) *UpdateQuarantinedDetectsByIdsParams

NewUpdateQuarantinedDetectsByIdsParamsWithHTTPClient creates a new UpdateQuarantinedDetectsByIdsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateQuarantinedDetectsByIdsParamsWithTimeout

func NewUpdateQuarantinedDetectsByIdsParamsWithTimeout(timeout time.Duration) *UpdateQuarantinedDetectsByIdsParams

NewUpdateQuarantinedDetectsByIdsParamsWithTimeout creates a new UpdateQuarantinedDetectsByIdsParams object with the ability to set a timeout on a request.

func (*UpdateQuarantinedDetectsByIdsParams) SetBody

SetBody adds the body to the update quarantined detects by ids params

func (*UpdateQuarantinedDetectsByIdsParams) SetContext

SetContext adds the context to the update quarantined detects by ids params

func (*UpdateQuarantinedDetectsByIdsParams) SetDefaults

func (o *UpdateQuarantinedDetectsByIdsParams) SetDefaults()

SetDefaults hydrates default values in the update quarantined detects by ids params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateQuarantinedDetectsByIdsParams) SetHTTPClient

func (o *UpdateQuarantinedDetectsByIdsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update quarantined detects by ids params

func (*UpdateQuarantinedDetectsByIdsParams) SetTimeout

func (o *UpdateQuarantinedDetectsByIdsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update quarantined detects by ids params

func (*UpdateQuarantinedDetectsByIdsParams) WithBody

WithBody adds the body to the update quarantined detects by ids params

func (*UpdateQuarantinedDetectsByIdsParams) WithContext

WithContext adds the context to the update quarantined detects by ids params

func (*UpdateQuarantinedDetectsByIdsParams) WithDefaults

WithDefaults hydrates default values in the update quarantined detects by ids params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateQuarantinedDetectsByIdsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update quarantined detects by ids params

func (*UpdateQuarantinedDetectsByIdsParams) WithTimeout

WithTimeout adds the timeout to the update quarantined detects by ids params

func (*UpdateQuarantinedDetectsByIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateQuarantinedDetectsByIdsReader

type UpdateQuarantinedDetectsByIdsReader struct {
	// contains filtered or unexported fields
}

UpdateQuarantinedDetectsByIdsReader is a Reader for the UpdateQuarantinedDetectsByIds structure.

func (*UpdateQuarantinedDetectsByIdsReader) ReadResponse

func (o *UpdateQuarantinedDetectsByIdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateQuarantinedDetectsByIdsTooManyRequests

type UpdateQuarantinedDetectsByIdsTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

UpdateQuarantinedDetectsByIdsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUpdateQuarantinedDetectsByIdsTooManyRequests

func NewUpdateQuarantinedDetectsByIdsTooManyRequests() *UpdateQuarantinedDetectsByIdsTooManyRequests

NewUpdateQuarantinedDetectsByIdsTooManyRequests creates a UpdateQuarantinedDetectsByIdsTooManyRequests with default headers values

func (*UpdateQuarantinedDetectsByIdsTooManyRequests) Code added in v0.2.33

Code gets the status code for the update quarantined detects by ids too many requests response

func (*UpdateQuarantinedDetectsByIdsTooManyRequests) Error

func (*UpdateQuarantinedDetectsByIdsTooManyRequests) GetPayload

func (*UpdateQuarantinedDetectsByIdsTooManyRequests) IsClientError added in v0.2.27

IsClientError returns true when this update quarantined detects by ids too many requests response has a 4xx status code

func (*UpdateQuarantinedDetectsByIdsTooManyRequests) IsCode added in v0.2.27

IsCode returns true when this update quarantined detects by ids too many requests response a status code equal to that given

func (*UpdateQuarantinedDetectsByIdsTooManyRequests) IsRedirect added in v0.2.27

IsRedirect returns true when this update quarantined detects by ids too many requests response has a 3xx status code

func (*UpdateQuarantinedDetectsByIdsTooManyRequests) IsServerError added in v0.2.27

IsServerError returns true when this update quarantined detects by ids too many requests response has a 5xx status code

func (*UpdateQuarantinedDetectsByIdsTooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this update quarantined detects by ids too many requests response has a 2xx status code

func (*UpdateQuarantinedDetectsByIdsTooManyRequests) String added in v0.2.27

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL