ods

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 AggregateQueryScanHostMetadataForbidden added in v0.4.0

type AggregateQueryScanHostMetadataForbidden 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
}

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

Forbidden

func NewAggregateQueryScanHostMetadataForbidden added in v0.4.0

func NewAggregateQueryScanHostMetadataForbidden() *AggregateQueryScanHostMetadataForbidden

NewAggregateQueryScanHostMetadataForbidden creates a AggregateQueryScanHostMetadataForbidden with default headers values

func (*AggregateQueryScanHostMetadataForbidden) Code added in v0.4.0

Code gets the status code for the aggregate query scan host metadata forbidden response

func (*AggregateQueryScanHostMetadataForbidden) Error added in v0.4.0

func (*AggregateQueryScanHostMetadataForbidden) GetPayload added in v0.4.0

func (*AggregateQueryScanHostMetadataForbidden) IsClientError added in v0.4.0

func (o *AggregateQueryScanHostMetadataForbidden) IsClientError() bool

IsClientError returns true when this aggregate query scan host metadata forbidden response has a 4xx status code

func (*AggregateQueryScanHostMetadataForbidden) IsCode added in v0.4.0

IsCode returns true when this aggregate query scan host metadata forbidden response a status code equal to that given

func (*AggregateQueryScanHostMetadataForbidden) IsRedirect added in v0.4.0

IsRedirect returns true when this aggregate query scan host metadata forbidden response has a 3xx status code

func (*AggregateQueryScanHostMetadataForbidden) IsServerError added in v0.4.0

func (o *AggregateQueryScanHostMetadataForbidden) IsServerError() bool

IsServerError returns true when this aggregate query scan host metadata forbidden response has a 5xx status code

func (*AggregateQueryScanHostMetadataForbidden) IsSuccess added in v0.4.0

IsSuccess returns true when this aggregate query scan host metadata forbidden response has a 2xx status code

func (*AggregateQueryScanHostMetadataForbidden) String added in v0.4.0

type AggregateQueryScanHostMetadataNotFound added in v0.4.0

type AggregateQueryScanHostMetadataNotFound 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.MsaspecResponseFields
}

AggregateQueryScanHostMetadataNotFound describes a response with status code 404, with default header values.

Not Found

func NewAggregateQueryScanHostMetadataNotFound added in v0.4.0

func NewAggregateQueryScanHostMetadataNotFound() *AggregateQueryScanHostMetadataNotFound

NewAggregateQueryScanHostMetadataNotFound creates a AggregateQueryScanHostMetadataNotFound with default headers values

func (*AggregateQueryScanHostMetadataNotFound) Code added in v0.4.0

Code gets the status code for the aggregate query scan host metadata not found response

func (*AggregateQueryScanHostMetadataNotFound) Error added in v0.4.0

func (*AggregateQueryScanHostMetadataNotFound) GetPayload added in v0.4.0

func (*AggregateQueryScanHostMetadataNotFound) IsClientError added in v0.4.0

func (o *AggregateQueryScanHostMetadataNotFound) IsClientError() bool

IsClientError returns true when this aggregate query scan host metadata not found response has a 4xx status code

func (*AggregateQueryScanHostMetadataNotFound) IsCode added in v0.4.0

IsCode returns true when this aggregate query scan host metadata not found response a status code equal to that given

func (*AggregateQueryScanHostMetadataNotFound) IsRedirect added in v0.4.0

IsRedirect returns true when this aggregate query scan host metadata not found response has a 3xx status code

func (*AggregateQueryScanHostMetadataNotFound) IsServerError added in v0.4.0

func (o *AggregateQueryScanHostMetadataNotFound) IsServerError() bool

IsServerError returns true when this aggregate query scan host metadata not found response has a 5xx status code

func (*AggregateQueryScanHostMetadataNotFound) IsSuccess added in v0.4.0

IsSuccess returns true when this aggregate query scan host metadata not found response has a 2xx status code

func (*AggregateQueryScanHostMetadataNotFound) String added in v0.4.0

type AggregateQueryScanHostMetadataOK added in v0.4.0

type AggregateQueryScanHostMetadataOK 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
}

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

OK

func NewAggregateQueryScanHostMetadataOK added in v0.4.0

func NewAggregateQueryScanHostMetadataOK() *AggregateQueryScanHostMetadataOK

NewAggregateQueryScanHostMetadataOK creates a AggregateQueryScanHostMetadataOK with default headers values

func (*AggregateQueryScanHostMetadataOK) Code added in v0.4.0

Code gets the status code for the aggregate query scan host metadata o k response

func (*AggregateQueryScanHostMetadataOK) Error added in v0.4.0

func (*AggregateQueryScanHostMetadataOK) GetPayload added in v0.4.0

func (*AggregateQueryScanHostMetadataOK) IsClientError added in v0.4.0

func (o *AggregateQueryScanHostMetadataOK) IsClientError() bool

IsClientError returns true when this aggregate query scan host metadata o k response has a 4xx status code

func (*AggregateQueryScanHostMetadataOK) IsCode added in v0.4.0

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

IsCode returns true when this aggregate query scan host metadata o k response a status code equal to that given

func (*AggregateQueryScanHostMetadataOK) IsRedirect added in v0.4.0

func (o *AggregateQueryScanHostMetadataOK) IsRedirect() bool

IsRedirect returns true when this aggregate query scan host metadata o k response has a 3xx status code

func (*AggregateQueryScanHostMetadataOK) IsServerError added in v0.4.0

func (o *AggregateQueryScanHostMetadataOK) IsServerError() bool

IsServerError returns true when this aggregate query scan host metadata o k response has a 5xx status code

func (*AggregateQueryScanHostMetadataOK) IsSuccess added in v0.4.0

func (o *AggregateQueryScanHostMetadataOK) IsSuccess() bool

IsSuccess returns true when this aggregate query scan host metadata o k response has a 2xx status code

func (*AggregateQueryScanHostMetadataOK) String added in v0.4.0

type AggregateQueryScanHostMetadataParams added in v0.4.0

type AggregateQueryScanHostMetadataParams struct {

	// Body.
	Body []*models.MsaAggregateQueryRequest

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

AggregateQueryScanHostMetadataParams contains all the parameters to send to the API endpoint

for the aggregate query scan host metadata operation.

Typically these are written to a http.Request.

func NewAggregateQueryScanHostMetadataParams added in v0.4.0

func NewAggregateQueryScanHostMetadataParams() *AggregateQueryScanHostMetadataParams

NewAggregateQueryScanHostMetadataParams creates a new AggregateQueryScanHostMetadataParams 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 NewAggregateQueryScanHostMetadataParamsWithContext added in v0.4.0

func NewAggregateQueryScanHostMetadataParamsWithContext(ctx context.Context) *AggregateQueryScanHostMetadataParams

NewAggregateQueryScanHostMetadataParamsWithContext creates a new AggregateQueryScanHostMetadataParams object with the ability to set a context for a request.

func NewAggregateQueryScanHostMetadataParamsWithHTTPClient added in v0.4.0

func NewAggregateQueryScanHostMetadataParamsWithHTTPClient(client *http.Client) *AggregateQueryScanHostMetadataParams

NewAggregateQueryScanHostMetadataParamsWithHTTPClient creates a new AggregateQueryScanHostMetadataParams object with the ability to set a custom HTTPClient for a request.

func NewAggregateQueryScanHostMetadataParamsWithTimeout added in v0.4.0

func NewAggregateQueryScanHostMetadataParamsWithTimeout(timeout time.Duration) *AggregateQueryScanHostMetadataParams

NewAggregateQueryScanHostMetadataParamsWithTimeout creates a new AggregateQueryScanHostMetadataParams object with the ability to set a timeout on a request.

func (*AggregateQueryScanHostMetadataParams) SetBody added in v0.4.0

SetBody adds the body to the aggregate query scan host metadata params

func (*AggregateQueryScanHostMetadataParams) SetContext added in v0.4.0

SetContext adds the context to the aggregate query scan host metadata params

func (*AggregateQueryScanHostMetadataParams) SetDefaults added in v0.4.0

func (o *AggregateQueryScanHostMetadataParams) SetDefaults()

SetDefaults hydrates default values in the aggregate query scan host metadata params (not the query body).

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

func (*AggregateQueryScanHostMetadataParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the aggregate query scan host metadata params

func (*AggregateQueryScanHostMetadataParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the aggregate query scan host metadata params

func (*AggregateQueryScanHostMetadataParams) WithBody added in v0.4.0

WithBody adds the body to the aggregate query scan host metadata params

func (*AggregateQueryScanHostMetadataParams) WithContext added in v0.4.0

WithContext adds the context to the aggregate query scan host metadata params

func (*AggregateQueryScanHostMetadataParams) WithDefaults added in v0.4.0

WithDefaults hydrates default values in the aggregate query scan host metadata params (not the query body).

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

func (*AggregateQueryScanHostMetadataParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the aggregate query scan host metadata params

func (*AggregateQueryScanHostMetadataParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the aggregate query scan host metadata params

func (*AggregateQueryScanHostMetadataParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type AggregateQueryScanHostMetadataReader added in v0.4.0

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

AggregateQueryScanHostMetadataReader is a Reader for the AggregateQueryScanHostMetadata structure.

func (*AggregateQueryScanHostMetadataReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type AggregateQueryScanHostMetadataTooManyRequests added in v0.4.0

type AggregateQueryScanHostMetadataTooManyRequests 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
}

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

Too Many Requests

func NewAggregateQueryScanHostMetadataTooManyRequests added in v0.4.0

func NewAggregateQueryScanHostMetadataTooManyRequests() *AggregateQueryScanHostMetadataTooManyRequests

NewAggregateQueryScanHostMetadataTooManyRequests creates a AggregateQueryScanHostMetadataTooManyRequests with default headers values

func (*AggregateQueryScanHostMetadataTooManyRequests) Code added in v0.4.0

Code gets the status code for the aggregate query scan host metadata too many requests response

func (*AggregateQueryScanHostMetadataTooManyRequests) Error added in v0.4.0

func (*AggregateQueryScanHostMetadataTooManyRequests) GetPayload added in v0.4.0

func (*AggregateQueryScanHostMetadataTooManyRequests) IsClientError added in v0.4.0

IsClientError returns true when this aggregate query scan host metadata too many requests response has a 4xx status code

func (*AggregateQueryScanHostMetadataTooManyRequests) IsCode added in v0.4.0

IsCode returns true when this aggregate query scan host metadata too many requests response a status code equal to that given

func (*AggregateQueryScanHostMetadataTooManyRequests) IsRedirect added in v0.4.0

IsRedirect returns true when this aggregate query scan host metadata too many requests response has a 3xx status code

func (*AggregateQueryScanHostMetadataTooManyRequests) IsServerError added in v0.4.0

IsServerError returns true when this aggregate query scan host metadata too many requests response has a 5xx status code

func (*AggregateQueryScanHostMetadataTooManyRequests) IsSuccess added in v0.4.0

IsSuccess returns true when this aggregate query scan host metadata too many requests response has a 2xx status code

func (*AggregateQueryScanHostMetadataTooManyRequests) String added in v0.4.0

type AggregateScansForbidden

type AggregateScansForbidden 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
}

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

Forbidden

func NewAggregateScansForbidden

func NewAggregateScansForbidden() *AggregateScansForbidden

NewAggregateScansForbidden creates a AggregateScansForbidden with default headers values

func (*AggregateScansForbidden) Code added in v0.2.33

func (o *AggregateScansForbidden) Code() int

Code gets the status code for the aggregate scans forbidden response

func (*AggregateScansForbidden) Error

func (o *AggregateScansForbidden) Error() string

func (*AggregateScansForbidden) GetPayload

func (*AggregateScansForbidden) IsClientError

func (o *AggregateScansForbidden) IsClientError() bool

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

func (*AggregateScansForbidden) IsCode

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

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

func (*AggregateScansForbidden) IsRedirect

func (o *AggregateScansForbidden) IsRedirect() bool

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

func (*AggregateScansForbidden) IsServerError

func (o *AggregateScansForbidden) IsServerError() bool

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

func (*AggregateScansForbidden) IsSuccess

func (o *AggregateScansForbidden) IsSuccess() bool

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

func (*AggregateScansForbidden) String

func (o *AggregateScansForbidden) String() string

type AggregateScansNotFound

type AggregateScansNotFound 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.MsaspecResponseFields
}

AggregateScansNotFound describes a response with status code 404, with default header values.

Not Found

func NewAggregateScansNotFound

func NewAggregateScansNotFound() *AggregateScansNotFound

NewAggregateScansNotFound creates a AggregateScansNotFound with default headers values

func (*AggregateScansNotFound) Code added in v0.2.33

func (o *AggregateScansNotFound) Code() int

Code gets the status code for the aggregate scans not found response

func (*AggregateScansNotFound) Error

func (o *AggregateScansNotFound) Error() string

func (*AggregateScansNotFound) GetPayload

func (*AggregateScansNotFound) IsClientError

func (o *AggregateScansNotFound) IsClientError() bool

IsClientError returns true when this aggregate scans not found response has a 4xx status code

func (*AggregateScansNotFound) IsCode

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

IsCode returns true when this aggregate scans not found response a status code equal to that given

func (*AggregateScansNotFound) IsRedirect

func (o *AggregateScansNotFound) IsRedirect() bool

IsRedirect returns true when this aggregate scans not found response has a 3xx status code

func (*AggregateScansNotFound) IsServerError

func (o *AggregateScansNotFound) IsServerError() bool

IsServerError returns true when this aggregate scans not found response has a 5xx status code

func (*AggregateScansNotFound) IsSuccess

func (o *AggregateScansNotFound) IsSuccess() bool

IsSuccess returns true when this aggregate scans not found response has a 2xx status code

func (*AggregateScansNotFound) String

func (o *AggregateScansNotFound) String() string

type AggregateScansOK

type AggregateScansOK 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
}

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

OK

func NewAggregateScansOK

func NewAggregateScansOK() *AggregateScansOK

NewAggregateScansOK creates a AggregateScansOK with default headers values

func (*AggregateScansOK) Code added in v0.2.33

func (o *AggregateScansOK) Code() int

Code gets the status code for the aggregate scans o k response

func (*AggregateScansOK) Error

func (o *AggregateScansOK) Error() string

func (*AggregateScansOK) GetPayload

func (*AggregateScansOK) IsClientError

func (o *AggregateScansOK) IsClientError() bool

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

func (*AggregateScansOK) IsCode

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

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

func (*AggregateScansOK) IsRedirect

func (o *AggregateScansOK) IsRedirect() bool

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

func (*AggregateScansOK) IsServerError

func (o *AggregateScansOK) IsServerError() bool

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

func (*AggregateScansOK) IsSuccess

func (o *AggregateScansOK) IsSuccess() bool

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

func (*AggregateScansOK) String

func (o *AggregateScansOK) String() string

type AggregateScansParams

type AggregateScansParams struct {

	// Body.
	Body []*models.MsaAggregateQueryRequest

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

AggregateScansParams contains all the parameters to send to the API endpoint

for the aggregate scans operation.

Typically these are written to a http.Request.

func NewAggregateScansParams

func NewAggregateScansParams() *AggregateScansParams

NewAggregateScansParams creates a new AggregateScansParams 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 NewAggregateScansParamsWithContext

func NewAggregateScansParamsWithContext(ctx context.Context) *AggregateScansParams

NewAggregateScansParamsWithContext creates a new AggregateScansParams object with the ability to set a context for a request.

func NewAggregateScansParamsWithHTTPClient

func NewAggregateScansParamsWithHTTPClient(client *http.Client) *AggregateScansParams

NewAggregateScansParamsWithHTTPClient creates a new AggregateScansParams object with the ability to set a custom HTTPClient for a request.

func NewAggregateScansParamsWithTimeout

func NewAggregateScansParamsWithTimeout(timeout time.Duration) *AggregateScansParams

NewAggregateScansParamsWithTimeout creates a new AggregateScansParams object with the ability to set a timeout on a request.

func (*AggregateScansParams) SetBody

SetBody adds the body to the aggregate scans params

func (*AggregateScansParams) SetContext

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

SetContext adds the context to the aggregate scans params

func (*AggregateScansParams) SetDefaults

func (o *AggregateScansParams) SetDefaults()

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

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

func (*AggregateScansParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the aggregate scans params

func (*AggregateScansParams) SetTimeout

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

SetTimeout adds the timeout to the aggregate scans params

func (*AggregateScansParams) WithBody

WithBody adds the body to the aggregate scans params

func (*AggregateScansParams) WithContext

WithContext adds the context to the aggregate scans params

func (*AggregateScansParams) WithDefaults

func (o *AggregateScansParams) WithDefaults() *AggregateScansParams

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

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

func (*AggregateScansParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the aggregate scans params

func (*AggregateScansParams) WithTimeout

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

WithTimeout adds the timeout to the aggregate scans params

func (*AggregateScansParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AggregateScansReader

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

AggregateScansReader is a Reader for the AggregateScans structure.

func (*AggregateScansReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AggregateScansTooManyRequests

type AggregateScansTooManyRequests 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
}

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

Too Many Requests

func NewAggregateScansTooManyRequests

func NewAggregateScansTooManyRequests() *AggregateScansTooManyRequests

NewAggregateScansTooManyRequests creates a AggregateScansTooManyRequests with default headers values

func (*AggregateScansTooManyRequests) Code added in v0.2.33

Code gets the status code for the aggregate scans too many requests response

func (*AggregateScansTooManyRequests) Error

func (*AggregateScansTooManyRequests) GetPayload

func (*AggregateScansTooManyRequests) IsClientError

func (o *AggregateScansTooManyRequests) IsClientError() bool

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

func (*AggregateScansTooManyRequests) IsCode

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

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

func (*AggregateScansTooManyRequests) IsRedirect

func (o *AggregateScansTooManyRequests) IsRedirect() bool

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

func (*AggregateScansTooManyRequests) IsServerError

func (o *AggregateScansTooManyRequests) IsServerError() bool

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

func (*AggregateScansTooManyRequests) IsSuccess

func (o *AggregateScansTooManyRequests) IsSuccess() bool

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

func (*AggregateScansTooManyRequests) String

type AggregateScheduledScansForbidden

type AggregateScheduledScansForbidden 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
}

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

Forbidden

func NewAggregateScheduledScansForbidden

func NewAggregateScheduledScansForbidden() *AggregateScheduledScansForbidden

NewAggregateScheduledScansForbidden creates a AggregateScheduledScansForbidden with default headers values

func (*AggregateScheduledScansForbidden) Code added in v0.2.33

Code gets the status code for the aggregate scheduled scans forbidden response

func (*AggregateScheduledScansForbidden) Error

func (*AggregateScheduledScansForbidden) GetPayload

func (*AggregateScheduledScansForbidden) IsClientError

func (o *AggregateScheduledScansForbidden) IsClientError() bool

IsClientError returns true when this aggregate scheduled scans forbidden response has a 4xx status code

func (*AggregateScheduledScansForbidden) IsCode

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

IsCode returns true when this aggregate scheduled scans forbidden response a status code equal to that given

func (*AggregateScheduledScansForbidden) IsRedirect

func (o *AggregateScheduledScansForbidden) IsRedirect() bool

IsRedirect returns true when this aggregate scheduled scans forbidden response has a 3xx status code

func (*AggregateScheduledScansForbidden) IsServerError

func (o *AggregateScheduledScansForbidden) IsServerError() bool

IsServerError returns true when this aggregate scheduled scans forbidden response has a 5xx status code

func (*AggregateScheduledScansForbidden) IsSuccess

func (o *AggregateScheduledScansForbidden) IsSuccess() bool

IsSuccess returns true when this aggregate scheduled scans forbidden response has a 2xx status code

func (*AggregateScheduledScansForbidden) String

type AggregateScheduledScansNotFound

type AggregateScheduledScansNotFound 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.MsaspecResponseFields
}

AggregateScheduledScansNotFound describes a response with status code 404, with default header values.

Not Found

func NewAggregateScheduledScansNotFound

func NewAggregateScheduledScansNotFound() *AggregateScheduledScansNotFound

NewAggregateScheduledScansNotFound creates a AggregateScheduledScansNotFound with default headers values

func (*AggregateScheduledScansNotFound) Code added in v0.2.33

Code gets the status code for the aggregate scheduled scans not found response

func (*AggregateScheduledScansNotFound) Error

func (*AggregateScheduledScansNotFound) GetPayload

func (*AggregateScheduledScansNotFound) IsClientError

func (o *AggregateScheduledScansNotFound) IsClientError() bool

IsClientError returns true when this aggregate scheduled scans not found response has a 4xx status code

func (*AggregateScheduledScansNotFound) IsCode

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

IsCode returns true when this aggregate scheduled scans not found response a status code equal to that given

func (*AggregateScheduledScansNotFound) IsRedirect

func (o *AggregateScheduledScansNotFound) IsRedirect() bool

IsRedirect returns true when this aggregate scheduled scans not found response has a 3xx status code

func (*AggregateScheduledScansNotFound) IsServerError

func (o *AggregateScheduledScansNotFound) IsServerError() bool

IsServerError returns true when this aggregate scheduled scans not found response has a 5xx status code

func (*AggregateScheduledScansNotFound) IsSuccess

func (o *AggregateScheduledScansNotFound) IsSuccess() bool

IsSuccess returns true when this aggregate scheduled scans not found response has a 2xx status code

func (*AggregateScheduledScansNotFound) String

type AggregateScheduledScansOK

type AggregateScheduledScansOK 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
}

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

OK

func NewAggregateScheduledScansOK

func NewAggregateScheduledScansOK() *AggregateScheduledScansOK

NewAggregateScheduledScansOK creates a AggregateScheduledScansOK with default headers values

func (*AggregateScheduledScansOK) Code added in v0.2.33

func (o *AggregateScheduledScansOK) Code() int

Code gets the status code for the aggregate scheduled scans o k response

func (*AggregateScheduledScansOK) Error

func (o *AggregateScheduledScansOK) Error() string

func (*AggregateScheduledScansOK) GetPayload

func (*AggregateScheduledScansOK) IsClientError

func (o *AggregateScheduledScansOK) IsClientError() bool

IsClientError returns true when this aggregate scheduled scans o k response has a 4xx status code

func (*AggregateScheduledScansOK) IsCode

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

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

func (*AggregateScheduledScansOK) IsRedirect

func (o *AggregateScheduledScansOK) IsRedirect() bool

IsRedirect returns true when this aggregate scheduled scans o k response has a 3xx status code

func (*AggregateScheduledScansOK) IsServerError

func (o *AggregateScheduledScansOK) IsServerError() bool

IsServerError returns true when this aggregate scheduled scans o k response has a 5xx status code

func (*AggregateScheduledScansOK) IsSuccess

func (o *AggregateScheduledScansOK) IsSuccess() bool

IsSuccess returns true when this aggregate scheduled scans o k response has a 2xx status code

func (*AggregateScheduledScansOK) String

func (o *AggregateScheduledScansOK) String() string

type AggregateScheduledScansParams

type AggregateScheduledScansParams struct {

	// Body.
	Body []*models.MsaAggregateQueryRequest

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

AggregateScheduledScansParams contains all the parameters to send to the API endpoint

for the aggregate scheduled scans operation.

Typically these are written to a http.Request.

func NewAggregateScheduledScansParams

func NewAggregateScheduledScansParams() *AggregateScheduledScansParams

NewAggregateScheduledScansParams creates a new AggregateScheduledScansParams 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 NewAggregateScheduledScansParamsWithContext

func NewAggregateScheduledScansParamsWithContext(ctx context.Context) *AggregateScheduledScansParams

NewAggregateScheduledScansParamsWithContext creates a new AggregateScheduledScansParams object with the ability to set a context for a request.

func NewAggregateScheduledScansParamsWithHTTPClient

func NewAggregateScheduledScansParamsWithHTTPClient(client *http.Client) *AggregateScheduledScansParams

NewAggregateScheduledScansParamsWithHTTPClient creates a new AggregateScheduledScansParams object with the ability to set a custom HTTPClient for a request.

func NewAggregateScheduledScansParamsWithTimeout

func NewAggregateScheduledScansParamsWithTimeout(timeout time.Duration) *AggregateScheduledScansParams

NewAggregateScheduledScansParamsWithTimeout creates a new AggregateScheduledScansParams object with the ability to set a timeout on a request.

func (*AggregateScheduledScansParams) SetBody

SetBody adds the body to the aggregate scheduled scans params

func (*AggregateScheduledScansParams) SetContext

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

SetContext adds the context to the aggregate scheduled scans params

func (*AggregateScheduledScansParams) SetDefaults

func (o *AggregateScheduledScansParams) SetDefaults()

SetDefaults hydrates default values in the aggregate scheduled scans params (not the query body).

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

func (*AggregateScheduledScansParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the aggregate scheduled scans params

func (*AggregateScheduledScansParams) SetTimeout

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

SetTimeout adds the timeout to the aggregate scheduled scans params

func (*AggregateScheduledScansParams) WithBody

WithBody adds the body to the aggregate scheduled scans params

func (*AggregateScheduledScansParams) WithContext

WithContext adds the context to the aggregate scheduled scans params

func (*AggregateScheduledScansParams) WithDefaults

WithDefaults hydrates default values in the aggregate scheduled scans params (not the query body).

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

func (*AggregateScheduledScansParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the aggregate scheduled scans params

func (*AggregateScheduledScansParams) WithTimeout

WithTimeout adds the timeout to the aggregate scheduled scans params

func (*AggregateScheduledScansParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AggregateScheduledScansReader

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

AggregateScheduledScansReader is a Reader for the AggregateScheduledScans structure.

func (*AggregateScheduledScansReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AggregateScheduledScansTooManyRequests

type AggregateScheduledScansTooManyRequests 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
}

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

Too Many Requests

func NewAggregateScheduledScansTooManyRequests

func NewAggregateScheduledScansTooManyRequests() *AggregateScheduledScansTooManyRequests

NewAggregateScheduledScansTooManyRequests creates a AggregateScheduledScansTooManyRequests with default headers values

func (*AggregateScheduledScansTooManyRequests) Code added in v0.2.33

Code gets the status code for the aggregate scheduled scans too many requests response

func (*AggregateScheduledScansTooManyRequests) Error

func (*AggregateScheduledScansTooManyRequests) GetPayload

func (*AggregateScheduledScansTooManyRequests) IsClientError

func (o *AggregateScheduledScansTooManyRequests) IsClientError() bool

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

func (*AggregateScheduledScansTooManyRequests) IsCode

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

func (*AggregateScheduledScansTooManyRequests) IsRedirect

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

func (*AggregateScheduledScansTooManyRequests) IsServerError

func (o *AggregateScheduledScansTooManyRequests) IsServerError() bool

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

func (*AggregateScheduledScansTooManyRequests) IsSuccess

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

func (*AggregateScheduledScansTooManyRequests) String

type CancelScansForbidden

type CancelScansForbidden 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
}

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

Forbidden

func NewCancelScansForbidden

func NewCancelScansForbidden() *CancelScansForbidden

NewCancelScansForbidden creates a CancelScansForbidden with default headers values

func (*CancelScansForbidden) Code added in v0.2.33

func (o *CancelScansForbidden) Code() int

Code gets the status code for the cancel scans forbidden response

func (*CancelScansForbidden) Error

func (o *CancelScansForbidden) Error() string

func (*CancelScansForbidden) GetPayload

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

func (*CancelScansForbidden) IsClientError

func (o *CancelScansForbidden) IsClientError() bool

IsClientError returns true when this cancel scans forbidden response has a 4xx status code

func (*CancelScansForbidden) IsCode

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

IsCode returns true when this cancel scans forbidden response a status code equal to that given

func (*CancelScansForbidden) IsRedirect

func (o *CancelScansForbidden) IsRedirect() bool

IsRedirect returns true when this cancel scans forbidden response has a 3xx status code

func (*CancelScansForbidden) IsServerError

func (o *CancelScansForbidden) IsServerError() bool

IsServerError returns true when this cancel scans forbidden response has a 5xx status code

func (*CancelScansForbidden) IsSuccess

func (o *CancelScansForbidden) IsSuccess() bool

IsSuccess returns true when this cancel scans forbidden response has a 2xx status code

func (*CancelScansForbidden) String

func (o *CancelScansForbidden) String() string

type CancelScansNotFound

type CancelScansNotFound 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.MsaspecResponseFields
}

CancelScansNotFound describes a response with status code 404, with default header values.

Not Found

func NewCancelScansNotFound

func NewCancelScansNotFound() *CancelScansNotFound

NewCancelScansNotFound creates a CancelScansNotFound with default headers values

func (*CancelScansNotFound) Code added in v0.2.33

func (o *CancelScansNotFound) Code() int

Code gets the status code for the cancel scans not found response

func (*CancelScansNotFound) Error

func (o *CancelScansNotFound) Error() string

func (*CancelScansNotFound) GetPayload

func (*CancelScansNotFound) IsClientError

func (o *CancelScansNotFound) IsClientError() bool

IsClientError returns true when this cancel scans not found response has a 4xx status code

func (*CancelScansNotFound) IsCode

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

IsCode returns true when this cancel scans not found response a status code equal to that given

func (*CancelScansNotFound) IsRedirect

func (o *CancelScansNotFound) IsRedirect() bool

IsRedirect returns true when this cancel scans not found response has a 3xx status code

func (*CancelScansNotFound) IsServerError

func (o *CancelScansNotFound) IsServerError() bool

IsServerError returns true when this cancel scans not found response has a 5xx status code

func (*CancelScansNotFound) IsSuccess

func (o *CancelScansNotFound) IsSuccess() bool

IsSuccess returns true when this cancel scans not found response has a 2xx status code

func (*CancelScansNotFound) String

func (o *CancelScansNotFound) String() string

type CancelScansOK

type CancelScansOK 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.MsaspecQueryResponse
}

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

OK

func NewCancelScansOK

func NewCancelScansOK() *CancelScansOK

NewCancelScansOK creates a CancelScansOK with default headers values

func (*CancelScansOK) Code added in v0.2.33

func (o *CancelScansOK) Code() int

Code gets the status code for the cancel scans o k response

func (*CancelScansOK) Error

func (o *CancelScansOK) Error() string

func (*CancelScansOK) GetPayload

func (o *CancelScansOK) GetPayload() *models.MsaspecQueryResponse

func (*CancelScansOK) IsClientError

func (o *CancelScansOK) IsClientError() bool

IsClientError returns true when this cancel scans o k response has a 4xx status code

func (*CancelScansOK) IsCode

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

IsCode returns true when this cancel scans o k response a status code equal to that given

func (*CancelScansOK) IsRedirect

func (o *CancelScansOK) IsRedirect() bool

IsRedirect returns true when this cancel scans o k response has a 3xx status code

func (*CancelScansOK) IsServerError

func (o *CancelScansOK) IsServerError() bool

IsServerError returns true when this cancel scans o k response has a 5xx status code

func (*CancelScansOK) IsSuccess

func (o *CancelScansOK) IsSuccess() bool

IsSuccess returns true when this cancel scans o k response has a 2xx status code

func (*CancelScansOK) String

func (o *CancelScansOK) String() string

type CancelScansParams

type CancelScansParams struct {

	// Body.
	Body *models.EntitiesODSCancelScanRequest

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

CancelScansParams contains all the parameters to send to the API endpoint

for the cancel scans operation.

Typically these are written to a http.Request.

func NewCancelScansParams

func NewCancelScansParams() *CancelScansParams

NewCancelScansParams creates a new CancelScansParams 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 NewCancelScansParamsWithContext

func NewCancelScansParamsWithContext(ctx context.Context) *CancelScansParams

NewCancelScansParamsWithContext creates a new CancelScansParams object with the ability to set a context for a request.

func NewCancelScansParamsWithHTTPClient

func NewCancelScansParamsWithHTTPClient(client *http.Client) *CancelScansParams

NewCancelScansParamsWithHTTPClient creates a new CancelScansParams object with the ability to set a custom HTTPClient for a request.

func NewCancelScansParamsWithTimeout

func NewCancelScansParamsWithTimeout(timeout time.Duration) *CancelScansParams

NewCancelScansParamsWithTimeout creates a new CancelScansParams object with the ability to set a timeout on a request.

func (*CancelScansParams) SetBody

SetBody adds the body to the cancel scans params

func (*CancelScansParams) SetContext

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

SetContext adds the context to the cancel scans params

func (*CancelScansParams) SetDefaults

func (o *CancelScansParams) SetDefaults()

SetDefaults hydrates default values in the cancel scans params (not the query body).

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

func (*CancelScansParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cancel scans params

func (*CancelScansParams) SetTimeout

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

SetTimeout adds the timeout to the cancel scans params

func (*CancelScansParams) WithBody

WithBody adds the body to the cancel scans params

func (*CancelScansParams) WithContext

func (o *CancelScansParams) WithContext(ctx context.Context) *CancelScansParams

WithContext adds the context to the cancel scans params

func (*CancelScansParams) WithDefaults

func (o *CancelScansParams) WithDefaults() *CancelScansParams

WithDefaults hydrates default values in the cancel scans params (not the query body).

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

func (*CancelScansParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the cancel scans params

func (*CancelScansParams) WithTimeout

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

WithTimeout adds the timeout to the cancel scans params

func (*CancelScansParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CancelScansReader

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

CancelScansReader is a Reader for the CancelScans structure.

func (*CancelScansReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CancelScansTooManyRequests

type CancelScansTooManyRequests 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
}

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

Too Many Requests

func NewCancelScansTooManyRequests

func NewCancelScansTooManyRequests() *CancelScansTooManyRequests

NewCancelScansTooManyRequests creates a CancelScansTooManyRequests with default headers values

func (*CancelScansTooManyRequests) Code added in v0.2.33

func (o *CancelScansTooManyRequests) Code() int

Code gets the status code for the cancel scans too many requests response

func (*CancelScansTooManyRequests) Error

func (*CancelScansTooManyRequests) GetPayload

func (*CancelScansTooManyRequests) IsClientError

func (o *CancelScansTooManyRequests) IsClientError() bool

IsClientError returns true when this cancel scans too many requests response has a 4xx status code

func (*CancelScansTooManyRequests) IsCode

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

IsCode returns true when this cancel scans too many requests response a status code equal to that given

func (*CancelScansTooManyRequests) IsRedirect

func (o *CancelScansTooManyRequests) IsRedirect() bool

IsRedirect returns true when this cancel scans too many requests response has a 3xx status code

func (*CancelScansTooManyRequests) IsServerError

func (o *CancelScansTooManyRequests) IsServerError() bool

IsServerError returns true when this cancel scans too many requests response has a 5xx status code

func (*CancelScansTooManyRequests) IsSuccess

func (o *CancelScansTooManyRequests) IsSuccess() bool

IsSuccess returns true when this cancel scans too many requests response has a 2xx status code

func (*CancelScansTooManyRequests) String

func (o *CancelScansTooManyRequests) String() string

type Client

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

Client for ods API

func (*Client) AggregateQueryScanHostMetadata added in v0.4.0

func (a *Client) AggregateQueryScanHostMetadata(params *AggregateQueryScanHostMetadataParams, opts ...ClientOption) (*AggregateQueryScanHostMetadataOK, error)

AggregateQueryScanHostMetadata gets aggregates on o d s scan hosts data

func (*Client) AggregateScans

func (a *Client) AggregateScans(params *AggregateScansParams, opts ...ClientOption) (*AggregateScansOK, error)

AggregateScans gets aggregates on o d s scan data

func (*Client) AggregateScheduledScans

func (a *Client) AggregateScheduledScans(params *AggregateScheduledScansParams, opts ...ClientOption) (*AggregateScheduledScansOK, error)

AggregateScheduledScans gets aggregates on o d s scheduled scan data

func (*Client) CancelScans

func (a *Client) CancelScans(params *CancelScansParams, opts ...ClientOption) (*CancelScansOK, error)

CancelScans cancels o d s scans for the given scan ids

func (*Client) CreateScan

func (a *Client) CreateScan(params *CreateScanParams, opts ...ClientOption) (*CreateScanCreated, error)

CreateScan creates o d s scan and start or schedule scan for the given scan request

func (*Client) DeleteScheduledScans

func (a *Client) DeleteScheduledScans(params *DeleteScheduledScansParams, opts ...ClientOption) (*DeleteScheduledScansOK, error)

DeleteScheduledScans deletes o d s scheduled scans for the given scheduled scan ids

func (*Client) GetMaliciousFilesByIds

func (a *Client) GetMaliciousFilesByIds(params *GetMaliciousFilesByIdsParams, opts ...ClientOption) (*GetMaliciousFilesByIdsOK, error)

GetMaliciousFilesByIds gets malicious files by ids

func (*Client) GetScanHostMetadataByIds

func (a *Client) GetScanHostMetadataByIds(params *GetScanHostMetadataByIdsParams, opts ...ClientOption) (*GetScanHostMetadataByIdsOK, error)

GetScanHostMetadataByIds gets scan hosts by ids

func (*Client) GetScansByScanIds

func (a *Client) GetScansByScanIds(params *GetScansByScanIdsParams, opts ...ClientOption) (*GetScansByScanIdsOK, error)

GetScansByScanIds gets scans by i ds

func (*Client) GetScheduledScansByScanIds

func (a *Client) GetScheduledScansByScanIds(params *GetScheduledScansByScanIdsParams, opts ...ClientOption) (*GetScheduledScansByScanIdsOK, error)

GetScheduledScansByScanIds gets scheduled scans by i ds

func (*Client) QueryMaliciousFiles

func (a *Client) QueryMaliciousFiles(params *QueryMaliciousFilesParams, opts ...ClientOption) (*QueryMaliciousFilesOK, error)

QueryMaliciousFiles queries malicious files

func (*Client) QueryScanHostMetadata

func (a *Client) QueryScanHostMetadata(params *QueryScanHostMetadataParams, opts ...ClientOption) (*QueryScanHostMetadataOK, error)

QueryScanHostMetadata queries scan hosts

func (*Client) QueryScans

func (a *Client) QueryScans(params *QueryScansParams, opts ...ClientOption) (*QueryScansOK, error)

QueryScans queries scans

func (*Client) QueryScheduledScans

func (a *Client) QueryScheduledScans(params *QueryScheduledScansParams, opts ...ClientOption) (*QueryScheduledScansOK, error)

QueryScheduledScans queries scheduled scans

func (*Client) ScheduleScan

func (a *Client) ScheduleScan(params *ScheduleScanParams, opts ...ClientOption) (*ScheduleScanCreated, error)

ScheduleScan creates o d s scan and start or schedule scan for the given scan request

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AggregateQueryScanHostMetadata(params *AggregateQueryScanHostMetadataParams, opts ...ClientOption) (*AggregateQueryScanHostMetadataOK, error)

	AggregateScans(params *AggregateScansParams, opts ...ClientOption) (*AggregateScansOK, error)

	AggregateScheduledScans(params *AggregateScheduledScansParams, opts ...ClientOption) (*AggregateScheduledScansOK, error)

	CancelScans(params *CancelScansParams, opts ...ClientOption) (*CancelScansOK, error)

	CreateScan(params *CreateScanParams, opts ...ClientOption) (*CreateScanCreated, error)

	DeleteScheduledScans(params *DeleteScheduledScansParams, opts ...ClientOption) (*DeleteScheduledScansOK, error)

	GetMaliciousFilesByIds(params *GetMaliciousFilesByIdsParams, opts ...ClientOption) (*GetMaliciousFilesByIdsOK, error)

	GetScanHostMetadataByIds(params *GetScanHostMetadataByIdsParams, opts ...ClientOption) (*GetScanHostMetadataByIdsOK, error)

	GetScansByScanIds(params *GetScansByScanIdsParams, opts ...ClientOption) (*GetScansByScanIdsOK, error)

	GetScheduledScansByScanIds(params *GetScheduledScansByScanIdsParams, opts ...ClientOption) (*GetScheduledScansByScanIdsOK, error)

	QueryMaliciousFiles(params *QueryMaliciousFilesParams, opts ...ClientOption) (*QueryMaliciousFilesOK, error)

	QueryScanHostMetadata(params *QueryScanHostMetadataParams, opts ...ClientOption) (*QueryScanHostMetadataOK, error)

	QueryScans(params *QueryScansParams, opts ...ClientOption) (*QueryScansOK, error)

	QueryScheduledScans(params *QueryScheduledScansParams, opts ...ClientOption) (*QueryScheduledScansOK, error)

	ScheduleScan(params *ScheduleScanParams, opts ...ClientOption) (*ScheduleScanCreated, 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 ods API client.

type CreateScanCreated

type CreateScanCreated 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.EntitiesODSScanResponse
}

CreateScanCreated describes a response with status code 201, with default header values.

OK

func NewCreateScanCreated

func NewCreateScanCreated() *CreateScanCreated

NewCreateScanCreated creates a CreateScanCreated with default headers values

func (*CreateScanCreated) Code added in v0.2.33

func (o *CreateScanCreated) Code() int

Code gets the status code for the create scan created response

func (*CreateScanCreated) Error

func (o *CreateScanCreated) Error() string

func (*CreateScanCreated) GetPayload

func (*CreateScanCreated) IsClientError

func (o *CreateScanCreated) IsClientError() bool

IsClientError returns true when this create scan created response has a 4xx status code

func (*CreateScanCreated) IsCode

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

IsCode returns true when this create scan created response a status code equal to that given

func (*CreateScanCreated) IsRedirect

func (o *CreateScanCreated) IsRedirect() bool

IsRedirect returns true when this create scan created response has a 3xx status code

func (*CreateScanCreated) IsServerError

func (o *CreateScanCreated) IsServerError() bool

IsServerError returns true when this create scan created response has a 5xx status code

func (*CreateScanCreated) IsSuccess

func (o *CreateScanCreated) IsSuccess() bool

IsSuccess returns true when this create scan created response has a 2xx status code

func (*CreateScanCreated) String

func (o *CreateScanCreated) String() string

type CreateScanForbidden

type CreateScanForbidden 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
}

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

Forbidden

func NewCreateScanForbidden

func NewCreateScanForbidden() *CreateScanForbidden

NewCreateScanForbidden creates a CreateScanForbidden with default headers values

func (*CreateScanForbidden) Code added in v0.2.33

func (o *CreateScanForbidden) Code() int

Code gets the status code for the create scan forbidden response

func (*CreateScanForbidden) Error

func (o *CreateScanForbidden) Error() string

func (*CreateScanForbidden) GetPayload

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

func (*CreateScanForbidden) IsClientError

func (o *CreateScanForbidden) IsClientError() bool

IsClientError returns true when this create scan forbidden response has a 4xx status code

func (*CreateScanForbidden) IsCode

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

IsCode returns true when this create scan forbidden response a status code equal to that given

func (*CreateScanForbidden) IsRedirect

func (o *CreateScanForbidden) IsRedirect() bool

IsRedirect returns true when this create scan forbidden response has a 3xx status code

func (*CreateScanForbidden) IsServerError

func (o *CreateScanForbidden) IsServerError() bool

IsServerError returns true when this create scan forbidden response has a 5xx status code

func (*CreateScanForbidden) IsSuccess

func (o *CreateScanForbidden) IsSuccess() bool

IsSuccess returns true when this create scan forbidden response has a 2xx status code

func (*CreateScanForbidden) String

func (o *CreateScanForbidden) String() string

type CreateScanParams

type CreateScanParams struct {

	// Body.
	Body *models.EntitiesODSScanRequest

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

CreateScanParams contains all the parameters to send to the API endpoint

for the create scan operation.

Typically these are written to a http.Request.

func NewCreateScanParams

func NewCreateScanParams() *CreateScanParams

NewCreateScanParams creates a new CreateScanParams 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 NewCreateScanParamsWithContext

func NewCreateScanParamsWithContext(ctx context.Context) *CreateScanParams

NewCreateScanParamsWithContext creates a new CreateScanParams object with the ability to set a context for a request.

func NewCreateScanParamsWithHTTPClient

func NewCreateScanParamsWithHTTPClient(client *http.Client) *CreateScanParams

NewCreateScanParamsWithHTTPClient creates a new CreateScanParams object with the ability to set a custom HTTPClient for a request.

func NewCreateScanParamsWithTimeout

func NewCreateScanParamsWithTimeout(timeout time.Duration) *CreateScanParams

NewCreateScanParamsWithTimeout creates a new CreateScanParams object with the ability to set a timeout on a request.

func (*CreateScanParams) SetBody

SetBody adds the body to the create scan params

func (*CreateScanParams) SetContext

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

SetContext adds the context to the create scan params

func (*CreateScanParams) SetDefaults

func (o *CreateScanParams) SetDefaults()

SetDefaults hydrates default values in the create scan params (not the query body).

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

func (*CreateScanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create scan params

func (*CreateScanParams) SetTimeout

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

SetTimeout adds the timeout to the create scan params

func (*CreateScanParams) WithBody

WithBody adds the body to the create scan params

func (*CreateScanParams) WithContext

func (o *CreateScanParams) WithContext(ctx context.Context) *CreateScanParams

WithContext adds the context to the create scan params

func (*CreateScanParams) WithDefaults

func (o *CreateScanParams) WithDefaults() *CreateScanParams

WithDefaults hydrates default values in the create scan params (not the query body).

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

func (*CreateScanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create scan params

func (*CreateScanParams) WithTimeout

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

WithTimeout adds the timeout to the create scan params

func (*CreateScanParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateScanReader

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

CreateScanReader is a Reader for the CreateScan structure.

func (*CreateScanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateScanTooManyRequests

type CreateScanTooManyRequests 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
}

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

Too Many Requests

func NewCreateScanTooManyRequests

func NewCreateScanTooManyRequests() *CreateScanTooManyRequests

NewCreateScanTooManyRequests creates a CreateScanTooManyRequests with default headers values

func (*CreateScanTooManyRequests) Code added in v0.2.33

func (o *CreateScanTooManyRequests) Code() int

Code gets the status code for the create scan too many requests response

func (*CreateScanTooManyRequests) Error

func (o *CreateScanTooManyRequests) Error() string

func (*CreateScanTooManyRequests) GetPayload

func (*CreateScanTooManyRequests) IsClientError

func (o *CreateScanTooManyRequests) IsClientError() bool

IsClientError returns true when this create scan too many requests response has a 4xx status code

func (*CreateScanTooManyRequests) IsCode

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

IsCode returns true when this create scan too many requests response a status code equal to that given

func (*CreateScanTooManyRequests) IsRedirect

func (o *CreateScanTooManyRequests) IsRedirect() bool

IsRedirect returns true when this create scan too many requests response has a 3xx status code

func (*CreateScanTooManyRequests) IsServerError

func (o *CreateScanTooManyRequests) IsServerError() bool

IsServerError returns true when this create scan too many requests response has a 5xx status code

func (*CreateScanTooManyRequests) IsSuccess

func (o *CreateScanTooManyRequests) IsSuccess() bool

IsSuccess returns true when this create scan too many requests response has a 2xx status code

func (*CreateScanTooManyRequests) String

func (o *CreateScanTooManyRequests) String() string

type DeleteScheduledScansForbidden

type DeleteScheduledScansForbidden 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
}

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

Forbidden

func NewDeleteScheduledScansForbidden

func NewDeleteScheduledScansForbidden() *DeleteScheduledScansForbidden

NewDeleteScheduledScansForbidden creates a DeleteScheduledScansForbidden with default headers values

func (*DeleteScheduledScansForbidden) Code added in v0.2.33

Code gets the status code for the delete scheduled scans forbidden response

func (*DeleteScheduledScansForbidden) Error

func (*DeleteScheduledScansForbidden) GetPayload

func (*DeleteScheduledScansForbidden) IsClientError

func (o *DeleteScheduledScansForbidden) IsClientError() bool

IsClientError returns true when this delete scheduled scans forbidden response has a 4xx status code

func (*DeleteScheduledScansForbidden) IsCode

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

IsCode returns true when this delete scheduled scans forbidden response a status code equal to that given

func (*DeleteScheduledScansForbidden) IsRedirect

func (o *DeleteScheduledScansForbidden) IsRedirect() bool

IsRedirect returns true when this delete scheduled scans forbidden response has a 3xx status code

func (*DeleteScheduledScansForbidden) IsServerError

func (o *DeleteScheduledScansForbidden) IsServerError() bool

IsServerError returns true when this delete scheduled scans forbidden response has a 5xx status code

func (*DeleteScheduledScansForbidden) IsSuccess

func (o *DeleteScheduledScansForbidden) IsSuccess() bool

IsSuccess returns true when this delete scheduled scans forbidden response has a 2xx status code

func (*DeleteScheduledScansForbidden) String

type DeleteScheduledScansNotFound

type DeleteScheduledScansNotFound 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.MsaspecResponseFields
}

DeleteScheduledScansNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteScheduledScansNotFound

func NewDeleteScheduledScansNotFound() *DeleteScheduledScansNotFound

NewDeleteScheduledScansNotFound creates a DeleteScheduledScansNotFound with default headers values

func (*DeleteScheduledScansNotFound) Code added in v0.2.33

Code gets the status code for the delete scheduled scans not found response

func (*DeleteScheduledScansNotFound) Error

func (*DeleteScheduledScansNotFound) GetPayload

func (*DeleteScheduledScansNotFound) IsClientError

func (o *DeleteScheduledScansNotFound) IsClientError() bool

IsClientError returns true when this delete scheduled scans not found response has a 4xx status code

func (*DeleteScheduledScansNotFound) IsCode

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

IsCode returns true when this delete scheduled scans not found response a status code equal to that given

func (*DeleteScheduledScansNotFound) IsRedirect

func (o *DeleteScheduledScansNotFound) IsRedirect() bool

IsRedirect returns true when this delete scheduled scans not found response has a 3xx status code

func (*DeleteScheduledScansNotFound) IsServerError

func (o *DeleteScheduledScansNotFound) IsServerError() bool

IsServerError returns true when this delete scheduled scans not found response has a 5xx status code

func (*DeleteScheduledScansNotFound) IsSuccess

func (o *DeleteScheduledScansNotFound) IsSuccess() bool

IsSuccess returns true when this delete scheduled scans not found response has a 2xx status code

func (*DeleteScheduledScansNotFound) String

type DeleteScheduledScansOK

type DeleteScheduledScansOK 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.MsaspecQueryResponse
}

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

OK

func NewDeleteScheduledScansOK

func NewDeleteScheduledScansOK() *DeleteScheduledScansOK

NewDeleteScheduledScansOK creates a DeleteScheduledScansOK with default headers values

func (*DeleteScheduledScansOK) Code added in v0.2.33

func (o *DeleteScheduledScansOK) Code() int

Code gets the status code for the delete scheduled scans o k response

func (*DeleteScheduledScansOK) Error

func (o *DeleteScheduledScansOK) Error() string

func (*DeleteScheduledScansOK) GetPayload

func (*DeleteScheduledScansOK) IsClientError

func (o *DeleteScheduledScansOK) IsClientError() bool

IsClientError returns true when this delete scheduled scans o k response has a 4xx status code

func (*DeleteScheduledScansOK) IsCode

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

IsCode returns true when this delete scheduled scans o k response a status code equal to that given

func (*DeleteScheduledScansOK) IsRedirect

func (o *DeleteScheduledScansOK) IsRedirect() bool

IsRedirect returns true when this delete scheduled scans o k response has a 3xx status code

func (*DeleteScheduledScansOK) IsServerError

func (o *DeleteScheduledScansOK) IsServerError() bool

IsServerError returns true when this delete scheduled scans o k response has a 5xx status code

func (*DeleteScheduledScansOK) IsSuccess

func (o *DeleteScheduledScansOK) IsSuccess() bool

IsSuccess returns true when this delete scheduled scans o k response has a 2xx status code

func (*DeleteScheduledScansOK) String

func (o *DeleteScheduledScansOK) String() string

type DeleteScheduledScansParams

type DeleteScheduledScansParams struct {

	/* Filter.

	   A FQL compatible query string.
	*/
	Filter *string

	/* Ids.

	   The scan IDs to retrieve the scan entities
	*/
	Ids []string

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

DeleteScheduledScansParams contains all the parameters to send to the API endpoint

for the delete scheduled scans operation.

Typically these are written to a http.Request.

func NewDeleteScheduledScansParams

func NewDeleteScheduledScansParams() *DeleteScheduledScansParams

NewDeleteScheduledScansParams creates a new DeleteScheduledScansParams 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 NewDeleteScheduledScansParamsWithContext

func NewDeleteScheduledScansParamsWithContext(ctx context.Context) *DeleteScheduledScansParams

NewDeleteScheduledScansParamsWithContext creates a new DeleteScheduledScansParams object with the ability to set a context for a request.

func NewDeleteScheduledScansParamsWithHTTPClient

func NewDeleteScheduledScansParamsWithHTTPClient(client *http.Client) *DeleteScheduledScansParams

NewDeleteScheduledScansParamsWithHTTPClient creates a new DeleteScheduledScansParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteScheduledScansParamsWithTimeout

func NewDeleteScheduledScansParamsWithTimeout(timeout time.Duration) *DeleteScheduledScansParams

NewDeleteScheduledScansParamsWithTimeout creates a new DeleteScheduledScansParams object with the ability to set a timeout on a request.

func (*DeleteScheduledScansParams) SetContext

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

SetContext adds the context to the delete scheduled scans params

func (*DeleteScheduledScansParams) SetDefaults

func (o *DeleteScheduledScansParams) SetDefaults()

SetDefaults hydrates default values in the delete scheduled scans params (not the query body).

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

func (*DeleteScheduledScansParams) SetFilter

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

SetFilter adds the filter to the delete scheduled scans params

func (*DeleteScheduledScansParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete scheduled scans params

func (*DeleteScheduledScansParams) SetIds

func (o *DeleteScheduledScansParams) SetIds(ids []string)

SetIds adds the ids to the delete scheduled scans params

func (*DeleteScheduledScansParams) SetTimeout

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

SetTimeout adds the timeout to the delete scheduled scans params

func (*DeleteScheduledScansParams) WithContext

WithContext adds the context to the delete scheduled scans params

func (*DeleteScheduledScansParams) WithDefaults

WithDefaults hydrates default values in the delete scheduled scans params (not the query body).

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

func (*DeleteScheduledScansParams) WithFilter

WithFilter adds the filter to the delete scheduled scans params

func (*DeleteScheduledScansParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete scheduled scans params

func (*DeleteScheduledScansParams) WithIds

WithIds adds the ids to the delete scheduled scans params

func (*DeleteScheduledScansParams) WithTimeout

WithTimeout adds the timeout to the delete scheduled scans params

func (*DeleteScheduledScansParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteScheduledScansReader

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

DeleteScheduledScansReader is a Reader for the DeleteScheduledScans structure.

func (*DeleteScheduledScansReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteScheduledScansTooManyRequests

type DeleteScheduledScansTooManyRequests 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
}

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

Too Many Requests

func NewDeleteScheduledScansTooManyRequests

func NewDeleteScheduledScansTooManyRequests() *DeleteScheduledScansTooManyRequests

NewDeleteScheduledScansTooManyRequests creates a DeleteScheduledScansTooManyRequests with default headers values

func (*DeleteScheduledScansTooManyRequests) Code added in v0.2.33

Code gets the status code for the delete scheduled scans too many requests response

func (*DeleteScheduledScansTooManyRequests) Error

func (*DeleteScheduledScansTooManyRequests) GetPayload

func (*DeleteScheduledScansTooManyRequests) IsClientError

func (o *DeleteScheduledScansTooManyRequests) IsClientError() bool

IsClientError returns true when this delete scheduled scans too many requests response has a 4xx status code

func (*DeleteScheduledScansTooManyRequests) IsCode

IsCode returns true when this delete scheduled scans too many requests response a status code equal to that given

func (*DeleteScheduledScansTooManyRequests) IsRedirect

func (o *DeleteScheduledScansTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete scheduled scans too many requests response has a 3xx status code

func (*DeleteScheduledScansTooManyRequests) IsServerError

func (o *DeleteScheduledScansTooManyRequests) IsServerError() bool

IsServerError returns true when this delete scheduled scans too many requests response has a 5xx status code

func (*DeleteScheduledScansTooManyRequests) IsSuccess

IsSuccess returns true when this delete scheduled scans too many requests response has a 2xx status code

func (*DeleteScheduledScansTooManyRequests) String

type GetMaliciousFilesByIdsForbidden

type GetMaliciousFilesByIdsForbidden 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
}

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

Forbidden

func NewGetMaliciousFilesByIdsForbidden

func NewGetMaliciousFilesByIdsForbidden() *GetMaliciousFilesByIdsForbidden

NewGetMaliciousFilesByIdsForbidden creates a GetMaliciousFilesByIdsForbidden with default headers values

func (*GetMaliciousFilesByIdsForbidden) Code added in v0.2.33

Code gets the status code for the get malicious files by ids forbidden response

func (*GetMaliciousFilesByIdsForbidden) Error

func (*GetMaliciousFilesByIdsForbidden) GetPayload

func (*GetMaliciousFilesByIdsForbidden) IsClientError

func (o *GetMaliciousFilesByIdsForbidden) IsClientError() bool

IsClientError returns true when this get malicious files by ids forbidden response has a 4xx status code

func (*GetMaliciousFilesByIdsForbidden) IsCode

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

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

func (*GetMaliciousFilesByIdsForbidden) IsRedirect

func (o *GetMaliciousFilesByIdsForbidden) IsRedirect() bool

IsRedirect returns true when this get malicious files by ids forbidden response has a 3xx status code

func (*GetMaliciousFilesByIdsForbidden) IsServerError

func (o *GetMaliciousFilesByIdsForbidden) IsServerError() bool

IsServerError returns true when this get malicious files by ids forbidden response has a 5xx status code

func (*GetMaliciousFilesByIdsForbidden) IsSuccess

func (o *GetMaliciousFilesByIdsForbidden) IsSuccess() bool

IsSuccess returns true when this get malicious files by ids forbidden response has a 2xx status code

func (*GetMaliciousFilesByIdsForbidden) String

type GetMaliciousFilesByIdsNotFound

type GetMaliciousFilesByIdsNotFound 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.MsaspecResponseFields
}

GetMaliciousFilesByIdsNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetMaliciousFilesByIdsNotFound

func NewGetMaliciousFilesByIdsNotFound() *GetMaliciousFilesByIdsNotFound

NewGetMaliciousFilesByIdsNotFound creates a GetMaliciousFilesByIdsNotFound with default headers values

func (*GetMaliciousFilesByIdsNotFound) Code added in v0.2.33

Code gets the status code for the get malicious files by ids not found response

func (*GetMaliciousFilesByIdsNotFound) Error

func (*GetMaliciousFilesByIdsNotFound) GetPayload

func (*GetMaliciousFilesByIdsNotFound) IsClientError

func (o *GetMaliciousFilesByIdsNotFound) IsClientError() bool

IsClientError returns true when this get malicious files by ids not found response has a 4xx status code

func (*GetMaliciousFilesByIdsNotFound) IsCode

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

IsCode returns true when this get malicious files by ids not found response a status code equal to that given

func (*GetMaliciousFilesByIdsNotFound) IsRedirect

func (o *GetMaliciousFilesByIdsNotFound) IsRedirect() bool

IsRedirect returns true when this get malicious files by ids not found response has a 3xx status code

func (*GetMaliciousFilesByIdsNotFound) IsServerError

func (o *GetMaliciousFilesByIdsNotFound) IsServerError() bool

IsServerError returns true when this get malicious files by ids not found response has a 5xx status code

func (*GetMaliciousFilesByIdsNotFound) IsSuccess

func (o *GetMaliciousFilesByIdsNotFound) IsSuccess() bool

IsSuccess returns true when this get malicious files by ids not found response has a 2xx status code

func (*GetMaliciousFilesByIdsNotFound) String

type GetMaliciousFilesByIdsOK

type GetMaliciousFilesByIdsOK 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.EntitiesODSScanMaliciousFileResponse
}

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

OK

func NewGetMaliciousFilesByIdsOK

func NewGetMaliciousFilesByIdsOK() *GetMaliciousFilesByIdsOK

NewGetMaliciousFilesByIdsOK creates a GetMaliciousFilesByIdsOK with default headers values

func (*GetMaliciousFilesByIdsOK) Code added in v0.2.33

func (o *GetMaliciousFilesByIdsOK) Code() int

Code gets the status code for the get malicious files by ids o k response

func (*GetMaliciousFilesByIdsOK) Error

func (o *GetMaliciousFilesByIdsOK) Error() string

func (*GetMaliciousFilesByIdsOK) GetPayload

func (*GetMaliciousFilesByIdsOK) IsClientError

func (o *GetMaliciousFilesByIdsOK) IsClientError() bool

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

func (*GetMaliciousFilesByIdsOK) IsCode

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

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

func (*GetMaliciousFilesByIdsOK) IsRedirect

func (o *GetMaliciousFilesByIdsOK) IsRedirect() bool

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

func (*GetMaliciousFilesByIdsOK) IsServerError

func (o *GetMaliciousFilesByIdsOK) IsServerError() bool

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

func (*GetMaliciousFilesByIdsOK) IsSuccess

func (o *GetMaliciousFilesByIdsOK) IsSuccess() bool

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

func (*GetMaliciousFilesByIdsOK) String

func (o *GetMaliciousFilesByIdsOK) String() string

type GetMaliciousFilesByIdsParams

type GetMaliciousFilesByIdsParams struct {

	/* Ids.

	   The scan IDs to retrieve the scan entities
	*/
	Ids []string

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

GetMaliciousFilesByIdsParams contains all the parameters to send to the API endpoint

for the get malicious files by ids operation.

Typically these are written to a http.Request.

func NewGetMaliciousFilesByIdsParams

func NewGetMaliciousFilesByIdsParams() *GetMaliciousFilesByIdsParams

NewGetMaliciousFilesByIdsParams creates a new GetMaliciousFilesByIdsParams 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 NewGetMaliciousFilesByIdsParamsWithContext

func NewGetMaliciousFilesByIdsParamsWithContext(ctx context.Context) *GetMaliciousFilesByIdsParams

NewGetMaliciousFilesByIdsParamsWithContext creates a new GetMaliciousFilesByIdsParams object with the ability to set a context for a request.

func NewGetMaliciousFilesByIdsParamsWithHTTPClient

func NewGetMaliciousFilesByIdsParamsWithHTTPClient(client *http.Client) *GetMaliciousFilesByIdsParams

NewGetMaliciousFilesByIdsParamsWithHTTPClient creates a new GetMaliciousFilesByIdsParams object with the ability to set a custom HTTPClient for a request.

func NewGetMaliciousFilesByIdsParamsWithTimeout

func NewGetMaliciousFilesByIdsParamsWithTimeout(timeout time.Duration) *GetMaliciousFilesByIdsParams

NewGetMaliciousFilesByIdsParamsWithTimeout creates a new GetMaliciousFilesByIdsParams object with the ability to set a timeout on a request.

func (*GetMaliciousFilesByIdsParams) SetContext

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

SetContext adds the context to the get malicious files by ids params

func (*GetMaliciousFilesByIdsParams) SetDefaults

func (o *GetMaliciousFilesByIdsParams) SetDefaults()

SetDefaults hydrates default values in the get malicious files by ids params (not the query body).

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

func (*GetMaliciousFilesByIdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get malicious files by ids params

func (*GetMaliciousFilesByIdsParams) SetIds

func (o *GetMaliciousFilesByIdsParams) SetIds(ids []string)

SetIds adds the ids to the get malicious files by ids params

func (*GetMaliciousFilesByIdsParams) SetTimeout

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

SetTimeout adds the timeout to the get malicious files by ids params

func (*GetMaliciousFilesByIdsParams) WithContext

WithContext adds the context to the get malicious files by ids params

func (*GetMaliciousFilesByIdsParams) WithDefaults

WithDefaults hydrates default values in the get malicious files by ids params (not the query body).

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

func (*GetMaliciousFilesByIdsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get malicious files by ids params

func (*GetMaliciousFilesByIdsParams) WithIds

WithIds adds the ids to the get malicious files by ids params

func (*GetMaliciousFilesByIdsParams) WithTimeout

WithTimeout adds the timeout to the get malicious files by ids params

func (*GetMaliciousFilesByIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMaliciousFilesByIdsReader

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

GetMaliciousFilesByIdsReader is a Reader for the GetMaliciousFilesByIds structure.

func (*GetMaliciousFilesByIdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMaliciousFilesByIdsTooManyRequests

type GetMaliciousFilesByIdsTooManyRequests 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
}

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

Too Many Requests

func NewGetMaliciousFilesByIdsTooManyRequests

func NewGetMaliciousFilesByIdsTooManyRequests() *GetMaliciousFilesByIdsTooManyRequests

NewGetMaliciousFilesByIdsTooManyRequests creates a GetMaliciousFilesByIdsTooManyRequests with default headers values

func (*GetMaliciousFilesByIdsTooManyRequests) Code added in v0.2.33

Code gets the status code for the get malicious files by ids too many requests response

func (*GetMaliciousFilesByIdsTooManyRequests) Error

func (*GetMaliciousFilesByIdsTooManyRequests) GetPayload

func (*GetMaliciousFilesByIdsTooManyRequests) IsClientError

func (o *GetMaliciousFilesByIdsTooManyRequests) IsClientError() bool

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

func (*GetMaliciousFilesByIdsTooManyRequests) IsCode

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

func (*GetMaliciousFilesByIdsTooManyRequests) IsRedirect

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

func (*GetMaliciousFilesByIdsTooManyRequests) IsServerError

func (o *GetMaliciousFilesByIdsTooManyRequests) IsServerError() bool

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

func (*GetMaliciousFilesByIdsTooManyRequests) IsSuccess

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

func (*GetMaliciousFilesByIdsTooManyRequests) String

type GetScanHostMetadataByIdsForbidden

type GetScanHostMetadataByIdsForbidden 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
}

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

Forbidden

func NewGetScanHostMetadataByIdsForbidden

func NewGetScanHostMetadataByIdsForbidden() *GetScanHostMetadataByIdsForbidden

NewGetScanHostMetadataByIdsForbidden creates a GetScanHostMetadataByIdsForbidden with default headers values

func (*GetScanHostMetadataByIdsForbidden) Code added in v0.2.33

Code gets the status code for the get scan host metadata by ids forbidden response

func (*GetScanHostMetadataByIdsForbidden) Error

func (*GetScanHostMetadataByIdsForbidden) GetPayload

func (*GetScanHostMetadataByIdsForbidden) IsClientError

func (o *GetScanHostMetadataByIdsForbidden) IsClientError() bool

IsClientError returns true when this get scan host metadata by ids forbidden response has a 4xx status code

func (*GetScanHostMetadataByIdsForbidden) IsCode

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

IsCode returns true when this get scan host metadata by ids forbidden response a status code equal to that given

func (*GetScanHostMetadataByIdsForbidden) IsRedirect

func (o *GetScanHostMetadataByIdsForbidden) IsRedirect() bool

IsRedirect returns true when this get scan host metadata by ids forbidden response has a 3xx status code

func (*GetScanHostMetadataByIdsForbidden) IsServerError

func (o *GetScanHostMetadataByIdsForbidden) IsServerError() bool

IsServerError returns true when this get scan host metadata by ids forbidden response has a 5xx status code

func (*GetScanHostMetadataByIdsForbidden) IsSuccess

func (o *GetScanHostMetadataByIdsForbidden) IsSuccess() bool

IsSuccess returns true when this get scan host metadata by ids forbidden response has a 2xx status code

func (*GetScanHostMetadataByIdsForbidden) String

type GetScanHostMetadataByIdsNotFound

type GetScanHostMetadataByIdsNotFound 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.MsaspecResponseFields
}

GetScanHostMetadataByIdsNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetScanHostMetadataByIdsNotFound

func NewGetScanHostMetadataByIdsNotFound() *GetScanHostMetadataByIdsNotFound

NewGetScanHostMetadataByIdsNotFound creates a GetScanHostMetadataByIdsNotFound with default headers values

func (*GetScanHostMetadataByIdsNotFound) Code added in v0.2.33

Code gets the status code for the get scan host metadata by ids not found response

func (*GetScanHostMetadataByIdsNotFound) Error

func (*GetScanHostMetadataByIdsNotFound) GetPayload

func (*GetScanHostMetadataByIdsNotFound) IsClientError

func (o *GetScanHostMetadataByIdsNotFound) IsClientError() bool

IsClientError returns true when this get scan host metadata by ids not found response has a 4xx status code

func (*GetScanHostMetadataByIdsNotFound) IsCode

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

IsCode returns true when this get scan host metadata by ids not found response a status code equal to that given

func (*GetScanHostMetadataByIdsNotFound) IsRedirect

func (o *GetScanHostMetadataByIdsNotFound) IsRedirect() bool

IsRedirect returns true when this get scan host metadata by ids not found response has a 3xx status code

func (*GetScanHostMetadataByIdsNotFound) IsServerError

func (o *GetScanHostMetadataByIdsNotFound) IsServerError() bool

IsServerError returns true when this get scan host metadata by ids not found response has a 5xx status code

func (*GetScanHostMetadataByIdsNotFound) IsSuccess

func (o *GetScanHostMetadataByIdsNotFound) IsSuccess() bool

IsSuccess returns true when this get scan host metadata by ids not found response has a 2xx status code

func (*GetScanHostMetadataByIdsNotFound) String

type GetScanHostMetadataByIdsOK

type GetScanHostMetadataByIdsOK 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.EntitiesODSScanHostResponse
}

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

OK

func NewGetScanHostMetadataByIdsOK

func NewGetScanHostMetadataByIdsOK() *GetScanHostMetadataByIdsOK

NewGetScanHostMetadataByIdsOK creates a GetScanHostMetadataByIdsOK with default headers values

func (*GetScanHostMetadataByIdsOK) Code added in v0.2.33

func (o *GetScanHostMetadataByIdsOK) Code() int

Code gets the status code for the get scan host metadata by ids o k response

func (*GetScanHostMetadataByIdsOK) Error

func (*GetScanHostMetadataByIdsOK) GetPayload

func (*GetScanHostMetadataByIdsOK) IsClientError

func (o *GetScanHostMetadataByIdsOK) IsClientError() bool

IsClientError returns true when this get scan host metadata by ids o k response has a 4xx status code

func (*GetScanHostMetadataByIdsOK) IsCode

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

IsCode returns true when this get scan host metadata by ids o k response a status code equal to that given

func (*GetScanHostMetadataByIdsOK) IsRedirect

func (o *GetScanHostMetadataByIdsOK) IsRedirect() bool

IsRedirect returns true when this get scan host metadata by ids o k response has a 3xx status code

func (*GetScanHostMetadataByIdsOK) IsServerError

func (o *GetScanHostMetadataByIdsOK) IsServerError() bool

IsServerError returns true when this get scan host metadata by ids o k response has a 5xx status code

func (*GetScanHostMetadataByIdsOK) IsSuccess

func (o *GetScanHostMetadataByIdsOK) IsSuccess() bool

IsSuccess returns true when this get scan host metadata by ids o k response has a 2xx status code

func (*GetScanHostMetadataByIdsOK) String

func (o *GetScanHostMetadataByIdsOK) String() string

type GetScanHostMetadataByIdsParams

type GetScanHostMetadataByIdsParams struct {

	/* Ids.

	   The scan IDs to retrieve the scan entities
	*/
	Ids []string

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

GetScanHostMetadataByIdsParams contains all the parameters to send to the API endpoint

for the get scan host metadata by ids operation.

Typically these are written to a http.Request.

func NewGetScanHostMetadataByIdsParams

func NewGetScanHostMetadataByIdsParams() *GetScanHostMetadataByIdsParams

NewGetScanHostMetadataByIdsParams creates a new GetScanHostMetadataByIdsParams 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 NewGetScanHostMetadataByIdsParamsWithContext

func NewGetScanHostMetadataByIdsParamsWithContext(ctx context.Context) *GetScanHostMetadataByIdsParams

NewGetScanHostMetadataByIdsParamsWithContext creates a new GetScanHostMetadataByIdsParams object with the ability to set a context for a request.

func NewGetScanHostMetadataByIdsParamsWithHTTPClient

func NewGetScanHostMetadataByIdsParamsWithHTTPClient(client *http.Client) *GetScanHostMetadataByIdsParams

NewGetScanHostMetadataByIdsParamsWithHTTPClient creates a new GetScanHostMetadataByIdsParams object with the ability to set a custom HTTPClient for a request.

func NewGetScanHostMetadataByIdsParamsWithTimeout

func NewGetScanHostMetadataByIdsParamsWithTimeout(timeout time.Duration) *GetScanHostMetadataByIdsParams

NewGetScanHostMetadataByIdsParamsWithTimeout creates a new GetScanHostMetadataByIdsParams object with the ability to set a timeout on a request.

func (*GetScanHostMetadataByIdsParams) SetContext

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

SetContext adds the context to the get scan host metadata by ids params

func (*GetScanHostMetadataByIdsParams) SetDefaults

func (o *GetScanHostMetadataByIdsParams) SetDefaults()

SetDefaults hydrates default values in the get scan host metadata by ids params (not the query body).

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

func (*GetScanHostMetadataByIdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get scan host metadata by ids params

func (*GetScanHostMetadataByIdsParams) SetIds

func (o *GetScanHostMetadataByIdsParams) SetIds(ids []string)

SetIds adds the ids to the get scan host metadata by ids params

func (*GetScanHostMetadataByIdsParams) SetTimeout

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

SetTimeout adds the timeout to the get scan host metadata by ids params

func (*GetScanHostMetadataByIdsParams) WithContext

WithContext adds the context to the get scan host metadata by ids params

func (*GetScanHostMetadataByIdsParams) WithDefaults

WithDefaults hydrates default values in the get scan host metadata by ids params (not the query body).

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

func (*GetScanHostMetadataByIdsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get scan host metadata by ids params

func (*GetScanHostMetadataByIdsParams) WithIds

WithIds adds the ids to the get scan host metadata by ids params

func (*GetScanHostMetadataByIdsParams) WithTimeout

WithTimeout adds the timeout to the get scan host metadata by ids params

func (*GetScanHostMetadataByIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetScanHostMetadataByIdsReader

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

GetScanHostMetadataByIdsReader is a Reader for the GetScanHostMetadataByIds structure.

func (*GetScanHostMetadataByIdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetScanHostMetadataByIdsTooManyRequests

type GetScanHostMetadataByIdsTooManyRequests 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
}

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

Too Many Requests

func NewGetScanHostMetadataByIdsTooManyRequests

func NewGetScanHostMetadataByIdsTooManyRequests() *GetScanHostMetadataByIdsTooManyRequests

NewGetScanHostMetadataByIdsTooManyRequests creates a GetScanHostMetadataByIdsTooManyRequests with default headers values

func (*GetScanHostMetadataByIdsTooManyRequests) Code added in v0.2.33

Code gets the status code for the get scan host metadata by ids too many requests response

func (*GetScanHostMetadataByIdsTooManyRequests) Error

func (*GetScanHostMetadataByIdsTooManyRequests) GetPayload

func (*GetScanHostMetadataByIdsTooManyRequests) IsClientError

func (o *GetScanHostMetadataByIdsTooManyRequests) IsClientError() bool

IsClientError returns true when this get scan host metadata by ids too many requests response has a 4xx status code

func (*GetScanHostMetadataByIdsTooManyRequests) IsCode

IsCode returns true when this get scan host metadata by ids too many requests response a status code equal to that given

func (*GetScanHostMetadataByIdsTooManyRequests) IsRedirect

IsRedirect returns true when this get scan host metadata by ids too many requests response has a 3xx status code

func (*GetScanHostMetadataByIdsTooManyRequests) IsServerError

func (o *GetScanHostMetadataByIdsTooManyRequests) IsServerError() bool

IsServerError returns true when this get scan host metadata by ids too many requests response has a 5xx status code

func (*GetScanHostMetadataByIdsTooManyRequests) IsSuccess

IsSuccess returns true when this get scan host metadata by ids too many requests response has a 2xx status code

func (*GetScanHostMetadataByIdsTooManyRequests) String

type GetScansByScanIdsForbidden

type GetScansByScanIdsForbidden 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
}

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

Forbidden

func NewGetScansByScanIdsForbidden

func NewGetScansByScanIdsForbidden() *GetScansByScanIdsForbidden

NewGetScansByScanIdsForbidden creates a GetScansByScanIdsForbidden with default headers values

func (*GetScansByScanIdsForbidden) Code added in v0.2.33

func (o *GetScansByScanIdsForbidden) Code() int

Code gets the status code for the get scans by scan ids forbidden response

func (*GetScansByScanIdsForbidden) Error

func (*GetScansByScanIdsForbidden) GetPayload

func (*GetScansByScanIdsForbidden) IsClientError

func (o *GetScansByScanIdsForbidden) IsClientError() bool

IsClientError returns true when this get scans by scan ids forbidden response has a 4xx status code

func (*GetScansByScanIdsForbidden) IsCode

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

IsCode returns true when this get scans by scan ids forbidden response a status code equal to that given

func (*GetScansByScanIdsForbidden) IsRedirect

func (o *GetScansByScanIdsForbidden) IsRedirect() bool

IsRedirect returns true when this get scans by scan ids forbidden response has a 3xx status code

func (*GetScansByScanIdsForbidden) IsServerError

func (o *GetScansByScanIdsForbidden) IsServerError() bool

IsServerError returns true when this get scans by scan ids forbidden response has a 5xx status code

func (*GetScansByScanIdsForbidden) IsSuccess

func (o *GetScansByScanIdsForbidden) IsSuccess() bool

IsSuccess returns true when this get scans by scan ids forbidden response has a 2xx status code

func (*GetScansByScanIdsForbidden) String

func (o *GetScansByScanIdsForbidden) String() string

type GetScansByScanIdsNotFound

type GetScansByScanIdsNotFound 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.MsaspecResponseFields
}

GetScansByScanIdsNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetScansByScanIdsNotFound

func NewGetScansByScanIdsNotFound() *GetScansByScanIdsNotFound

NewGetScansByScanIdsNotFound creates a GetScansByScanIdsNotFound with default headers values

func (*GetScansByScanIdsNotFound) Code added in v0.2.33

func (o *GetScansByScanIdsNotFound) Code() int

Code gets the status code for the get scans by scan ids not found response

func (*GetScansByScanIdsNotFound) Error

func (o *GetScansByScanIdsNotFound) Error() string

func (*GetScansByScanIdsNotFound) GetPayload

func (*GetScansByScanIdsNotFound) IsClientError

func (o *GetScansByScanIdsNotFound) IsClientError() bool

IsClientError returns true when this get scans by scan ids not found response has a 4xx status code

func (*GetScansByScanIdsNotFound) IsCode

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

IsCode returns true when this get scans by scan ids not found response a status code equal to that given

func (*GetScansByScanIdsNotFound) IsRedirect

func (o *GetScansByScanIdsNotFound) IsRedirect() bool

IsRedirect returns true when this get scans by scan ids not found response has a 3xx status code

func (*GetScansByScanIdsNotFound) IsServerError

func (o *GetScansByScanIdsNotFound) IsServerError() bool

IsServerError returns true when this get scans by scan ids not found response has a 5xx status code

func (*GetScansByScanIdsNotFound) IsSuccess

func (o *GetScansByScanIdsNotFound) IsSuccess() bool

IsSuccess returns true when this get scans by scan ids not found response has a 2xx status code

func (*GetScansByScanIdsNotFound) String

func (o *GetScansByScanIdsNotFound) String() string

type GetScansByScanIdsOK

type GetScansByScanIdsOK 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.EntitiesODSScanResponse
}

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

OK

func NewGetScansByScanIdsOK

func NewGetScansByScanIdsOK() *GetScansByScanIdsOK

NewGetScansByScanIdsOK creates a GetScansByScanIdsOK with default headers values

func (*GetScansByScanIdsOK) Code added in v0.2.33

func (o *GetScansByScanIdsOK) Code() int

Code gets the status code for the get scans by scan ids o k response

func (*GetScansByScanIdsOK) Error

func (o *GetScansByScanIdsOK) Error() string

func (*GetScansByScanIdsOK) GetPayload

func (*GetScansByScanIdsOK) IsClientError

func (o *GetScansByScanIdsOK) IsClientError() bool

IsClientError returns true when this get scans by scan ids o k response has a 4xx status code

func (*GetScansByScanIdsOK) IsCode

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

IsCode returns true when this get scans by scan ids o k response a status code equal to that given

func (*GetScansByScanIdsOK) IsRedirect

func (o *GetScansByScanIdsOK) IsRedirect() bool

IsRedirect returns true when this get scans by scan ids o k response has a 3xx status code

func (*GetScansByScanIdsOK) IsServerError

func (o *GetScansByScanIdsOK) IsServerError() bool

IsServerError returns true when this get scans by scan ids o k response has a 5xx status code

func (*GetScansByScanIdsOK) IsSuccess

func (o *GetScansByScanIdsOK) IsSuccess() bool

IsSuccess returns true when this get scans by scan ids o k response has a 2xx status code

func (*GetScansByScanIdsOK) String

func (o *GetScansByScanIdsOK) String() string

type GetScansByScanIdsParams

type GetScansByScanIdsParams struct {

	/* Ids.

	   The scan IDs to retrieve the scan entities
	*/
	Ids []string

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

GetScansByScanIdsParams contains all the parameters to send to the API endpoint

for the get scans by scan ids operation.

Typically these are written to a http.Request.

func NewGetScansByScanIdsParams

func NewGetScansByScanIdsParams() *GetScansByScanIdsParams

NewGetScansByScanIdsParams creates a new GetScansByScanIdsParams 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 NewGetScansByScanIdsParamsWithContext

func NewGetScansByScanIdsParamsWithContext(ctx context.Context) *GetScansByScanIdsParams

NewGetScansByScanIdsParamsWithContext creates a new GetScansByScanIdsParams object with the ability to set a context for a request.

func NewGetScansByScanIdsParamsWithHTTPClient

func NewGetScansByScanIdsParamsWithHTTPClient(client *http.Client) *GetScansByScanIdsParams

NewGetScansByScanIdsParamsWithHTTPClient creates a new GetScansByScanIdsParams object with the ability to set a custom HTTPClient for a request.

func NewGetScansByScanIdsParamsWithTimeout

func NewGetScansByScanIdsParamsWithTimeout(timeout time.Duration) *GetScansByScanIdsParams

NewGetScansByScanIdsParamsWithTimeout creates a new GetScansByScanIdsParams object with the ability to set a timeout on a request.

func (*GetScansByScanIdsParams) SetContext

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

SetContext adds the context to the get scans by scan ids params

func (*GetScansByScanIdsParams) SetDefaults

func (o *GetScansByScanIdsParams) SetDefaults()

SetDefaults hydrates default values in the get scans by scan ids params (not the query body).

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

func (*GetScansByScanIdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get scans by scan ids params

func (*GetScansByScanIdsParams) SetIds

func (o *GetScansByScanIdsParams) SetIds(ids []string)

SetIds adds the ids to the get scans by scan ids params

func (*GetScansByScanIdsParams) SetTimeout

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

SetTimeout adds the timeout to the get scans by scan ids params

func (*GetScansByScanIdsParams) WithContext

WithContext adds the context to the get scans by scan ids params

func (*GetScansByScanIdsParams) WithDefaults

WithDefaults hydrates default values in the get scans by scan ids params (not the query body).

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

func (*GetScansByScanIdsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get scans by scan ids params

func (*GetScansByScanIdsParams) WithIds

WithIds adds the ids to the get scans by scan ids params

func (*GetScansByScanIdsParams) WithTimeout

WithTimeout adds the timeout to the get scans by scan ids params

func (*GetScansByScanIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetScansByScanIdsReader

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

GetScansByScanIdsReader is a Reader for the GetScansByScanIds structure.

func (*GetScansByScanIdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetScansByScanIdsTooManyRequests

type GetScansByScanIdsTooManyRequests 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
}

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

Too Many Requests

func NewGetScansByScanIdsTooManyRequests

func NewGetScansByScanIdsTooManyRequests() *GetScansByScanIdsTooManyRequests

NewGetScansByScanIdsTooManyRequests creates a GetScansByScanIdsTooManyRequests with default headers values

func (*GetScansByScanIdsTooManyRequests) Code added in v0.2.33

Code gets the status code for the get scans by scan ids too many requests response

func (*GetScansByScanIdsTooManyRequests) Error

func (*GetScansByScanIdsTooManyRequests) GetPayload

func (*GetScansByScanIdsTooManyRequests) IsClientError

func (o *GetScansByScanIdsTooManyRequests) IsClientError() bool

IsClientError returns true when this get scans by scan ids too many requests response has a 4xx status code

func (*GetScansByScanIdsTooManyRequests) IsCode

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

IsCode returns true when this get scans by scan ids too many requests response a status code equal to that given

func (*GetScansByScanIdsTooManyRequests) IsRedirect

func (o *GetScansByScanIdsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get scans by scan ids too many requests response has a 3xx status code

func (*GetScansByScanIdsTooManyRequests) IsServerError

func (o *GetScansByScanIdsTooManyRequests) IsServerError() bool

IsServerError returns true when this get scans by scan ids too many requests response has a 5xx status code

func (*GetScansByScanIdsTooManyRequests) IsSuccess

func (o *GetScansByScanIdsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get scans by scan ids too many requests response has a 2xx status code

func (*GetScansByScanIdsTooManyRequests) String

type GetScheduledScansByScanIdsForbidden

type GetScheduledScansByScanIdsForbidden 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
}

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

Forbidden

func NewGetScheduledScansByScanIdsForbidden

func NewGetScheduledScansByScanIdsForbidden() *GetScheduledScansByScanIdsForbidden

NewGetScheduledScansByScanIdsForbidden creates a GetScheduledScansByScanIdsForbidden with default headers values

func (*GetScheduledScansByScanIdsForbidden) Code added in v0.2.33

Code gets the status code for the get scheduled scans by scan ids forbidden response

func (*GetScheduledScansByScanIdsForbidden) Error

func (*GetScheduledScansByScanIdsForbidden) GetPayload

func (*GetScheduledScansByScanIdsForbidden) IsClientError

func (o *GetScheduledScansByScanIdsForbidden) IsClientError() bool

IsClientError returns true when this get scheduled scans by scan ids forbidden response has a 4xx status code

func (*GetScheduledScansByScanIdsForbidden) IsCode

IsCode returns true when this get scheduled scans by scan ids forbidden response a status code equal to that given

func (*GetScheduledScansByScanIdsForbidden) IsRedirect

func (o *GetScheduledScansByScanIdsForbidden) IsRedirect() bool

IsRedirect returns true when this get scheduled scans by scan ids forbidden response has a 3xx status code

func (*GetScheduledScansByScanIdsForbidden) IsServerError

func (o *GetScheduledScansByScanIdsForbidden) IsServerError() bool

IsServerError returns true when this get scheduled scans by scan ids forbidden response has a 5xx status code

func (*GetScheduledScansByScanIdsForbidden) IsSuccess

IsSuccess returns true when this get scheduled scans by scan ids forbidden response has a 2xx status code

func (*GetScheduledScansByScanIdsForbidden) String

type GetScheduledScansByScanIdsNotFound

type GetScheduledScansByScanIdsNotFound 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.MsaspecResponseFields
}

GetScheduledScansByScanIdsNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetScheduledScansByScanIdsNotFound

func NewGetScheduledScansByScanIdsNotFound() *GetScheduledScansByScanIdsNotFound

NewGetScheduledScansByScanIdsNotFound creates a GetScheduledScansByScanIdsNotFound with default headers values

func (*GetScheduledScansByScanIdsNotFound) Code added in v0.2.33

Code gets the status code for the get scheduled scans by scan ids not found response

func (*GetScheduledScansByScanIdsNotFound) Error

func (*GetScheduledScansByScanIdsNotFound) GetPayload

func (*GetScheduledScansByScanIdsNotFound) IsClientError

func (o *GetScheduledScansByScanIdsNotFound) IsClientError() bool

IsClientError returns true when this get scheduled scans by scan ids not found response has a 4xx status code

func (*GetScheduledScansByScanIdsNotFound) IsCode

IsCode returns true when this get scheduled scans by scan ids not found response a status code equal to that given

func (*GetScheduledScansByScanIdsNotFound) IsRedirect

func (o *GetScheduledScansByScanIdsNotFound) IsRedirect() bool

IsRedirect returns true when this get scheduled scans by scan ids not found response has a 3xx status code

func (*GetScheduledScansByScanIdsNotFound) IsServerError

func (o *GetScheduledScansByScanIdsNotFound) IsServerError() bool

IsServerError returns true when this get scheduled scans by scan ids not found response has a 5xx status code

func (*GetScheduledScansByScanIdsNotFound) IsSuccess

IsSuccess returns true when this get scheduled scans by scan ids not found response has a 2xx status code

func (*GetScheduledScansByScanIdsNotFound) String

type GetScheduledScansByScanIdsOK

type GetScheduledScansByScanIdsOK 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.EntitiesODSScheduleScanResponse
}

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

OK

func NewGetScheduledScansByScanIdsOK

func NewGetScheduledScansByScanIdsOK() *GetScheduledScansByScanIdsOK

NewGetScheduledScansByScanIdsOK creates a GetScheduledScansByScanIdsOK with default headers values

func (*GetScheduledScansByScanIdsOK) Code added in v0.2.33

Code gets the status code for the get scheduled scans by scan ids o k response

func (*GetScheduledScansByScanIdsOK) Error

func (*GetScheduledScansByScanIdsOK) GetPayload

func (*GetScheduledScansByScanIdsOK) IsClientError

func (o *GetScheduledScansByScanIdsOK) IsClientError() bool

IsClientError returns true when this get scheduled scans by scan ids o k response has a 4xx status code

func (*GetScheduledScansByScanIdsOK) IsCode

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

IsCode returns true when this get scheduled scans by scan ids o k response a status code equal to that given

func (*GetScheduledScansByScanIdsOK) IsRedirect

func (o *GetScheduledScansByScanIdsOK) IsRedirect() bool

IsRedirect returns true when this get scheduled scans by scan ids o k response has a 3xx status code

func (*GetScheduledScansByScanIdsOK) IsServerError

func (o *GetScheduledScansByScanIdsOK) IsServerError() bool

IsServerError returns true when this get scheduled scans by scan ids o k response has a 5xx status code

func (*GetScheduledScansByScanIdsOK) IsSuccess

func (o *GetScheduledScansByScanIdsOK) IsSuccess() bool

IsSuccess returns true when this get scheduled scans by scan ids o k response has a 2xx status code

func (*GetScheduledScansByScanIdsOK) String

type GetScheduledScansByScanIdsParams

type GetScheduledScansByScanIdsParams struct {

	/* Ids.

	   The scan IDs to retrieve the scan entities
	*/
	Ids []string

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

GetScheduledScansByScanIdsParams contains all the parameters to send to the API endpoint

for the get scheduled scans by scan ids operation.

Typically these are written to a http.Request.

func NewGetScheduledScansByScanIdsParams

func NewGetScheduledScansByScanIdsParams() *GetScheduledScansByScanIdsParams

NewGetScheduledScansByScanIdsParams creates a new GetScheduledScansByScanIdsParams 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 NewGetScheduledScansByScanIdsParamsWithContext

func NewGetScheduledScansByScanIdsParamsWithContext(ctx context.Context) *GetScheduledScansByScanIdsParams

NewGetScheduledScansByScanIdsParamsWithContext creates a new GetScheduledScansByScanIdsParams object with the ability to set a context for a request.

func NewGetScheduledScansByScanIdsParamsWithHTTPClient

func NewGetScheduledScansByScanIdsParamsWithHTTPClient(client *http.Client) *GetScheduledScansByScanIdsParams

NewGetScheduledScansByScanIdsParamsWithHTTPClient creates a new GetScheduledScansByScanIdsParams object with the ability to set a custom HTTPClient for a request.

func NewGetScheduledScansByScanIdsParamsWithTimeout

func NewGetScheduledScansByScanIdsParamsWithTimeout(timeout time.Duration) *GetScheduledScansByScanIdsParams

NewGetScheduledScansByScanIdsParamsWithTimeout creates a new GetScheduledScansByScanIdsParams object with the ability to set a timeout on a request.

func (*GetScheduledScansByScanIdsParams) SetContext

SetContext adds the context to the get scheduled scans by scan ids params

func (*GetScheduledScansByScanIdsParams) SetDefaults

func (o *GetScheduledScansByScanIdsParams) SetDefaults()

SetDefaults hydrates default values in the get scheduled scans by scan ids params (not the query body).

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

func (*GetScheduledScansByScanIdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get scheduled scans by scan ids params

func (*GetScheduledScansByScanIdsParams) SetIds

func (o *GetScheduledScansByScanIdsParams) SetIds(ids []string)

SetIds adds the ids to the get scheduled scans by scan ids params

func (*GetScheduledScansByScanIdsParams) SetTimeout

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

SetTimeout adds the timeout to the get scheduled scans by scan ids params

func (*GetScheduledScansByScanIdsParams) WithContext

WithContext adds the context to the get scheduled scans by scan ids params

func (*GetScheduledScansByScanIdsParams) WithDefaults

WithDefaults hydrates default values in the get scheduled scans by scan ids params (not the query body).

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

func (*GetScheduledScansByScanIdsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get scheduled scans by scan ids params

func (*GetScheduledScansByScanIdsParams) WithIds

WithIds adds the ids to the get scheduled scans by scan ids params

func (*GetScheduledScansByScanIdsParams) WithTimeout

WithTimeout adds the timeout to the get scheduled scans by scan ids params

func (*GetScheduledScansByScanIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetScheduledScansByScanIdsReader

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

GetScheduledScansByScanIdsReader is a Reader for the GetScheduledScansByScanIds structure.

func (*GetScheduledScansByScanIdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetScheduledScansByScanIdsTooManyRequests

type GetScheduledScansByScanIdsTooManyRequests 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
}

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

Too Many Requests

func NewGetScheduledScansByScanIdsTooManyRequests

func NewGetScheduledScansByScanIdsTooManyRequests() *GetScheduledScansByScanIdsTooManyRequests

NewGetScheduledScansByScanIdsTooManyRequests creates a GetScheduledScansByScanIdsTooManyRequests with default headers values

func (*GetScheduledScansByScanIdsTooManyRequests) Code added in v0.2.33

Code gets the status code for the get scheduled scans by scan ids too many requests response

func (*GetScheduledScansByScanIdsTooManyRequests) Error

func (*GetScheduledScansByScanIdsTooManyRequests) GetPayload

func (*GetScheduledScansByScanIdsTooManyRequests) IsClientError

IsClientError returns true when this get scheduled scans by scan ids too many requests response has a 4xx status code

func (*GetScheduledScansByScanIdsTooManyRequests) IsCode

IsCode returns true when this get scheduled scans by scan ids too many requests response a status code equal to that given

func (*GetScheduledScansByScanIdsTooManyRequests) IsRedirect

IsRedirect returns true when this get scheduled scans by scan ids too many requests response has a 3xx status code

func (*GetScheduledScansByScanIdsTooManyRequests) IsServerError

IsServerError returns true when this get scheduled scans by scan ids too many requests response has a 5xx status code

func (*GetScheduledScansByScanIdsTooManyRequests) IsSuccess

IsSuccess returns true when this get scheduled scans by scan ids too many requests response has a 2xx status code

func (*GetScheduledScansByScanIdsTooManyRequests) String

type QueryMaliciousFilesForbidden

type QueryMaliciousFilesForbidden 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
}

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

Forbidden

func NewQueryMaliciousFilesForbidden

func NewQueryMaliciousFilesForbidden() *QueryMaliciousFilesForbidden

NewQueryMaliciousFilesForbidden creates a QueryMaliciousFilesForbidden with default headers values

func (*QueryMaliciousFilesForbidden) Code added in v0.2.33

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

func (*QueryMaliciousFilesForbidden) Error

func (*QueryMaliciousFilesForbidden) GetPayload

func (*QueryMaliciousFilesForbidden) IsClientError

func (o *QueryMaliciousFilesForbidden) IsClientError() bool

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

func (*QueryMaliciousFilesForbidden) IsCode

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

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

func (*QueryMaliciousFilesForbidden) IsRedirect

func (o *QueryMaliciousFilesForbidden) IsRedirect() bool

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

func (*QueryMaliciousFilesForbidden) IsServerError

func (o *QueryMaliciousFilesForbidden) IsServerError() bool

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

func (*QueryMaliciousFilesForbidden) IsSuccess

func (o *QueryMaliciousFilesForbidden) IsSuccess() bool

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

func (*QueryMaliciousFilesForbidden) String

type QueryMaliciousFilesNotFound

type QueryMaliciousFilesNotFound 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.MsaspecResponseFields
}

QueryMaliciousFilesNotFound describes a response with status code 404, with default header values.

Not Found

func NewQueryMaliciousFilesNotFound

func NewQueryMaliciousFilesNotFound() *QueryMaliciousFilesNotFound

NewQueryMaliciousFilesNotFound creates a QueryMaliciousFilesNotFound with default headers values

func (*QueryMaliciousFilesNotFound) Code added in v0.2.33

func (o *QueryMaliciousFilesNotFound) Code() int

Code gets the status code for the query malicious files not found response

func (*QueryMaliciousFilesNotFound) Error

func (*QueryMaliciousFilesNotFound) GetPayload

func (*QueryMaliciousFilesNotFound) IsClientError

func (o *QueryMaliciousFilesNotFound) IsClientError() bool

IsClientError returns true when this query malicious files not found response has a 4xx status code

func (*QueryMaliciousFilesNotFound) IsCode

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

IsCode returns true when this query malicious files not found response a status code equal to that given

func (*QueryMaliciousFilesNotFound) IsRedirect

func (o *QueryMaliciousFilesNotFound) IsRedirect() bool

IsRedirect returns true when this query malicious files not found response has a 3xx status code

func (*QueryMaliciousFilesNotFound) IsServerError

func (o *QueryMaliciousFilesNotFound) IsServerError() bool

IsServerError returns true when this query malicious files not found response has a 5xx status code

func (*QueryMaliciousFilesNotFound) IsSuccess

func (o *QueryMaliciousFilesNotFound) IsSuccess() bool

IsSuccess returns true when this query malicious files not found response has a 2xx status code

func (*QueryMaliciousFilesNotFound) String

func (o *QueryMaliciousFilesNotFound) String() string

type QueryMaliciousFilesOK

type QueryMaliciousFilesOK 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.MsaspecQueryResponse
}

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

OK

func NewQueryMaliciousFilesOK

func NewQueryMaliciousFilesOK() *QueryMaliciousFilesOK

NewQueryMaliciousFilesOK creates a QueryMaliciousFilesOK with default headers values

func (*QueryMaliciousFilesOK) Code added in v0.2.33

func (o *QueryMaliciousFilesOK) Code() int

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

func (*QueryMaliciousFilesOK) Error

func (o *QueryMaliciousFilesOK) Error() string

func (*QueryMaliciousFilesOK) GetPayload

func (*QueryMaliciousFilesOK) IsClientError

func (o *QueryMaliciousFilesOK) IsClientError() bool

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

func (*QueryMaliciousFilesOK) IsCode

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

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

func (*QueryMaliciousFilesOK) IsRedirect

func (o *QueryMaliciousFilesOK) IsRedirect() bool

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

func (*QueryMaliciousFilesOK) IsServerError

func (o *QueryMaliciousFilesOK) IsServerError() bool

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

func (*QueryMaliciousFilesOK) IsSuccess

func (o *QueryMaliciousFilesOK) IsSuccess() bool

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

func (*QueryMaliciousFilesOK) String

func (o *QueryMaliciousFilesOK) String() string

type QueryMaliciousFilesParams

type QueryMaliciousFilesParams struct {

	/* Filter.

	   A FQL compatible query string. Terms: [id scan_id host_id host_scan_id filepath filename hash pattern_id severity quarantined last_updated]
	*/
	Filter string

	/* Limit.

	   The max number of resources to return

	   Default: 500
	*/
	Limit *int64

	/* Offset.

	   Index of the starting resource
	*/
	Offset *int64

	/* Sort.

	   The property to sort on, followed by a |, followed by the sort direction, either "asc" or "desc"

	   Default: "last_updated|desc"
	*/
	Sort string

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

QueryMaliciousFilesParams contains all the parameters to send to the API endpoint

for the query malicious files operation.

Typically these are written to a http.Request.

func NewQueryMaliciousFilesParams

func NewQueryMaliciousFilesParams() *QueryMaliciousFilesParams

NewQueryMaliciousFilesParams creates a new QueryMaliciousFilesParams 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 NewQueryMaliciousFilesParamsWithContext

func NewQueryMaliciousFilesParamsWithContext(ctx context.Context) *QueryMaliciousFilesParams

NewQueryMaliciousFilesParamsWithContext creates a new QueryMaliciousFilesParams object with the ability to set a context for a request.

func NewQueryMaliciousFilesParamsWithHTTPClient

func NewQueryMaliciousFilesParamsWithHTTPClient(client *http.Client) *QueryMaliciousFilesParams

NewQueryMaliciousFilesParamsWithHTTPClient creates a new QueryMaliciousFilesParams object with the ability to set a custom HTTPClient for a request.

func NewQueryMaliciousFilesParamsWithTimeout

func NewQueryMaliciousFilesParamsWithTimeout(timeout time.Duration) *QueryMaliciousFilesParams

NewQueryMaliciousFilesParamsWithTimeout creates a new QueryMaliciousFilesParams object with the ability to set a timeout on a request.

func (*QueryMaliciousFilesParams) SetContext

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

SetContext adds the context to the query malicious files params

func (*QueryMaliciousFilesParams) SetDefaults

func (o *QueryMaliciousFilesParams) SetDefaults()

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

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

func (*QueryMaliciousFilesParams) SetFilter

func (o *QueryMaliciousFilesParams) SetFilter(filter string)

SetFilter adds the filter to the query malicious files params

func (*QueryMaliciousFilesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query malicious files params

func (*QueryMaliciousFilesParams) SetLimit

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

SetLimit adds the limit to the query malicious files params

func (*QueryMaliciousFilesParams) SetOffset

func (o *QueryMaliciousFilesParams) SetOffset(offset *int64)

SetOffset adds the offset to the query malicious files params

func (*QueryMaliciousFilesParams) SetSort

func (o *QueryMaliciousFilesParams) SetSort(sort string)

SetSort adds the sort to the query malicious files params

func (*QueryMaliciousFilesParams) SetTimeout

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

SetTimeout adds the timeout to the query malicious files params

func (*QueryMaliciousFilesParams) WithContext

WithContext adds the context to the query malicious files params

func (*QueryMaliciousFilesParams) WithDefaults

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

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

func (*QueryMaliciousFilesParams) WithFilter

WithFilter adds the filter to the query malicious files params

func (*QueryMaliciousFilesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query malicious files params

func (*QueryMaliciousFilesParams) WithLimit

WithLimit adds the limit to the query malicious files params

func (*QueryMaliciousFilesParams) WithOffset

WithOffset adds the offset to the query malicious files params

func (*QueryMaliciousFilesParams) WithSort

WithSort adds the sort to the query malicious files params

func (*QueryMaliciousFilesParams) WithTimeout

WithTimeout adds the timeout to the query malicious files params

func (*QueryMaliciousFilesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryMaliciousFilesReader

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

QueryMaliciousFilesReader is a Reader for the QueryMaliciousFiles structure.

func (*QueryMaliciousFilesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryMaliciousFilesTooManyRequests

type QueryMaliciousFilesTooManyRequests 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
}

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

Too Many Requests

func NewQueryMaliciousFilesTooManyRequests

func NewQueryMaliciousFilesTooManyRequests() *QueryMaliciousFilesTooManyRequests

NewQueryMaliciousFilesTooManyRequests creates a QueryMaliciousFilesTooManyRequests with default headers values

func (*QueryMaliciousFilesTooManyRequests) Code added in v0.2.33

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

func (*QueryMaliciousFilesTooManyRequests) Error

func (*QueryMaliciousFilesTooManyRequests) GetPayload

func (*QueryMaliciousFilesTooManyRequests) IsClientError

func (o *QueryMaliciousFilesTooManyRequests) IsClientError() bool

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

func (*QueryMaliciousFilesTooManyRequests) IsCode

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

func (*QueryMaliciousFilesTooManyRequests) IsRedirect

func (o *QueryMaliciousFilesTooManyRequests) IsRedirect() bool

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

func (*QueryMaliciousFilesTooManyRequests) IsServerError

func (o *QueryMaliciousFilesTooManyRequests) IsServerError() bool

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

func (*QueryMaliciousFilesTooManyRequests) IsSuccess

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

func (*QueryMaliciousFilesTooManyRequests) String

type QueryScanHostMetadataForbidden

type QueryScanHostMetadataForbidden 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
}

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

Forbidden

func NewQueryScanHostMetadataForbidden

func NewQueryScanHostMetadataForbidden() *QueryScanHostMetadataForbidden

NewQueryScanHostMetadataForbidden creates a QueryScanHostMetadataForbidden with default headers values

func (*QueryScanHostMetadataForbidden) Code added in v0.2.33

Code gets the status code for the query scan host metadata forbidden response

func (*QueryScanHostMetadataForbidden) Error

func (*QueryScanHostMetadataForbidden) GetPayload

func (*QueryScanHostMetadataForbidden) IsClientError

func (o *QueryScanHostMetadataForbidden) IsClientError() bool

IsClientError returns true when this query scan host metadata forbidden response has a 4xx status code

func (*QueryScanHostMetadataForbidden) IsCode

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

IsCode returns true when this query scan host metadata forbidden response a status code equal to that given

func (*QueryScanHostMetadataForbidden) IsRedirect

func (o *QueryScanHostMetadataForbidden) IsRedirect() bool

IsRedirect returns true when this query scan host metadata forbidden response has a 3xx status code

func (*QueryScanHostMetadataForbidden) IsServerError

func (o *QueryScanHostMetadataForbidden) IsServerError() bool

IsServerError returns true when this query scan host metadata forbidden response has a 5xx status code

func (*QueryScanHostMetadataForbidden) IsSuccess

func (o *QueryScanHostMetadataForbidden) IsSuccess() bool

IsSuccess returns true when this query scan host metadata forbidden response has a 2xx status code

func (*QueryScanHostMetadataForbidden) String

type QueryScanHostMetadataNotFound

type QueryScanHostMetadataNotFound 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.MsaspecResponseFields
}

QueryScanHostMetadataNotFound describes a response with status code 404, with default header values.

Not Found

func NewQueryScanHostMetadataNotFound

func NewQueryScanHostMetadataNotFound() *QueryScanHostMetadataNotFound

NewQueryScanHostMetadataNotFound creates a QueryScanHostMetadataNotFound with default headers values

func (*QueryScanHostMetadataNotFound) Code added in v0.2.33

Code gets the status code for the query scan host metadata not found response

func (*QueryScanHostMetadataNotFound) Error

func (*QueryScanHostMetadataNotFound) GetPayload

func (*QueryScanHostMetadataNotFound) IsClientError

func (o *QueryScanHostMetadataNotFound) IsClientError() bool

IsClientError returns true when this query scan host metadata not found response has a 4xx status code

func (*QueryScanHostMetadataNotFound) IsCode

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

IsCode returns true when this query scan host metadata not found response a status code equal to that given

func (*QueryScanHostMetadataNotFound) IsRedirect

func (o *QueryScanHostMetadataNotFound) IsRedirect() bool

IsRedirect returns true when this query scan host metadata not found response has a 3xx status code

func (*QueryScanHostMetadataNotFound) IsServerError

func (o *QueryScanHostMetadataNotFound) IsServerError() bool

IsServerError returns true when this query scan host metadata not found response has a 5xx status code

func (*QueryScanHostMetadataNotFound) IsSuccess

func (o *QueryScanHostMetadataNotFound) IsSuccess() bool

IsSuccess returns true when this query scan host metadata not found response has a 2xx status code

func (*QueryScanHostMetadataNotFound) String

type QueryScanHostMetadataOK

type QueryScanHostMetadataOK 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.MsaspecQueryResponse
}

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

OK

func NewQueryScanHostMetadataOK

func NewQueryScanHostMetadataOK() *QueryScanHostMetadataOK

NewQueryScanHostMetadataOK creates a QueryScanHostMetadataOK with default headers values

func (*QueryScanHostMetadataOK) Code added in v0.2.33

func (o *QueryScanHostMetadataOK) Code() int

Code gets the status code for the query scan host metadata o k response

func (*QueryScanHostMetadataOK) Error

func (o *QueryScanHostMetadataOK) Error() string

func (*QueryScanHostMetadataOK) GetPayload

func (*QueryScanHostMetadataOK) IsClientError

func (o *QueryScanHostMetadataOK) IsClientError() bool

IsClientError returns true when this query scan host metadata o k response has a 4xx status code

func (*QueryScanHostMetadataOK) IsCode

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

IsCode returns true when this query scan host metadata o k response a status code equal to that given

func (*QueryScanHostMetadataOK) IsRedirect

func (o *QueryScanHostMetadataOK) IsRedirect() bool

IsRedirect returns true when this query scan host metadata o k response has a 3xx status code

func (*QueryScanHostMetadataOK) IsServerError

func (o *QueryScanHostMetadataOK) IsServerError() bool

IsServerError returns true when this query scan host metadata o k response has a 5xx status code

func (*QueryScanHostMetadataOK) IsSuccess

func (o *QueryScanHostMetadataOK) IsSuccess() bool

IsSuccess returns true when this query scan host metadata o k response has a 2xx status code

func (*QueryScanHostMetadataOK) String

func (o *QueryScanHostMetadataOK) String() string

type QueryScanHostMetadataParams

type QueryScanHostMetadataParams struct {

	/* Filter.

	   A FQL compatible query string. Terms: [id profile_id host_id scan_id host_scan_id filecount.scanned filecount.malicious filecount.quarantined filecount.skipped affected_hosts_count status severity completed_on started_on last_updated]
	*/
	Filter string

	/* Limit.

	   The max number of resources to return

	   Default: 500
	*/
	Limit *int64

	/* Offset.

	   Index of the starting resource
	*/
	Offset *int64

	/* Sort.

	   The property to sort on, followed by a |, followed by the sort direction, either "asc" or "desc"

	   Default: "last_updated|desc"
	*/
	Sort string

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

QueryScanHostMetadataParams contains all the parameters to send to the API endpoint

for the query scan host metadata operation.

Typically these are written to a http.Request.

func NewQueryScanHostMetadataParams

func NewQueryScanHostMetadataParams() *QueryScanHostMetadataParams

NewQueryScanHostMetadataParams creates a new QueryScanHostMetadataParams 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 NewQueryScanHostMetadataParamsWithContext

func NewQueryScanHostMetadataParamsWithContext(ctx context.Context) *QueryScanHostMetadataParams

NewQueryScanHostMetadataParamsWithContext creates a new QueryScanHostMetadataParams object with the ability to set a context for a request.

func NewQueryScanHostMetadataParamsWithHTTPClient

func NewQueryScanHostMetadataParamsWithHTTPClient(client *http.Client) *QueryScanHostMetadataParams

NewQueryScanHostMetadataParamsWithHTTPClient creates a new QueryScanHostMetadataParams object with the ability to set a custom HTTPClient for a request.

func NewQueryScanHostMetadataParamsWithTimeout

func NewQueryScanHostMetadataParamsWithTimeout(timeout time.Duration) *QueryScanHostMetadataParams

NewQueryScanHostMetadataParamsWithTimeout creates a new QueryScanHostMetadataParams object with the ability to set a timeout on a request.

func (*QueryScanHostMetadataParams) SetContext

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

SetContext adds the context to the query scan host metadata params

func (*QueryScanHostMetadataParams) SetDefaults

func (o *QueryScanHostMetadataParams) SetDefaults()

SetDefaults hydrates default values in the query scan host metadata params (not the query body).

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

func (*QueryScanHostMetadataParams) SetFilter

func (o *QueryScanHostMetadataParams) SetFilter(filter string)

SetFilter adds the filter to the query scan host metadata params

func (*QueryScanHostMetadataParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query scan host metadata params

func (*QueryScanHostMetadataParams) SetLimit

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

SetLimit adds the limit to the query scan host metadata params

func (*QueryScanHostMetadataParams) SetOffset

func (o *QueryScanHostMetadataParams) SetOffset(offset *int64)

SetOffset adds the offset to the query scan host metadata params

func (*QueryScanHostMetadataParams) SetSort

func (o *QueryScanHostMetadataParams) SetSort(sort string)

SetSort adds the sort to the query scan host metadata params

func (*QueryScanHostMetadataParams) SetTimeout

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

SetTimeout adds the timeout to the query scan host metadata params

func (*QueryScanHostMetadataParams) WithContext

WithContext adds the context to the query scan host metadata params

func (*QueryScanHostMetadataParams) WithDefaults

WithDefaults hydrates default values in the query scan host metadata params (not the query body).

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

func (*QueryScanHostMetadataParams) WithFilter

WithFilter adds the filter to the query scan host metadata params

func (*QueryScanHostMetadataParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query scan host metadata params

func (*QueryScanHostMetadataParams) WithLimit

WithLimit adds the limit to the query scan host metadata params

func (*QueryScanHostMetadataParams) WithOffset

WithOffset adds the offset to the query scan host metadata params

func (*QueryScanHostMetadataParams) WithSort

WithSort adds the sort to the query scan host metadata params

func (*QueryScanHostMetadataParams) WithTimeout

WithTimeout adds the timeout to the query scan host metadata params

func (*QueryScanHostMetadataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryScanHostMetadataReader

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

QueryScanHostMetadataReader is a Reader for the QueryScanHostMetadata structure.

func (*QueryScanHostMetadataReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryScanHostMetadataTooManyRequests

type QueryScanHostMetadataTooManyRequests 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
}

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

Too Many Requests

func NewQueryScanHostMetadataTooManyRequests

func NewQueryScanHostMetadataTooManyRequests() *QueryScanHostMetadataTooManyRequests

NewQueryScanHostMetadataTooManyRequests creates a QueryScanHostMetadataTooManyRequests with default headers values

func (*QueryScanHostMetadataTooManyRequests) Code added in v0.2.33

Code gets the status code for the query scan host metadata too many requests response

func (*QueryScanHostMetadataTooManyRequests) Error

func (*QueryScanHostMetadataTooManyRequests) GetPayload

func (*QueryScanHostMetadataTooManyRequests) IsClientError

func (o *QueryScanHostMetadataTooManyRequests) IsClientError() bool

IsClientError returns true when this query scan host metadata too many requests response has a 4xx status code

func (*QueryScanHostMetadataTooManyRequests) IsCode

IsCode returns true when this query scan host metadata too many requests response a status code equal to that given

func (*QueryScanHostMetadataTooManyRequests) IsRedirect

IsRedirect returns true when this query scan host metadata too many requests response has a 3xx status code

func (*QueryScanHostMetadataTooManyRequests) IsServerError

func (o *QueryScanHostMetadataTooManyRequests) IsServerError() bool

IsServerError returns true when this query scan host metadata too many requests response has a 5xx status code

func (*QueryScanHostMetadataTooManyRequests) IsSuccess

IsSuccess returns true when this query scan host metadata too many requests response has a 2xx status code

func (*QueryScanHostMetadataTooManyRequests) String

type QueryScansForbidden

type QueryScansForbidden 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
}

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

Forbidden

func NewQueryScansForbidden

func NewQueryScansForbidden() *QueryScansForbidden

NewQueryScansForbidden creates a QueryScansForbidden with default headers values

func (*QueryScansForbidden) Code added in v0.2.33

func (o *QueryScansForbidden) Code() int

Code gets the status code for the query scans forbidden response

func (*QueryScansForbidden) Error

func (o *QueryScansForbidden) Error() string

func (*QueryScansForbidden) GetPayload

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

func (*QueryScansForbidden) IsClientError

func (o *QueryScansForbidden) IsClientError() bool

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

func (*QueryScansForbidden) IsCode

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

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

func (*QueryScansForbidden) IsRedirect

func (o *QueryScansForbidden) IsRedirect() bool

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

func (*QueryScansForbidden) IsServerError

func (o *QueryScansForbidden) IsServerError() bool

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

func (*QueryScansForbidden) IsSuccess

func (o *QueryScansForbidden) IsSuccess() bool

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

func (*QueryScansForbidden) String

func (o *QueryScansForbidden) String() string

type QueryScansNotFound

type QueryScansNotFound 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.MsaspecResponseFields
}

QueryScansNotFound describes a response with status code 404, with default header values.

Not Found

func NewQueryScansNotFound

func NewQueryScansNotFound() *QueryScansNotFound

NewQueryScansNotFound creates a QueryScansNotFound with default headers values

func (*QueryScansNotFound) Code added in v0.2.33

func (o *QueryScansNotFound) Code() int

Code gets the status code for the query scans not found response

func (*QueryScansNotFound) Error

func (o *QueryScansNotFound) Error() string

func (*QueryScansNotFound) GetPayload

func (*QueryScansNotFound) IsClientError

func (o *QueryScansNotFound) IsClientError() bool

IsClientError returns true when this query scans not found response has a 4xx status code

func (*QueryScansNotFound) IsCode

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

IsCode returns true when this query scans not found response a status code equal to that given

func (*QueryScansNotFound) IsRedirect

func (o *QueryScansNotFound) IsRedirect() bool

IsRedirect returns true when this query scans not found response has a 3xx status code

func (*QueryScansNotFound) IsServerError

func (o *QueryScansNotFound) IsServerError() bool

IsServerError returns true when this query scans not found response has a 5xx status code

func (*QueryScansNotFound) IsSuccess

func (o *QueryScansNotFound) IsSuccess() bool

IsSuccess returns true when this query scans not found response has a 2xx status code

func (*QueryScansNotFound) String

func (o *QueryScansNotFound) String() string

type QueryScansOK

type QueryScansOK 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.MsaspecQueryResponse
}

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

OK

func NewQueryScansOK

func NewQueryScansOK() *QueryScansOK

NewQueryScansOK creates a QueryScansOK with default headers values

func (*QueryScansOK) Code added in v0.2.33

func (o *QueryScansOK) Code() int

Code gets the status code for the query scans o k response

func (*QueryScansOK) Error

func (o *QueryScansOK) Error() string

func (*QueryScansOK) GetPayload

func (o *QueryScansOK) GetPayload() *models.MsaspecQueryResponse

func (*QueryScansOK) IsClientError

func (o *QueryScansOK) IsClientError() bool

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

func (*QueryScansOK) IsCode

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

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

func (*QueryScansOK) IsRedirect

func (o *QueryScansOK) IsRedirect() bool

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

func (*QueryScansOK) IsServerError

func (o *QueryScansOK) IsServerError() bool

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

func (*QueryScansOK) IsSuccess

func (o *QueryScansOK) IsSuccess() bool

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

func (*QueryScansOK) String

func (o *QueryScansOK) String() string

type QueryScansParams

type QueryScansParams struct {

	/* Filter.

	   A FQL compatible query string. Terms: [id profile_id description.keyword initiated_from filecount.scanned filecount.malicious filecount.quarantined filecount.skipped affected_hosts_count status severity scan_started_on scan_completed_on created_on created_by last_updated]
	*/
	Filter string

	/* Limit.

	   The max number of resources to return

	   Default: 500
	*/
	Limit *int64

	/* Offset.

	   Index of the starting resource
	*/
	Offset *int64

	/* Sort.

	   The property to sort on, followed by a |, followed by the sort direction, either "asc" or "desc"

	   Default: "created_on|desc"
	*/
	Sort string

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

QueryScansParams contains all the parameters to send to the API endpoint

for the query scans operation.

Typically these are written to a http.Request.

func NewQueryScansParams

func NewQueryScansParams() *QueryScansParams

NewQueryScansParams creates a new QueryScansParams 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 NewQueryScansParamsWithContext

func NewQueryScansParamsWithContext(ctx context.Context) *QueryScansParams

NewQueryScansParamsWithContext creates a new QueryScansParams object with the ability to set a context for a request.

func NewQueryScansParamsWithHTTPClient

func NewQueryScansParamsWithHTTPClient(client *http.Client) *QueryScansParams

NewQueryScansParamsWithHTTPClient creates a new QueryScansParams object with the ability to set a custom HTTPClient for a request.

func NewQueryScansParamsWithTimeout

func NewQueryScansParamsWithTimeout(timeout time.Duration) *QueryScansParams

NewQueryScansParamsWithTimeout creates a new QueryScansParams object with the ability to set a timeout on a request.

func (*QueryScansParams) SetContext

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

SetContext adds the context to the query scans params

func (*QueryScansParams) SetDefaults

func (o *QueryScansParams) SetDefaults()

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

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

func (*QueryScansParams) SetFilter

func (o *QueryScansParams) SetFilter(filter string)

SetFilter adds the filter to the query scans params

func (*QueryScansParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query scans params

func (*QueryScansParams) SetLimit

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

SetLimit adds the limit to the query scans params

func (*QueryScansParams) SetOffset

func (o *QueryScansParams) SetOffset(offset *int64)

SetOffset adds the offset to the query scans params

func (*QueryScansParams) SetSort

func (o *QueryScansParams) SetSort(sort string)

SetSort adds the sort to the query scans params

func (*QueryScansParams) SetTimeout

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

SetTimeout adds the timeout to the query scans params

func (*QueryScansParams) WithContext

func (o *QueryScansParams) WithContext(ctx context.Context) *QueryScansParams

WithContext adds the context to the query scans params

func (*QueryScansParams) WithDefaults

func (o *QueryScansParams) WithDefaults() *QueryScansParams

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

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

func (*QueryScansParams) WithFilter

func (o *QueryScansParams) WithFilter(filter string) *QueryScansParams

WithFilter adds the filter to the query scans params

func (*QueryScansParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query scans params

func (*QueryScansParams) WithLimit

func (o *QueryScansParams) WithLimit(limit *int64) *QueryScansParams

WithLimit adds the limit to the query scans params

func (*QueryScansParams) WithOffset

func (o *QueryScansParams) WithOffset(offset *int64) *QueryScansParams

WithOffset adds the offset to the query scans params

func (*QueryScansParams) WithSort

func (o *QueryScansParams) WithSort(sort string) *QueryScansParams

WithSort adds the sort to the query scans params

func (*QueryScansParams) WithTimeout

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

WithTimeout adds the timeout to the query scans params

func (*QueryScansParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryScansReader

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

QueryScansReader is a Reader for the QueryScans structure.

func (*QueryScansReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryScansTooManyRequests

type QueryScansTooManyRequests 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
}

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

Too Many Requests

func NewQueryScansTooManyRequests

func NewQueryScansTooManyRequests() *QueryScansTooManyRequests

NewQueryScansTooManyRequests creates a QueryScansTooManyRequests with default headers values

func (*QueryScansTooManyRequests) Code added in v0.2.33

func (o *QueryScansTooManyRequests) Code() int

Code gets the status code for the query scans too many requests response

func (*QueryScansTooManyRequests) Error

func (o *QueryScansTooManyRequests) Error() string

func (*QueryScansTooManyRequests) GetPayload

func (*QueryScansTooManyRequests) IsClientError

func (o *QueryScansTooManyRequests) IsClientError() bool

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

func (*QueryScansTooManyRequests) IsCode

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

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

func (*QueryScansTooManyRequests) IsRedirect

func (o *QueryScansTooManyRequests) IsRedirect() bool

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

func (*QueryScansTooManyRequests) IsServerError

func (o *QueryScansTooManyRequests) IsServerError() bool

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

func (*QueryScansTooManyRequests) IsSuccess

func (o *QueryScansTooManyRequests) IsSuccess() bool

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

func (*QueryScansTooManyRequests) String

func (o *QueryScansTooManyRequests) String() string

type QueryScheduledScansForbidden

type QueryScheduledScansForbidden 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
}

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

Forbidden

func NewQueryScheduledScansForbidden

func NewQueryScheduledScansForbidden() *QueryScheduledScansForbidden

NewQueryScheduledScansForbidden creates a QueryScheduledScansForbidden with default headers values

func (*QueryScheduledScansForbidden) Code added in v0.2.33

Code gets the status code for the query scheduled scans forbidden response

func (*QueryScheduledScansForbidden) Error

func (*QueryScheduledScansForbidden) GetPayload

func (*QueryScheduledScansForbidden) IsClientError

func (o *QueryScheduledScansForbidden) IsClientError() bool

IsClientError returns true when this query scheduled scans forbidden response has a 4xx status code

func (*QueryScheduledScansForbidden) IsCode

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

IsCode returns true when this query scheduled scans forbidden response a status code equal to that given

func (*QueryScheduledScansForbidden) IsRedirect

func (o *QueryScheduledScansForbidden) IsRedirect() bool

IsRedirect returns true when this query scheduled scans forbidden response has a 3xx status code

func (*QueryScheduledScansForbidden) IsServerError

func (o *QueryScheduledScansForbidden) IsServerError() bool

IsServerError returns true when this query scheduled scans forbidden response has a 5xx status code

func (*QueryScheduledScansForbidden) IsSuccess

func (o *QueryScheduledScansForbidden) IsSuccess() bool

IsSuccess returns true when this query scheduled scans forbidden response has a 2xx status code

func (*QueryScheduledScansForbidden) String

type QueryScheduledScansNotFound

type QueryScheduledScansNotFound 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.MsaspecResponseFields
}

QueryScheduledScansNotFound describes a response with status code 404, with default header values.

Not Found

func NewQueryScheduledScansNotFound

func NewQueryScheduledScansNotFound() *QueryScheduledScansNotFound

NewQueryScheduledScansNotFound creates a QueryScheduledScansNotFound with default headers values

func (*QueryScheduledScansNotFound) Code added in v0.2.33

func (o *QueryScheduledScansNotFound) Code() int

Code gets the status code for the query scheduled scans not found response

func (*QueryScheduledScansNotFound) Error

func (*QueryScheduledScansNotFound) GetPayload

func (*QueryScheduledScansNotFound) IsClientError

func (o *QueryScheduledScansNotFound) IsClientError() bool

IsClientError returns true when this query scheduled scans not found response has a 4xx status code

func (*QueryScheduledScansNotFound) IsCode

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

IsCode returns true when this query scheduled scans not found response a status code equal to that given

func (*QueryScheduledScansNotFound) IsRedirect

func (o *QueryScheduledScansNotFound) IsRedirect() bool

IsRedirect returns true when this query scheduled scans not found response has a 3xx status code

func (*QueryScheduledScansNotFound) IsServerError

func (o *QueryScheduledScansNotFound) IsServerError() bool

IsServerError returns true when this query scheduled scans not found response has a 5xx status code

func (*QueryScheduledScansNotFound) IsSuccess

func (o *QueryScheduledScansNotFound) IsSuccess() bool

IsSuccess returns true when this query scheduled scans not found response has a 2xx status code

func (*QueryScheduledScansNotFound) String

func (o *QueryScheduledScansNotFound) String() string

type QueryScheduledScansOK

type QueryScheduledScansOK 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.MsaspecQueryResponse
}

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

OK

func NewQueryScheduledScansOK

func NewQueryScheduledScansOK() *QueryScheduledScansOK

NewQueryScheduledScansOK creates a QueryScheduledScansOK with default headers values

func (*QueryScheduledScansOK) Code added in v0.2.33

func (o *QueryScheduledScansOK) Code() int

Code gets the status code for the query scheduled scans o k response

func (*QueryScheduledScansOK) Error

func (o *QueryScheduledScansOK) Error() string

func (*QueryScheduledScansOK) GetPayload

func (*QueryScheduledScansOK) IsClientError

func (o *QueryScheduledScansOK) IsClientError() bool

IsClientError returns true when this query scheduled scans o k response has a 4xx status code

func (*QueryScheduledScansOK) IsCode

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

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

func (*QueryScheduledScansOK) IsRedirect

func (o *QueryScheduledScansOK) IsRedirect() bool

IsRedirect returns true when this query scheduled scans o k response has a 3xx status code

func (*QueryScheduledScansOK) IsServerError

func (o *QueryScheduledScansOK) IsServerError() bool

IsServerError returns true when this query scheduled scans o k response has a 5xx status code

func (*QueryScheduledScansOK) IsSuccess

func (o *QueryScheduledScansOK) IsSuccess() bool

IsSuccess returns true when this query scheduled scans o k response has a 2xx status code

func (*QueryScheduledScansOK) String

func (o *QueryScheduledScansOK) String() string

type QueryScheduledScansParams

type QueryScheduledScansParams struct {

	/* Filter.

	   A FQL compatible query string. Terms: [id description initiated_from status schedule.start_timestamp schedule.Interval created_on created_by last_updated deleted]
	*/
	Filter string

	/* Limit.

	   The max number of resources to return

	   Default: 500
	*/
	Limit *int64

	/* Offset.

	   Index of the starting resource
	*/
	Offset *int64

	/* Sort.

	   The property to sort on, followed by a |, followed by the sort direction, either "asc" or "desc"

	   Default: "schedule.start_timestamp|desc"
	*/
	Sort string

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

QueryScheduledScansParams contains all the parameters to send to the API endpoint

for the query scheduled scans operation.

Typically these are written to a http.Request.

func NewQueryScheduledScansParams

func NewQueryScheduledScansParams() *QueryScheduledScansParams

NewQueryScheduledScansParams creates a new QueryScheduledScansParams 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 NewQueryScheduledScansParamsWithContext

func NewQueryScheduledScansParamsWithContext(ctx context.Context) *QueryScheduledScansParams

NewQueryScheduledScansParamsWithContext creates a new QueryScheduledScansParams object with the ability to set a context for a request.

func NewQueryScheduledScansParamsWithHTTPClient

func NewQueryScheduledScansParamsWithHTTPClient(client *http.Client) *QueryScheduledScansParams

NewQueryScheduledScansParamsWithHTTPClient creates a new QueryScheduledScansParams object with the ability to set a custom HTTPClient for a request.

func NewQueryScheduledScansParamsWithTimeout

func NewQueryScheduledScansParamsWithTimeout(timeout time.Duration) *QueryScheduledScansParams

NewQueryScheduledScansParamsWithTimeout creates a new QueryScheduledScansParams object with the ability to set a timeout on a request.

func (*QueryScheduledScansParams) SetContext

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

SetContext adds the context to the query scheduled scans params

func (*QueryScheduledScansParams) SetDefaults

func (o *QueryScheduledScansParams) SetDefaults()

SetDefaults hydrates default values in the query scheduled scans params (not the query body).

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

func (*QueryScheduledScansParams) SetFilter

func (o *QueryScheduledScansParams) SetFilter(filter string)

SetFilter adds the filter to the query scheduled scans params

func (*QueryScheduledScansParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query scheduled scans params

func (*QueryScheduledScansParams) SetLimit

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

SetLimit adds the limit to the query scheduled scans params

func (*QueryScheduledScansParams) SetOffset

func (o *QueryScheduledScansParams) SetOffset(offset *int64)

SetOffset adds the offset to the query scheduled scans params

func (*QueryScheduledScansParams) SetSort

func (o *QueryScheduledScansParams) SetSort(sort string)

SetSort adds the sort to the query scheduled scans params

func (*QueryScheduledScansParams) SetTimeout

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

SetTimeout adds the timeout to the query scheduled scans params

func (*QueryScheduledScansParams) WithContext

WithContext adds the context to the query scheduled scans params

func (*QueryScheduledScansParams) WithDefaults

WithDefaults hydrates default values in the query scheduled scans params (not the query body).

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

func (*QueryScheduledScansParams) WithFilter

WithFilter adds the filter to the query scheduled scans params

func (*QueryScheduledScansParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query scheduled scans params

func (*QueryScheduledScansParams) WithLimit

WithLimit adds the limit to the query scheduled scans params

func (*QueryScheduledScansParams) WithOffset

WithOffset adds the offset to the query scheduled scans params

func (*QueryScheduledScansParams) WithSort

WithSort adds the sort to the query scheduled scans params

func (*QueryScheduledScansParams) WithTimeout

WithTimeout adds the timeout to the query scheduled scans params

func (*QueryScheduledScansParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryScheduledScansReader

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

QueryScheduledScansReader is a Reader for the QueryScheduledScans structure.

func (*QueryScheduledScansReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryScheduledScansTooManyRequests

type QueryScheduledScansTooManyRequests 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
}

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

Too Many Requests

func NewQueryScheduledScansTooManyRequests

func NewQueryScheduledScansTooManyRequests() *QueryScheduledScansTooManyRequests

NewQueryScheduledScansTooManyRequests creates a QueryScheduledScansTooManyRequests with default headers values

func (*QueryScheduledScansTooManyRequests) Code added in v0.2.33

Code gets the status code for the query scheduled scans too many requests response

func (*QueryScheduledScansTooManyRequests) Error

func (*QueryScheduledScansTooManyRequests) GetPayload

func (*QueryScheduledScansTooManyRequests) IsClientError

func (o *QueryScheduledScansTooManyRequests) IsClientError() bool

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

func (*QueryScheduledScansTooManyRequests) IsCode

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

func (*QueryScheduledScansTooManyRequests) IsRedirect

func (o *QueryScheduledScansTooManyRequests) IsRedirect() bool

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

func (*QueryScheduledScansTooManyRequests) IsServerError

func (o *QueryScheduledScansTooManyRequests) IsServerError() bool

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

func (*QueryScheduledScansTooManyRequests) IsSuccess

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

func (*QueryScheduledScansTooManyRequests) String

type ScheduleScanCreated

type ScheduleScanCreated 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.EntitiesODSScheduleScanResponse
}

ScheduleScanCreated describes a response with status code 201, with default header values.

OK

func NewScheduleScanCreated

func NewScheduleScanCreated() *ScheduleScanCreated

NewScheduleScanCreated creates a ScheduleScanCreated with default headers values

func (*ScheduleScanCreated) Code added in v0.2.33

func (o *ScheduleScanCreated) Code() int

Code gets the status code for the schedule scan created response

func (*ScheduleScanCreated) Error

func (o *ScheduleScanCreated) Error() string

func (*ScheduleScanCreated) GetPayload

func (*ScheduleScanCreated) IsClientError

func (o *ScheduleScanCreated) IsClientError() bool

IsClientError returns true when this schedule scan created response has a 4xx status code

func (*ScheduleScanCreated) IsCode

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

IsCode returns true when this schedule scan created response a status code equal to that given

func (*ScheduleScanCreated) IsRedirect

func (o *ScheduleScanCreated) IsRedirect() bool

IsRedirect returns true when this schedule scan created response has a 3xx status code

func (*ScheduleScanCreated) IsServerError

func (o *ScheduleScanCreated) IsServerError() bool

IsServerError returns true when this schedule scan created response has a 5xx status code

func (*ScheduleScanCreated) IsSuccess

func (o *ScheduleScanCreated) IsSuccess() bool

IsSuccess returns true when this schedule scan created response has a 2xx status code

func (*ScheduleScanCreated) String

func (o *ScheduleScanCreated) String() string

type ScheduleScanForbidden

type ScheduleScanForbidden 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
}

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

Forbidden

func NewScheduleScanForbidden

func NewScheduleScanForbidden() *ScheduleScanForbidden

NewScheduleScanForbidden creates a ScheduleScanForbidden with default headers values

func (*ScheduleScanForbidden) Code added in v0.2.33

func (o *ScheduleScanForbidden) Code() int

Code gets the status code for the schedule scan forbidden response

func (*ScheduleScanForbidden) Error

func (o *ScheduleScanForbidden) Error() string

func (*ScheduleScanForbidden) GetPayload

func (*ScheduleScanForbidden) IsClientError

func (o *ScheduleScanForbidden) IsClientError() bool

IsClientError returns true when this schedule scan forbidden response has a 4xx status code

func (*ScheduleScanForbidden) IsCode

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

IsCode returns true when this schedule scan forbidden response a status code equal to that given

func (*ScheduleScanForbidden) IsRedirect

func (o *ScheduleScanForbidden) IsRedirect() bool

IsRedirect returns true when this schedule scan forbidden response has a 3xx status code

func (*ScheduleScanForbidden) IsServerError

func (o *ScheduleScanForbidden) IsServerError() bool

IsServerError returns true when this schedule scan forbidden response has a 5xx status code

func (*ScheduleScanForbidden) IsSuccess

func (o *ScheduleScanForbidden) IsSuccess() bool

IsSuccess returns true when this schedule scan forbidden response has a 2xx status code

func (*ScheduleScanForbidden) String

func (o *ScheduleScanForbidden) String() string

type ScheduleScanParams

type ScheduleScanParams struct {

	// Body.
	Body *models.EntitiesODSScheduleScanRequest

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

ScheduleScanParams contains all the parameters to send to the API endpoint

for the schedule scan operation.

Typically these are written to a http.Request.

func NewScheduleScanParams

func NewScheduleScanParams() *ScheduleScanParams

NewScheduleScanParams creates a new ScheduleScanParams 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 NewScheduleScanParamsWithContext

func NewScheduleScanParamsWithContext(ctx context.Context) *ScheduleScanParams

NewScheduleScanParamsWithContext creates a new ScheduleScanParams object with the ability to set a context for a request.

func NewScheduleScanParamsWithHTTPClient

func NewScheduleScanParamsWithHTTPClient(client *http.Client) *ScheduleScanParams

NewScheduleScanParamsWithHTTPClient creates a new ScheduleScanParams object with the ability to set a custom HTTPClient for a request.

func NewScheduleScanParamsWithTimeout

func NewScheduleScanParamsWithTimeout(timeout time.Duration) *ScheduleScanParams

NewScheduleScanParamsWithTimeout creates a new ScheduleScanParams object with the ability to set a timeout on a request.

func (*ScheduleScanParams) SetBody

SetBody adds the body to the schedule scan params

func (*ScheduleScanParams) SetContext

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

SetContext adds the context to the schedule scan params

func (*ScheduleScanParams) SetDefaults

func (o *ScheduleScanParams) SetDefaults()

SetDefaults hydrates default values in the schedule scan params (not the query body).

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

func (*ScheduleScanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the schedule scan params

func (*ScheduleScanParams) SetTimeout

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

SetTimeout adds the timeout to the schedule scan params

func (*ScheduleScanParams) WithBody

WithBody adds the body to the schedule scan params

func (*ScheduleScanParams) WithContext

WithContext adds the context to the schedule scan params

func (*ScheduleScanParams) WithDefaults

func (o *ScheduleScanParams) WithDefaults() *ScheduleScanParams

WithDefaults hydrates default values in the schedule scan params (not the query body).

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

func (*ScheduleScanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the schedule scan params

func (*ScheduleScanParams) WithTimeout

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

WithTimeout adds the timeout to the schedule scan params

func (*ScheduleScanParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ScheduleScanReader

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

ScheduleScanReader is a Reader for the ScheduleScan structure.

func (*ScheduleScanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ScheduleScanTooManyRequests

type ScheduleScanTooManyRequests 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
}

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

Too Many Requests

func NewScheduleScanTooManyRequests

func NewScheduleScanTooManyRequests() *ScheduleScanTooManyRequests

NewScheduleScanTooManyRequests creates a ScheduleScanTooManyRequests with default headers values

func (*ScheduleScanTooManyRequests) Code added in v0.2.33

func (o *ScheduleScanTooManyRequests) Code() int

Code gets the status code for the schedule scan too many requests response

func (*ScheduleScanTooManyRequests) Error

func (*ScheduleScanTooManyRequests) GetPayload

func (*ScheduleScanTooManyRequests) IsClientError

func (o *ScheduleScanTooManyRequests) IsClientError() bool

IsClientError returns true when this schedule scan too many requests response has a 4xx status code

func (*ScheduleScanTooManyRequests) IsCode

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

IsCode returns true when this schedule scan too many requests response a status code equal to that given

func (*ScheduleScanTooManyRequests) IsRedirect

func (o *ScheduleScanTooManyRequests) IsRedirect() bool

IsRedirect returns true when this schedule scan too many requests response has a 3xx status code

func (*ScheduleScanTooManyRequests) IsServerError

func (o *ScheduleScanTooManyRequests) IsServerError() bool

IsServerError returns true when this schedule scan too many requests response has a 5xx status code

func (*ScheduleScanTooManyRequests) IsSuccess

func (o *ScheduleScanTooManyRequests) IsSuccess() bool

IsSuccess returns true when this schedule scan too many requests response has a 2xx status code

func (*ScheduleScanTooManyRequests) String

func (o *ScheduleScanTooManyRequests) String() string

Jump to

Keyboard shortcuts

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