Documentation ¶
Index ¶
- type Client
- func (a *Client) GetScans(params *GetScansParams, opts ...ClientOption) (*GetScansOK, error)
- func (a *Client) GetScansAggregates(params *GetScansAggregatesParams, opts ...ClientOption) (*GetScansAggregatesOK, error)
- func (a *Client) QuerySubmissionsMixin0(params *QuerySubmissionsMixin0Params, opts ...ClientOption) (*QuerySubmissionsMixin0OK, error)
- func (a *Client) ScanSamples(params *ScanSamplesParams, opts ...ClientOption) (*ScanSamplesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetScansAggregatesForbidden
- type GetScansAggregatesOK
- type GetScansAggregatesParams
- func NewGetScansAggregatesParams() *GetScansAggregatesParams
- func NewGetScansAggregatesParamsWithContext(ctx context.Context) *GetScansAggregatesParams
- func NewGetScansAggregatesParamsWithHTTPClient(client *http.Client) *GetScansAggregatesParams
- func NewGetScansAggregatesParamsWithTimeout(timeout time.Duration) *GetScansAggregatesParams
- func (o *GetScansAggregatesParams) SetBody(body *models.MsaAggregateQueryRequest)
- func (o *GetScansAggregatesParams) SetContext(ctx context.Context)
- func (o *GetScansAggregatesParams) SetDefaults()
- func (o *GetScansAggregatesParams) SetHTTPClient(client *http.Client)
- func (o *GetScansAggregatesParams) SetTimeout(timeout time.Duration)
- func (o *GetScansAggregatesParams) WithBody(body *models.MsaAggregateQueryRequest) *GetScansAggregatesParams
- func (o *GetScansAggregatesParams) WithContext(ctx context.Context) *GetScansAggregatesParams
- func (o *GetScansAggregatesParams) WithDefaults() *GetScansAggregatesParams
- func (o *GetScansAggregatesParams) WithHTTPClient(client *http.Client) *GetScansAggregatesParams
- func (o *GetScansAggregatesParams) WithTimeout(timeout time.Duration) *GetScansAggregatesParams
- func (o *GetScansAggregatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScansAggregatesReader
- type GetScansAggregatesTooManyRequests
- type GetScansBadRequest
- type GetScansDefault
- type GetScansForbidden
- type GetScansInternalServerError
- type GetScansNotFound
- type GetScansOK
- type GetScansParams
- func (o *GetScansParams) SetContext(ctx context.Context)
- func (o *GetScansParams) SetDefaults()
- func (o *GetScansParams) SetHTTPClient(client *http.Client)
- func (o *GetScansParams) SetIds(ids []string)
- func (o *GetScansParams) SetTimeout(timeout time.Duration)
- func (o *GetScansParams) WithContext(ctx context.Context) *GetScansParams
- func (o *GetScansParams) WithDefaults() *GetScansParams
- func (o *GetScansParams) WithHTTPClient(client *http.Client) *GetScansParams
- func (o *GetScansParams) WithIds(ids []string) *GetScansParams
- func (o *GetScansParams) WithTimeout(timeout time.Duration) *GetScansParams
- func (o *GetScansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScansReader
- type GetScansTooManyRequests
- type QuerySubmissionsMixin0BadRequest
- type QuerySubmissionsMixin0Default
- type QuerySubmissionsMixin0Forbidden
- type QuerySubmissionsMixin0InternalServerError
- type QuerySubmissionsMixin0OK
- type QuerySubmissionsMixin0Params
- func NewQuerySubmissionsMixin0Params() *QuerySubmissionsMixin0Params
- func NewQuerySubmissionsMixin0ParamsWithContext(ctx context.Context) *QuerySubmissionsMixin0Params
- func NewQuerySubmissionsMixin0ParamsWithHTTPClient(client *http.Client) *QuerySubmissionsMixin0Params
- func NewQuerySubmissionsMixin0ParamsWithTimeout(timeout time.Duration) *QuerySubmissionsMixin0Params
- func (o *QuerySubmissionsMixin0Params) SetContext(ctx context.Context)
- func (o *QuerySubmissionsMixin0Params) SetDefaults()
- func (o *QuerySubmissionsMixin0Params) SetFilter(filter *string)
- func (o *QuerySubmissionsMixin0Params) SetHTTPClient(client *http.Client)
- func (o *QuerySubmissionsMixin0Params) SetLimit(limit *int64)
- func (o *QuerySubmissionsMixin0Params) SetOffset(offset *string)
- func (o *QuerySubmissionsMixin0Params) SetSort(sort *string)
- func (o *QuerySubmissionsMixin0Params) SetTimeout(timeout time.Duration)
- func (o *QuerySubmissionsMixin0Params) WithContext(ctx context.Context) *QuerySubmissionsMixin0Params
- func (o *QuerySubmissionsMixin0Params) WithDefaults() *QuerySubmissionsMixin0Params
- func (o *QuerySubmissionsMixin0Params) WithFilter(filter *string) *QuerySubmissionsMixin0Params
- func (o *QuerySubmissionsMixin0Params) WithHTTPClient(client *http.Client) *QuerySubmissionsMixin0Params
- func (o *QuerySubmissionsMixin0Params) WithLimit(limit *int64) *QuerySubmissionsMixin0Params
- func (o *QuerySubmissionsMixin0Params) WithOffset(offset *string) *QuerySubmissionsMixin0Params
- func (o *QuerySubmissionsMixin0Params) WithSort(sort *string) *QuerySubmissionsMixin0Params
- func (o *QuerySubmissionsMixin0Params) WithTimeout(timeout time.Duration) *QuerySubmissionsMixin0Params
- func (o *QuerySubmissionsMixin0Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QuerySubmissionsMixin0Reader
- type QuerySubmissionsMixin0TooManyRequests
- type ScanSamplesBadRequest
- type ScanSamplesDefault
- type ScanSamplesForbidden
- type ScanSamplesInternalServerError
- type ScanSamplesOK
- type ScanSamplesParams
- func (o *ScanSamplesParams) SetBody(body *models.MlscannerSamplesScanParameters)
- func (o *ScanSamplesParams) SetContext(ctx context.Context)
- func (o *ScanSamplesParams) SetDefaults()
- func (o *ScanSamplesParams) SetHTTPClient(client *http.Client)
- func (o *ScanSamplesParams) SetTimeout(timeout time.Duration)
- func (o *ScanSamplesParams) WithBody(body *models.MlscannerSamplesScanParameters) *ScanSamplesParams
- func (o *ScanSamplesParams) WithContext(ctx context.Context) *ScanSamplesParams
- func (o *ScanSamplesParams) WithDefaults() *ScanSamplesParams
- func (o *ScanSamplesParams) WithHTTPClient(client *http.Client) *ScanSamplesParams
- func (o *ScanSamplesParams) WithTimeout(timeout time.Duration) *ScanSamplesParams
- func (o *ScanSamplesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ScanSamplesReader
- type ScanSamplesTooManyRequests
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for quick scan API
func (*Client) GetScans ¶
func (a *Client) GetScans(params *GetScansParams, opts ...ClientOption) (*GetScansOK, error)
GetScans checks the status of a volume scan time required for analysis increases with the number of samples in a volume but usually it should take less than 1 minute
func (*Client) GetScansAggregates ¶
func (a *Client) GetScansAggregates(params *GetScansAggregatesParams, opts ...ClientOption) (*GetScansAggregatesOK, error)
GetScansAggregates gets scans aggregations as specified via json in request body
func (*Client) QuerySubmissionsMixin0 ¶
func (a *Client) QuerySubmissionsMixin0(params *QuerySubmissionsMixin0Params, opts ...ClientOption) (*QuerySubmissionsMixin0OK, error)
QuerySubmissionsMixin0 finds i ds for submitted scans by providing an f q l filter and paging details returns a set of volume i ds that match your criteria
func (*Client) ScanSamples ¶
func (a *Client) ScanSamples(params *ScanSamplesParams, opts ...ClientOption) (*ScanSamplesOK, error)
ScanSamples submits a volume of files for ml scanning time required for analysis increases with the number of samples in a volume but usually it should take less than 1 minute
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 { GetScans(params *GetScansParams, opts ...ClientOption) (*GetScansOK, error) GetScansAggregates(params *GetScansAggregatesParams, opts ...ClientOption) (*GetScansAggregatesOK, error) QuerySubmissionsMixin0(params *QuerySubmissionsMixin0Params, opts ...ClientOption) (*QuerySubmissionsMixin0OK, error) ScanSamples(params *ScanSamplesParams, opts ...ClientOption) (*ScanSamplesOK, 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 quick scan API client.
type GetScansAggregatesForbidden ¶
type GetScansAggregatesForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetScansAggregatesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetScansAggregatesForbidden ¶
func NewGetScansAggregatesForbidden() *GetScansAggregatesForbidden
NewGetScansAggregatesForbidden creates a GetScansAggregatesForbidden with default headers values
func (*GetScansAggregatesForbidden) Error ¶
func (o *GetScansAggregatesForbidden) Error() string
func (*GetScansAggregatesForbidden) GetPayload ¶
func (o *GetScansAggregatesForbidden) GetPayload() *models.MsaReplyMetaOnly
type GetScansAggregatesOK ¶
type GetScansAggregatesOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 }
GetScansAggregatesOK describes a response with status code 200, with default header values.
OK
func NewGetScansAggregatesOK ¶
func NewGetScansAggregatesOK() *GetScansAggregatesOK
NewGetScansAggregatesOK creates a GetScansAggregatesOK with default headers values
func (*GetScansAggregatesOK) Error ¶
func (o *GetScansAggregatesOK) Error() string
type GetScansAggregatesParams ¶
type GetScansAggregatesParams struct { // Body. Body *models.MsaAggregateQueryRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetScansAggregatesParams contains all the parameters to send to the API endpoint
for the get scans aggregates operation. Typically these are written to a http.Request.
func NewGetScansAggregatesParams ¶
func NewGetScansAggregatesParams() *GetScansAggregatesParams
NewGetScansAggregatesParams creates a new GetScansAggregatesParams 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 NewGetScansAggregatesParamsWithContext ¶
func NewGetScansAggregatesParamsWithContext(ctx context.Context) *GetScansAggregatesParams
NewGetScansAggregatesParamsWithContext creates a new GetScansAggregatesParams object with the ability to set a context for a request.
func NewGetScansAggregatesParamsWithHTTPClient ¶
func NewGetScansAggregatesParamsWithHTTPClient(client *http.Client) *GetScansAggregatesParams
NewGetScansAggregatesParamsWithHTTPClient creates a new GetScansAggregatesParams object with the ability to set a custom HTTPClient for a request.
func NewGetScansAggregatesParamsWithTimeout ¶
func NewGetScansAggregatesParamsWithTimeout(timeout time.Duration) *GetScansAggregatesParams
NewGetScansAggregatesParamsWithTimeout creates a new GetScansAggregatesParams object with the ability to set a timeout on a request.
func (*GetScansAggregatesParams) SetBody ¶
func (o *GetScansAggregatesParams) SetBody(body *models.MsaAggregateQueryRequest)
SetBody adds the body to the get scans aggregates params
func (*GetScansAggregatesParams) SetContext ¶
func (o *GetScansAggregatesParams) SetContext(ctx context.Context)
SetContext adds the context to the get scans aggregates params
func (*GetScansAggregatesParams) SetDefaults ¶
func (o *GetScansAggregatesParams) SetDefaults()
SetDefaults hydrates default values in the get scans aggregates params (not the query body).
All values with no default are reset to their zero value.
func (*GetScansAggregatesParams) SetHTTPClient ¶
func (o *GetScansAggregatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get scans aggregates params
func (*GetScansAggregatesParams) SetTimeout ¶
func (o *GetScansAggregatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get scans aggregates params
func (*GetScansAggregatesParams) WithBody ¶
func (o *GetScansAggregatesParams) WithBody(body *models.MsaAggregateQueryRequest) *GetScansAggregatesParams
WithBody adds the body to the get scans aggregates params
func (*GetScansAggregatesParams) WithContext ¶
func (o *GetScansAggregatesParams) WithContext(ctx context.Context) *GetScansAggregatesParams
WithContext adds the context to the get scans aggregates params
func (*GetScansAggregatesParams) WithDefaults ¶
func (o *GetScansAggregatesParams) WithDefaults() *GetScansAggregatesParams
WithDefaults hydrates default values in the get scans aggregates params (not the query body).
All values with no default are reset to their zero value.
func (*GetScansAggregatesParams) WithHTTPClient ¶
func (o *GetScansAggregatesParams) WithHTTPClient(client *http.Client) *GetScansAggregatesParams
WithHTTPClient adds the HTTPClient to the get scans aggregates params
func (*GetScansAggregatesParams) WithTimeout ¶
func (o *GetScansAggregatesParams) WithTimeout(timeout time.Duration) *GetScansAggregatesParams
WithTimeout adds the timeout to the get scans aggregates params
func (*GetScansAggregatesParams) WriteToRequest ¶
func (o *GetScansAggregatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetScansAggregatesReader ¶
type GetScansAggregatesReader struct {
// contains filtered or unexported fields
}
GetScansAggregatesReader is a Reader for the GetScansAggregates structure.
func (*GetScansAggregatesReader) ReadResponse ¶
func (o *GetScansAggregatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetScansAggregatesTooManyRequests ¶
type GetScansAggregatesTooManyRequests struct { /* 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 }
GetScansAggregatesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetScansAggregatesTooManyRequests ¶
func NewGetScansAggregatesTooManyRequests() *GetScansAggregatesTooManyRequests
NewGetScansAggregatesTooManyRequests creates a GetScansAggregatesTooManyRequests with default headers values
func (*GetScansAggregatesTooManyRequests) Error ¶
func (o *GetScansAggregatesTooManyRequests) Error() string
func (*GetScansAggregatesTooManyRequests) GetPayload ¶
func (o *GetScansAggregatesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type GetScansBadRequest ¶
type GetScansBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MlscannerScanV1Response }
GetScansBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetScansBadRequest ¶
func NewGetScansBadRequest() *GetScansBadRequest
NewGetScansBadRequest creates a GetScansBadRequest with default headers values
func (*GetScansBadRequest) Error ¶
func (o *GetScansBadRequest) Error() string
func (*GetScansBadRequest) GetPayload ¶
func (o *GetScansBadRequest) GetPayload() *models.MlscannerScanV1Response
type GetScansDefault ¶
type GetScansDefault struct { Payload *models.MlscannerScanV1Response // contains filtered or unexported fields }
GetScansDefault describes a response with status code -1, with default header values.
OK
func NewGetScansDefault ¶
func NewGetScansDefault(code int) *GetScansDefault
NewGetScansDefault creates a GetScansDefault with default headers values
func (*GetScansDefault) Code ¶
func (o *GetScansDefault) Code() int
Code gets the status code for the get scans default response
func (*GetScansDefault) Error ¶
func (o *GetScansDefault) Error() string
func (*GetScansDefault) GetPayload ¶
func (o *GetScansDefault) GetPayload() *models.MlscannerScanV1Response
type GetScansForbidden ¶
type GetScansForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
GetScansForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetScansForbidden ¶
func NewGetScansForbidden() *GetScansForbidden
NewGetScansForbidden creates a GetScansForbidden with default headers values
func (*GetScansForbidden) Error ¶
func (o *GetScansForbidden) Error() string
func (*GetScansForbidden) GetPayload ¶
func (o *GetScansForbidden) GetPayload() *models.MsaReplyMetaOnly
type GetScansInternalServerError ¶
type GetScansInternalServerError struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MlscannerScanV1Response }
GetScansInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetScansInternalServerError ¶
func NewGetScansInternalServerError() *GetScansInternalServerError
NewGetScansInternalServerError creates a GetScansInternalServerError with default headers values
func (*GetScansInternalServerError) Error ¶
func (o *GetScansInternalServerError) Error() string
func (*GetScansInternalServerError) GetPayload ¶
func (o *GetScansInternalServerError) GetPayload() *models.MlscannerScanV1Response
type GetScansNotFound ¶
type GetScansNotFound struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MlscannerScanV1Response }
GetScansNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetScansNotFound ¶
func NewGetScansNotFound() *GetScansNotFound
NewGetScansNotFound creates a GetScansNotFound with default headers values
func (*GetScansNotFound) Error ¶
func (o *GetScansNotFound) Error() string
func (*GetScansNotFound) GetPayload ¶
func (o *GetScansNotFound) GetPayload() *models.MlscannerScanV1Response
type GetScansOK ¶
type GetScansOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MlscannerScanV1Response }
GetScansOK describes a response with status code 200, with default header values.
OK
func NewGetScansOK ¶
func NewGetScansOK() *GetScansOK
NewGetScansOK creates a GetScansOK with default headers values
func (*GetScansOK) Error ¶
func (o *GetScansOK) Error() string
func (*GetScansOK) GetPayload ¶
func (o *GetScansOK) GetPayload() *models.MlscannerScanV1Response
type GetScansParams ¶
type GetScansParams struct { /* Ids. ID of a submitted scan */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetScansParams contains all the parameters to send to the API endpoint
for the get scans operation. Typically these are written to a http.Request.
func NewGetScansParams ¶
func NewGetScansParams() *GetScansParams
NewGetScansParams creates a new GetScansParams 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 NewGetScansParamsWithContext ¶
func NewGetScansParamsWithContext(ctx context.Context) *GetScansParams
NewGetScansParamsWithContext creates a new GetScansParams object with the ability to set a context for a request.
func NewGetScansParamsWithHTTPClient ¶
func NewGetScansParamsWithHTTPClient(client *http.Client) *GetScansParams
NewGetScansParamsWithHTTPClient creates a new GetScansParams object with the ability to set a custom HTTPClient for a request.
func NewGetScansParamsWithTimeout ¶
func NewGetScansParamsWithTimeout(timeout time.Duration) *GetScansParams
NewGetScansParamsWithTimeout creates a new GetScansParams object with the ability to set a timeout on a request.
func (*GetScansParams) SetContext ¶
func (o *GetScansParams) SetContext(ctx context.Context)
SetContext adds the context to the get scans params
func (*GetScansParams) SetDefaults ¶
func (o *GetScansParams) SetDefaults()
SetDefaults hydrates default values in the get scans params (not the query body).
All values with no default are reset to their zero value.
func (*GetScansParams) SetHTTPClient ¶
func (o *GetScansParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get scans params
func (*GetScansParams) SetIds ¶
func (o *GetScansParams) SetIds(ids []string)
SetIds adds the ids to the get scans params
func (*GetScansParams) SetTimeout ¶
func (o *GetScansParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get scans params
func (*GetScansParams) WithContext ¶
func (o *GetScansParams) WithContext(ctx context.Context) *GetScansParams
WithContext adds the context to the get scans params
func (*GetScansParams) WithDefaults ¶
func (o *GetScansParams) WithDefaults() *GetScansParams
WithDefaults hydrates default values in the get scans params (not the query body).
All values with no default are reset to their zero value.
func (*GetScansParams) WithHTTPClient ¶
func (o *GetScansParams) WithHTTPClient(client *http.Client) *GetScansParams
WithHTTPClient adds the HTTPClient to the get scans params
func (*GetScansParams) WithIds ¶
func (o *GetScansParams) WithIds(ids []string) *GetScansParams
WithIds adds the ids to the get scans params
func (*GetScansParams) WithTimeout ¶
func (o *GetScansParams) WithTimeout(timeout time.Duration) *GetScansParams
WithTimeout adds the timeout to the get scans params
func (*GetScansParams) WriteToRequest ¶
func (o *GetScansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetScansReader ¶
type GetScansReader struct {
// contains filtered or unexported fields
}
GetScansReader is a Reader for the GetScans structure.
func (*GetScansReader) ReadResponse ¶
func (o *GetScansReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetScansTooManyRequests ¶
type GetScansTooManyRequests struct { /* 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 }
GetScansTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetScansTooManyRequests ¶
func NewGetScansTooManyRequests() *GetScansTooManyRequests
NewGetScansTooManyRequests creates a GetScansTooManyRequests with default headers values
func (*GetScansTooManyRequests) Error ¶
func (o *GetScansTooManyRequests) Error() string
func (*GetScansTooManyRequests) GetPayload ¶
func (o *GetScansTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type QuerySubmissionsMixin0BadRequest ¶
type QuerySubmissionsMixin0BadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MlscannerQueryResponse }
QuerySubmissionsMixin0BadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQuerySubmissionsMixin0BadRequest ¶
func NewQuerySubmissionsMixin0BadRequest() *QuerySubmissionsMixin0BadRequest
NewQuerySubmissionsMixin0BadRequest creates a QuerySubmissionsMixin0BadRequest with default headers values
func (*QuerySubmissionsMixin0BadRequest) Error ¶
func (o *QuerySubmissionsMixin0BadRequest) Error() string
func (*QuerySubmissionsMixin0BadRequest) GetPayload ¶
func (o *QuerySubmissionsMixin0BadRequest) GetPayload() *models.MlscannerQueryResponse
type QuerySubmissionsMixin0Default ¶
type QuerySubmissionsMixin0Default struct { Payload *models.MlscannerQueryResponse // contains filtered or unexported fields }
QuerySubmissionsMixin0Default describes a response with status code -1, with default header values.
OK
func NewQuerySubmissionsMixin0Default ¶
func NewQuerySubmissionsMixin0Default(code int) *QuerySubmissionsMixin0Default
NewQuerySubmissionsMixin0Default creates a QuerySubmissionsMixin0Default with default headers values
func (*QuerySubmissionsMixin0Default) Code ¶
func (o *QuerySubmissionsMixin0Default) Code() int
Code gets the status code for the query submissions mixin0 default response
func (*QuerySubmissionsMixin0Default) Error ¶
func (o *QuerySubmissionsMixin0Default) Error() string
func (*QuerySubmissionsMixin0Default) GetPayload ¶
func (o *QuerySubmissionsMixin0Default) GetPayload() *models.MlscannerQueryResponse
type QuerySubmissionsMixin0Forbidden ¶
type QuerySubmissionsMixin0Forbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
QuerySubmissionsMixin0Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewQuerySubmissionsMixin0Forbidden ¶
func NewQuerySubmissionsMixin0Forbidden() *QuerySubmissionsMixin0Forbidden
NewQuerySubmissionsMixin0Forbidden creates a QuerySubmissionsMixin0Forbidden with default headers values
func (*QuerySubmissionsMixin0Forbidden) Error ¶
func (o *QuerySubmissionsMixin0Forbidden) Error() string
func (*QuerySubmissionsMixin0Forbidden) GetPayload ¶
func (o *QuerySubmissionsMixin0Forbidden) GetPayload() *models.MsaReplyMetaOnly
type QuerySubmissionsMixin0InternalServerError ¶
type QuerySubmissionsMixin0InternalServerError struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MlscannerQueryResponse }
QuerySubmissionsMixin0InternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewQuerySubmissionsMixin0InternalServerError ¶
func NewQuerySubmissionsMixin0InternalServerError() *QuerySubmissionsMixin0InternalServerError
NewQuerySubmissionsMixin0InternalServerError creates a QuerySubmissionsMixin0InternalServerError with default headers values
func (*QuerySubmissionsMixin0InternalServerError) Error ¶
func (o *QuerySubmissionsMixin0InternalServerError) Error() string
func (*QuerySubmissionsMixin0InternalServerError) GetPayload ¶
func (o *QuerySubmissionsMixin0InternalServerError) GetPayload() *models.MlscannerQueryResponse
type QuerySubmissionsMixin0OK ¶
type QuerySubmissionsMixin0OK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MlscannerQueryResponse }
QuerySubmissionsMixin0OK describes a response with status code 200, with default header values.
OK
func NewQuerySubmissionsMixin0OK ¶
func NewQuerySubmissionsMixin0OK() *QuerySubmissionsMixin0OK
NewQuerySubmissionsMixin0OK creates a QuerySubmissionsMixin0OK with default headers values
func (*QuerySubmissionsMixin0OK) Error ¶
func (o *QuerySubmissionsMixin0OK) Error() string
func (*QuerySubmissionsMixin0OK) GetPayload ¶
func (o *QuerySubmissionsMixin0OK) GetPayload() *models.MlscannerQueryResponse
type QuerySubmissionsMixin0Params ¶
type QuerySubmissionsMixin0Params struct { /* Filter. Optional filter and sort criteria in the form of an FQL query. For more information about FQL queries, see [our FQL documentation in Falcon](https://falcon.crowdstrike.com/support/documentation/45/falcon-query-language-feature-guide). */ Filter *string /* Limit. Maximum number of volume IDs to return. Max: 5000. */ Limit *int64 /* Offset. The offset to start retrieving submissions from. */ Offset *string /* Sort. Sort order: `asc` or `desc`. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QuerySubmissionsMixin0Params contains all the parameters to send to the API endpoint
for the query submissions mixin0 operation. Typically these are written to a http.Request.
func NewQuerySubmissionsMixin0Params ¶
func NewQuerySubmissionsMixin0Params() *QuerySubmissionsMixin0Params
NewQuerySubmissionsMixin0Params creates a new QuerySubmissionsMixin0Params 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 NewQuerySubmissionsMixin0ParamsWithContext ¶
func NewQuerySubmissionsMixin0ParamsWithContext(ctx context.Context) *QuerySubmissionsMixin0Params
NewQuerySubmissionsMixin0ParamsWithContext creates a new QuerySubmissionsMixin0Params object with the ability to set a context for a request.
func NewQuerySubmissionsMixin0ParamsWithHTTPClient ¶
func NewQuerySubmissionsMixin0ParamsWithHTTPClient(client *http.Client) *QuerySubmissionsMixin0Params
NewQuerySubmissionsMixin0ParamsWithHTTPClient creates a new QuerySubmissionsMixin0Params object with the ability to set a custom HTTPClient for a request.
func NewQuerySubmissionsMixin0ParamsWithTimeout ¶
func NewQuerySubmissionsMixin0ParamsWithTimeout(timeout time.Duration) *QuerySubmissionsMixin0Params
NewQuerySubmissionsMixin0ParamsWithTimeout creates a new QuerySubmissionsMixin0Params object with the ability to set a timeout on a request.
func (*QuerySubmissionsMixin0Params) SetContext ¶
func (o *QuerySubmissionsMixin0Params) SetContext(ctx context.Context)
SetContext adds the context to the query submissions mixin0 params
func (*QuerySubmissionsMixin0Params) SetDefaults ¶
func (o *QuerySubmissionsMixin0Params) SetDefaults()
SetDefaults hydrates default values in the query submissions mixin0 params (not the query body).
All values with no default are reset to their zero value.
func (*QuerySubmissionsMixin0Params) SetFilter ¶
func (o *QuerySubmissionsMixin0Params) SetFilter(filter *string)
SetFilter adds the filter to the query submissions mixin0 params
func (*QuerySubmissionsMixin0Params) SetHTTPClient ¶
func (o *QuerySubmissionsMixin0Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query submissions mixin0 params
func (*QuerySubmissionsMixin0Params) SetLimit ¶
func (o *QuerySubmissionsMixin0Params) SetLimit(limit *int64)
SetLimit adds the limit to the query submissions mixin0 params
func (*QuerySubmissionsMixin0Params) SetOffset ¶
func (o *QuerySubmissionsMixin0Params) SetOffset(offset *string)
SetOffset adds the offset to the query submissions mixin0 params
func (*QuerySubmissionsMixin0Params) SetSort ¶
func (o *QuerySubmissionsMixin0Params) SetSort(sort *string)
SetSort adds the sort to the query submissions mixin0 params
func (*QuerySubmissionsMixin0Params) SetTimeout ¶
func (o *QuerySubmissionsMixin0Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query submissions mixin0 params
func (*QuerySubmissionsMixin0Params) WithContext ¶
func (o *QuerySubmissionsMixin0Params) WithContext(ctx context.Context) *QuerySubmissionsMixin0Params
WithContext adds the context to the query submissions mixin0 params
func (*QuerySubmissionsMixin0Params) WithDefaults ¶
func (o *QuerySubmissionsMixin0Params) WithDefaults() *QuerySubmissionsMixin0Params
WithDefaults hydrates default values in the query submissions mixin0 params (not the query body).
All values with no default are reset to their zero value.
func (*QuerySubmissionsMixin0Params) WithFilter ¶
func (o *QuerySubmissionsMixin0Params) WithFilter(filter *string) *QuerySubmissionsMixin0Params
WithFilter adds the filter to the query submissions mixin0 params
func (*QuerySubmissionsMixin0Params) WithHTTPClient ¶
func (o *QuerySubmissionsMixin0Params) WithHTTPClient(client *http.Client) *QuerySubmissionsMixin0Params
WithHTTPClient adds the HTTPClient to the query submissions mixin0 params
func (*QuerySubmissionsMixin0Params) WithLimit ¶
func (o *QuerySubmissionsMixin0Params) WithLimit(limit *int64) *QuerySubmissionsMixin0Params
WithLimit adds the limit to the query submissions mixin0 params
func (*QuerySubmissionsMixin0Params) WithOffset ¶
func (o *QuerySubmissionsMixin0Params) WithOffset(offset *string) *QuerySubmissionsMixin0Params
WithOffset adds the offset to the query submissions mixin0 params
func (*QuerySubmissionsMixin0Params) WithSort ¶
func (o *QuerySubmissionsMixin0Params) WithSort(sort *string) *QuerySubmissionsMixin0Params
WithSort adds the sort to the query submissions mixin0 params
func (*QuerySubmissionsMixin0Params) WithTimeout ¶
func (o *QuerySubmissionsMixin0Params) WithTimeout(timeout time.Duration) *QuerySubmissionsMixin0Params
WithTimeout adds the timeout to the query submissions mixin0 params
func (*QuerySubmissionsMixin0Params) WriteToRequest ¶
func (o *QuerySubmissionsMixin0Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QuerySubmissionsMixin0Reader ¶
type QuerySubmissionsMixin0Reader struct {
// contains filtered or unexported fields
}
QuerySubmissionsMixin0Reader is a Reader for the QuerySubmissionsMixin0 structure.
func (*QuerySubmissionsMixin0Reader) ReadResponse ¶
func (o *QuerySubmissionsMixin0Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QuerySubmissionsMixin0TooManyRequests ¶
type QuerySubmissionsMixin0TooManyRequests struct { /* 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 }
QuerySubmissionsMixin0TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQuerySubmissionsMixin0TooManyRequests ¶
func NewQuerySubmissionsMixin0TooManyRequests() *QuerySubmissionsMixin0TooManyRequests
NewQuerySubmissionsMixin0TooManyRequests creates a QuerySubmissionsMixin0TooManyRequests with default headers values
func (*QuerySubmissionsMixin0TooManyRequests) Error ¶
func (o *QuerySubmissionsMixin0TooManyRequests) Error() string
func (*QuerySubmissionsMixin0TooManyRequests) GetPayload ¶
func (o *QuerySubmissionsMixin0TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type ScanSamplesBadRequest ¶
type ScanSamplesBadRequest struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MlscannerQueryResponse }
ScanSamplesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewScanSamplesBadRequest ¶
func NewScanSamplesBadRequest() *ScanSamplesBadRequest
NewScanSamplesBadRequest creates a ScanSamplesBadRequest with default headers values
func (*ScanSamplesBadRequest) Error ¶
func (o *ScanSamplesBadRequest) Error() string
func (*ScanSamplesBadRequest) GetPayload ¶
func (o *ScanSamplesBadRequest) GetPayload() *models.MlscannerQueryResponse
type ScanSamplesDefault ¶
type ScanSamplesDefault struct { Payload *models.MlscannerQueryResponse // contains filtered or unexported fields }
ScanSamplesDefault describes a response with status code -1, with default header values.
OK
func NewScanSamplesDefault ¶
func NewScanSamplesDefault(code int) *ScanSamplesDefault
NewScanSamplesDefault creates a ScanSamplesDefault with default headers values
func (*ScanSamplesDefault) Code ¶
func (o *ScanSamplesDefault) Code() int
Code gets the status code for the scan samples default response
func (*ScanSamplesDefault) Error ¶
func (o *ScanSamplesDefault) Error() string
func (*ScanSamplesDefault) GetPayload ¶
func (o *ScanSamplesDefault) GetPayload() *models.MlscannerQueryResponse
type ScanSamplesForbidden ¶
type ScanSamplesForbidden struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
ScanSamplesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewScanSamplesForbidden ¶
func NewScanSamplesForbidden() *ScanSamplesForbidden
NewScanSamplesForbidden creates a ScanSamplesForbidden with default headers values
func (*ScanSamplesForbidden) Error ¶
func (o *ScanSamplesForbidden) Error() string
func (*ScanSamplesForbidden) GetPayload ¶
func (o *ScanSamplesForbidden) GetPayload() *models.MsaReplyMetaOnly
type ScanSamplesInternalServerError ¶
type ScanSamplesInternalServerError struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MlscannerQueryResponse }
ScanSamplesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewScanSamplesInternalServerError ¶
func NewScanSamplesInternalServerError() *ScanSamplesInternalServerError
NewScanSamplesInternalServerError creates a ScanSamplesInternalServerError with default headers values
func (*ScanSamplesInternalServerError) Error ¶
func (o *ScanSamplesInternalServerError) Error() string
func (*ScanSamplesInternalServerError) GetPayload ¶
func (o *ScanSamplesInternalServerError) GetPayload() *models.MlscannerQueryResponse
type ScanSamplesOK ¶
type ScanSamplesOK struct { /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MlscannerQueryResponse }
ScanSamplesOK describes a response with status code 200, with default header values.
OK
func NewScanSamplesOK ¶
func NewScanSamplesOK() *ScanSamplesOK
NewScanSamplesOK creates a ScanSamplesOK with default headers values
func (*ScanSamplesOK) Error ¶
func (o *ScanSamplesOK) Error() string
func (*ScanSamplesOK) GetPayload ¶
func (o *ScanSamplesOK) GetPayload() *models.MlscannerQueryResponse
type ScanSamplesParams ¶
type ScanSamplesParams struct { /* Body. Submit a batch of SHA256s for ml scanning. The samples must have been previously uploaded through `/samples/entities/samples/v3` */ Body *models.MlscannerSamplesScanParameters Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ScanSamplesParams contains all the parameters to send to the API endpoint
for the scan samples operation. Typically these are written to a http.Request.
func NewScanSamplesParams ¶
func NewScanSamplesParams() *ScanSamplesParams
NewScanSamplesParams creates a new ScanSamplesParams 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 NewScanSamplesParamsWithContext ¶
func NewScanSamplesParamsWithContext(ctx context.Context) *ScanSamplesParams
NewScanSamplesParamsWithContext creates a new ScanSamplesParams object with the ability to set a context for a request.
func NewScanSamplesParamsWithHTTPClient ¶
func NewScanSamplesParamsWithHTTPClient(client *http.Client) *ScanSamplesParams
NewScanSamplesParamsWithHTTPClient creates a new ScanSamplesParams object with the ability to set a custom HTTPClient for a request.
func NewScanSamplesParamsWithTimeout ¶
func NewScanSamplesParamsWithTimeout(timeout time.Duration) *ScanSamplesParams
NewScanSamplesParamsWithTimeout creates a new ScanSamplesParams object with the ability to set a timeout on a request.
func (*ScanSamplesParams) SetBody ¶
func (o *ScanSamplesParams) SetBody(body *models.MlscannerSamplesScanParameters)
SetBody adds the body to the scan samples params
func (*ScanSamplesParams) SetContext ¶
func (o *ScanSamplesParams) SetContext(ctx context.Context)
SetContext adds the context to the scan samples params
func (*ScanSamplesParams) SetDefaults ¶
func (o *ScanSamplesParams) SetDefaults()
SetDefaults hydrates default values in the scan samples params (not the query body).
All values with no default are reset to their zero value.
func (*ScanSamplesParams) SetHTTPClient ¶
func (o *ScanSamplesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the scan samples params
func (*ScanSamplesParams) SetTimeout ¶
func (o *ScanSamplesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the scan samples params
func (*ScanSamplesParams) WithBody ¶
func (o *ScanSamplesParams) WithBody(body *models.MlscannerSamplesScanParameters) *ScanSamplesParams
WithBody adds the body to the scan samples params
func (*ScanSamplesParams) WithContext ¶
func (o *ScanSamplesParams) WithContext(ctx context.Context) *ScanSamplesParams
WithContext adds the context to the scan samples params
func (*ScanSamplesParams) WithDefaults ¶
func (o *ScanSamplesParams) WithDefaults() *ScanSamplesParams
WithDefaults hydrates default values in the scan samples params (not the query body).
All values with no default are reset to their zero value.
func (*ScanSamplesParams) WithHTTPClient ¶
func (o *ScanSamplesParams) WithHTTPClient(client *http.Client) *ScanSamplesParams
WithHTTPClient adds the HTTPClient to the scan samples params
func (*ScanSamplesParams) WithTimeout ¶
func (o *ScanSamplesParams) WithTimeout(timeout time.Duration) *ScanSamplesParams
WithTimeout adds the timeout to the scan samples params
func (*ScanSamplesParams) WriteToRequest ¶
func (o *ScanSamplesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ScanSamplesReader ¶
type ScanSamplesReader struct {
// contains filtered or unexported fields
}
ScanSamplesReader is a Reader for the ScanSamples structure.
func (*ScanSamplesReader) ReadResponse ¶
func (o *ScanSamplesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ScanSamplesTooManyRequests ¶
type ScanSamplesTooManyRequests struct { /* 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 }
ScanSamplesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewScanSamplesTooManyRequests ¶
func NewScanSamplesTooManyRequests() *ScanSamplesTooManyRequests
NewScanSamplesTooManyRequests creates a ScanSamplesTooManyRequests with default headers values
func (*ScanSamplesTooManyRequests) Error ¶
func (o *ScanSamplesTooManyRequests) Error() string
func (*ScanSamplesTooManyRequests) GetPayload ¶
func (o *ScanSamplesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly