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
- func (o *GetScansAggregatesForbidden) Code() int
- func (o *GetScansAggregatesForbidden) Error() string
- func (o *GetScansAggregatesForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetScansAggregatesForbidden) IsClientError() bool
- func (o *GetScansAggregatesForbidden) IsCode(code int) bool
- func (o *GetScansAggregatesForbidden) IsRedirect() bool
- func (o *GetScansAggregatesForbidden) IsServerError() bool
- func (o *GetScansAggregatesForbidden) IsSuccess() bool
- func (o *GetScansAggregatesForbidden) String() string
- type GetScansAggregatesInternalServerError
- func (o *GetScansAggregatesInternalServerError) Code() int
- func (o *GetScansAggregatesInternalServerError) Error() string
- func (o *GetScansAggregatesInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetScansAggregatesInternalServerError) IsClientError() bool
- func (o *GetScansAggregatesInternalServerError) IsCode(code int) bool
- func (o *GetScansAggregatesInternalServerError) IsRedirect() bool
- func (o *GetScansAggregatesInternalServerError) IsServerError() bool
- func (o *GetScansAggregatesInternalServerError) IsSuccess() bool
- func (o *GetScansAggregatesInternalServerError) String() string
- type GetScansAggregatesOK
- func (o *GetScansAggregatesOK) Code() int
- func (o *GetScansAggregatesOK) Error() string
- func (o *GetScansAggregatesOK) IsClientError() bool
- func (o *GetScansAggregatesOK) IsCode(code int) bool
- func (o *GetScansAggregatesOK) IsRedirect() bool
- func (o *GetScansAggregatesOK) IsServerError() bool
- func (o *GetScansAggregatesOK) IsSuccess() bool
- func (o *GetScansAggregatesOK) String() string
- 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
- func (o *GetScansAggregatesTooManyRequests) Code() int
- func (o *GetScansAggregatesTooManyRequests) Error() string
- func (o *GetScansAggregatesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetScansAggregatesTooManyRequests) IsClientError() bool
- func (o *GetScansAggregatesTooManyRequests) IsCode(code int) bool
- func (o *GetScansAggregatesTooManyRequests) IsRedirect() bool
- func (o *GetScansAggregatesTooManyRequests) IsServerError() bool
- func (o *GetScansAggregatesTooManyRequests) IsSuccess() bool
- func (o *GetScansAggregatesTooManyRequests) String() string
- type GetScansBadRequest
- func (o *GetScansBadRequest) Code() int
- func (o *GetScansBadRequest) Error() string
- func (o *GetScansBadRequest) GetPayload() *models.MlscannerapiScanV1Response
- func (o *GetScansBadRequest) IsClientError() bool
- func (o *GetScansBadRequest) IsCode(code int) bool
- func (o *GetScansBadRequest) IsRedirect() bool
- func (o *GetScansBadRequest) IsServerError() bool
- func (o *GetScansBadRequest) IsSuccess() bool
- func (o *GetScansBadRequest) String() string
- type GetScansForbidden
- func (o *GetScansForbidden) Code() int
- func (o *GetScansForbidden) Error() string
- func (o *GetScansForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetScansForbidden) IsClientError() bool
- func (o *GetScansForbidden) IsCode(code int) bool
- func (o *GetScansForbidden) IsRedirect() bool
- func (o *GetScansForbidden) IsServerError() bool
- func (o *GetScansForbidden) IsSuccess() bool
- func (o *GetScansForbidden) String() string
- type GetScansInternalServerError
- func (o *GetScansInternalServerError) Code() int
- func (o *GetScansInternalServerError) Error() string
- func (o *GetScansInternalServerError) GetPayload() *models.MlscannerapiScanV1Response
- func (o *GetScansInternalServerError) IsClientError() bool
- func (o *GetScansInternalServerError) IsCode(code int) bool
- func (o *GetScansInternalServerError) IsRedirect() bool
- func (o *GetScansInternalServerError) IsServerError() bool
- func (o *GetScansInternalServerError) IsSuccess() bool
- func (o *GetScansInternalServerError) String() string
- type GetScansNotFound
- func (o *GetScansNotFound) Code() int
- func (o *GetScansNotFound) Error() string
- func (o *GetScansNotFound) GetPayload() *models.MlscannerapiScanV1Response
- func (o *GetScansNotFound) IsClientError() bool
- func (o *GetScansNotFound) IsCode(code int) bool
- func (o *GetScansNotFound) IsRedirect() bool
- func (o *GetScansNotFound) IsServerError() bool
- func (o *GetScansNotFound) IsSuccess() bool
- func (o *GetScansNotFound) String() string
- type GetScansOK
- func (o *GetScansOK) Code() int
- func (o *GetScansOK) Error() string
- func (o *GetScansOK) GetPayload() *models.MlscannerapiScanV1Response
- func (o *GetScansOK) IsClientError() bool
- func (o *GetScansOK) IsCode(code int) bool
- func (o *GetScansOK) IsRedirect() bool
- func (o *GetScansOK) IsServerError() bool
- func (o *GetScansOK) IsSuccess() bool
- func (o *GetScansOK) String() string
- 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
- func (o *GetScansTooManyRequests) Code() int
- func (o *GetScansTooManyRequests) Error() string
- func (o *GetScansTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetScansTooManyRequests) IsClientError() bool
- func (o *GetScansTooManyRequests) IsCode(code int) bool
- func (o *GetScansTooManyRequests) IsRedirect() bool
- func (o *GetScansTooManyRequests) IsServerError() bool
- func (o *GetScansTooManyRequests) IsSuccess() bool
- func (o *GetScansTooManyRequests) String() string
- type QuerySubmissionsMixin0BadRequest
- func (o *QuerySubmissionsMixin0BadRequest) Code() int
- func (o *QuerySubmissionsMixin0BadRequest) Error() string
- func (o *QuerySubmissionsMixin0BadRequest) GetPayload() *models.MlscannerapiQueryResponse
- func (o *QuerySubmissionsMixin0BadRequest) IsClientError() bool
- func (o *QuerySubmissionsMixin0BadRequest) IsCode(code int) bool
- func (o *QuerySubmissionsMixin0BadRequest) IsRedirect() bool
- func (o *QuerySubmissionsMixin0BadRequest) IsServerError() bool
- func (o *QuerySubmissionsMixin0BadRequest) IsSuccess() bool
- func (o *QuerySubmissionsMixin0BadRequest) String() string
- type QuerySubmissionsMixin0Forbidden
- func (o *QuerySubmissionsMixin0Forbidden) Code() int
- func (o *QuerySubmissionsMixin0Forbidden) Error() string
- func (o *QuerySubmissionsMixin0Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *QuerySubmissionsMixin0Forbidden) IsClientError() bool
- func (o *QuerySubmissionsMixin0Forbidden) IsCode(code int) bool
- func (o *QuerySubmissionsMixin0Forbidden) IsRedirect() bool
- func (o *QuerySubmissionsMixin0Forbidden) IsServerError() bool
- func (o *QuerySubmissionsMixin0Forbidden) IsSuccess() bool
- func (o *QuerySubmissionsMixin0Forbidden) String() string
- type QuerySubmissionsMixin0InternalServerError
- func (o *QuerySubmissionsMixin0InternalServerError) Code() int
- func (o *QuerySubmissionsMixin0InternalServerError) Error() string
- func (o *QuerySubmissionsMixin0InternalServerError) GetPayload() *models.MlscannerapiQueryResponse
- func (o *QuerySubmissionsMixin0InternalServerError) IsClientError() bool
- func (o *QuerySubmissionsMixin0InternalServerError) IsCode(code int) bool
- func (o *QuerySubmissionsMixin0InternalServerError) IsRedirect() bool
- func (o *QuerySubmissionsMixin0InternalServerError) IsServerError() bool
- func (o *QuerySubmissionsMixin0InternalServerError) IsSuccess() bool
- func (o *QuerySubmissionsMixin0InternalServerError) String() string
- type QuerySubmissionsMixin0OK
- func (o *QuerySubmissionsMixin0OK) Code() int
- func (o *QuerySubmissionsMixin0OK) Error() string
- func (o *QuerySubmissionsMixin0OK) GetPayload() *models.MlscannerapiQueryResponse
- func (o *QuerySubmissionsMixin0OK) IsClientError() bool
- func (o *QuerySubmissionsMixin0OK) IsCode(code int) bool
- func (o *QuerySubmissionsMixin0OK) IsRedirect() bool
- func (o *QuerySubmissionsMixin0OK) IsServerError() bool
- func (o *QuerySubmissionsMixin0OK) IsSuccess() bool
- func (o *QuerySubmissionsMixin0OK) String() string
- 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
- func (o *QuerySubmissionsMixin0TooManyRequests) Code() int
- func (o *QuerySubmissionsMixin0TooManyRequests) Error() string
- func (o *QuerySubmissionsMixin0TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *QuerySubmissionsMixin0TooManyRequests) IsClientError() bool
- func (o *QuerySubmissionsMixin0TooManyRequests) IsCode(code int) bool
- func (o *QuerySubmissionsMixin0TooManyRequests) IsRedirect() bool
- func (o *QuerySubmissionsMixin0TooManyRequests) IsServerError() bool
- func (o *QuerySubmissionsMixin0TooManyRequests) IsSuccess() bool
- func (o *QuerySubmissionsMixin0TooManyRequests) String() string
- type ScanSamplesBadRequest
- func (o *ScanSamplesBadRequest) Code() int
- func (o *ScanSamplesBadRequest) Error() string
- func (o *ScanSamplesBadRequest) GetPayload() *models.MlscannerapiQueryResponse
- func (o *ScanSamplesBadRequest) IsClientError() bool
- func (o *ScanSamplesBadRequest) IsCode(code int) bool
- func (o *ScanSamplesBadRequest) IsRedirect() bool
- func (o *ScanSamplesBadRequest) IsServerError() bool
- func (o *ScanSamplesBadRequest) IsSuccess() bool
- func (o *ScanSamplesBadRequest) String() string
- type ScanSamplesForbidden
- func (o *ScanSamplesForbidden) Code() int
- func (o *ScanSamplesForbidden) Error() string
- func (o *ScanSamplesForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ScanSamplesForbidden) IsClientError() bool
- func (o *ScanSamplesForbidden) IsCode(code int) bool
- func (o *ScanSamplesForbidden) IsRedirect() bool
- func (o *ScanSamplesForbidden) IsServerError() bool
- func (o *ScanSamplesForbidden) IsSuccess() bool
- func (o *ScanSamplesForbidden) String() string
- type ScanSamplesInternalServerError
- func (o *ScanSamplesInternalServerError) Code() int
- func (o *ScanSamplesInternalServerError) Error() string
- func (o *ScanSamplesInternalServerError) GetPayload() *models.MlscannerapiQueryResponse
- func (o *ScanSamplesInternalServerError) IsClientError() bool
- func (o *ScanSamplesInternalServerError) IsCode(code int) bool
- func (o *ScanSamplesInternalServerError) IsRedirect() bool
- func (o *ScanSamplesInternalServerError) IsServerError() bool
- func (o *ScanSamplesInternalServerError) IsSuccess() bool
- func (o *ScanSamplesInternalServerError) String() string
- type ScanSamplesOK
- func (o *ScanSamplesOK) Code() int
- func (o *ScanSamplesOK) Error() string
- func (o *ScanSamplesOK) GetPayload() *models.MlscannerapiQueryResponse
- func (o *ScanSamplesOK) IsClientError() bool
- func (o *ScanSamplesOK) IsCode(code int) bool
- func (o *ScanSamplesOK) IsRedirect() bool
- func (o *ScanSamplesOK) IsServerError() bool
- func (o *ScanSamplesOK) IsSuccess() bool
- func (o *ScanSamplesOK) String() string
- type ScanSamplesParams
- func (o *ScanSamplesParams) SetBody(body *models.MlscannerapiSamplesScanParameters)
- 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.MlscannerapiSamplesScanParameters) *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
- func (o *ScanSamplesTooManyRequests) Code() int
- func (o *ScanSamplesTooManyRequests) Error() string
- func (o *ScanSamplesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ScanSamplesTooManyRequests) IsClientError() bool
- func (o *ScanSamplesTooManyRequests) IsCode(code int) bool
- func (o *ScanSamplesTooManyRequests) IsRedirect() bool
- func (o *ScanSamplesTooManyRequests) IsServerError() bool
- func (o *ScanSamplesTooManyRequests) IsSuccess() bool
- func (o *ScanSamplesTooManyRequests) String() string
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 { /* 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 }
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) Code ¶ added in v0.2.33
func (o *GetScansAggregatesForbidden) Code() int
Code gets the status code for the get scans aggregates forbidden response
func (*GetScansAggregatesForbidden) Error ¶
func (o *GetScansAggregatesForbidden) Error() string
func (*GetScansAggregatesForbidden) GetPayload ¶
func (o *GetScansAggregatesForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*GetScansAggregatesForbidden) IsClientError ¶ added in v0.2.27
func (o *GetScansAggregatesForbidden) IsClientError() bool
IsClientError returns true when this get scans aggregates forbidden response has a 4xx status code
func (*GetScansAggregatesForbidden) IsCode ¶ added in v0.2.27
func (o *GetScansAggregatesForbidden) IsCode(code int) bool
IsCode returns true when this get scans aggregates forbidden response a status code equal to that given
func (*GetScansAggregatesForbidden) IsRedirect ¶ added in v0.2.27
func (o *GetScansAggregatesForbidden) IsRedirect() bool
IsRedirect returns true when this get scans aggregates forbidden response has a 3xx status code
func (*GetScansAggregatesForbidden) IsServerError ¶ added in v0.2.27
func (o *GetScansAggregatesForbidden) IsServerError() bool
IsServerError returns true when this get scans aggregates forbidden response has a 5xx status code
func (*GetScansAggregatesForbidden) IsSuccess ¶ added in v0.2.27
func (o *GetScansAggregatesForbidden) IsSuccess() bool
IsSuccess returns true when this get scans aggregates forbidden response has a 2xx status code
func (*GetScansAggregatesForbidden) String ¶ added in v0.2.27
func (o *GetScansAggregatesForbidden) String() string
type GetScansAggregatesInternalServerError ¶ added in v0.9.0
type GetScansAggregatesInternalServerError 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 }
GetScansAggregatesInternalServerError describes a response with status code 500, with default header values.
Unexpected Error
func NewGetScansAggregatesInternalServerError ¶ added in v0.9.0
func NewGetScansAggregatesInternalServerError() *GetScansAggregatesInternalServerError
NewGetScansAggregatesInternalServerError creates a GetScansAggregatesInternalServerError with default headers values
func (*GetScansAggregatesInternalServerError) Code ¶ added in v0.9.0
func (o *GetScansAggregatesInternalServerError) Code() int
Code gets the status code for the get scans aggregates internal server error response
func (*GetScansAggregatesInternalServerError) Error ¶ added in v0.9.0
func (o *GetScansAggregatesInternalServerError) Error() string
func (*GetScansAggregatesInternalServerError) GetPayload ¶ added in v0.9.0
func (o *GetScansAggregatesInternalServerError) GetPayload() *models.MsaReplyMetaOnly
func (*GetScansAggregatesInternalServerError) IsClientError ¶ added in v0.9.0
func (o *GetScansAggregatesInternalServerError) IsClientError() bool
IsClientError returns true when this get scans aggregates internal server error response has a 4xx status code
func (*GetScansAggregatesInternalServerError) IsCode ¶ added in v0.9.0
func (o *GetScansAggregatesInternalServerError) IsCode(code int) bool
IsCode returns true when this get scans aggregates internal server error response a status code equal to that given
func (*GetScansAggregatesInternalServerError) IsRedirect ¶ added in v0.9.0
func (o *GetScansAggregatesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get scans aggregates internal server error response has a 3xx status code
func (*GetScansAggregatesInternalServerError) IsServerError ¶ added in v0.9.0
func (o *GetScansAggregatesInternalServerError) IsServerError() bool
IsServerError returns true when this get scans aggregates internal server error response has a 5xx status code
func (*GetScansAggregatesInternalServerError) IsSuccess ¶ added in v0.9.0
func (o *GetScansAggregatesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get scans aggregates internal server error response has a 2xx status code
func (*GetScansAggregatesInternalServerError) String ¶ added in v0.9.0
func (o *GetScansAggregatesInternalServerError) String() string
type GetScansAggregatesOK ¶
type GetScansAggregatesOK 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 }
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) Code ¶ added in v0.2.33
func (o *GetScansAggregatesOK) Code() int
Code gets the status code for the get scans aggregates o k response
func (*GetScansAggregatesOK) Error ¶
func (o *GetScansAggregatesOK) Error() string
func (*GetScansAggregatesOK) IsClientError ¶ added in v0.2.27
func (o *GetScansAggregatesOK) IsClientError() bool
IsClientError returns true when this get scans aggregates o k response has a 4xx status code
func (*GetScansAggregatesOK) IsCode ¶ added in v0.2.27
func (o *GetScansAggregatesOK) IsCode(code int) bool
IsCode returns true when this get scans aggregates o k response a status code equal to that given
func (*GetScansAggregatesOK) IsRedirect ¶ added in v0.2.27
func (o *GetScansAggregatesOK) IsRedirect() bool
IsRedirect returns true when this get scans aggregates o k response has a 3xx status code
func (*GetScansAggregatesOK) IsServerError ¶ added in v0.2.27
func (o *GetScansAggregatesOK) IsServerError() bool
IsServerError returns true when this get scans aggregates o k response has a 5xx status code
func (*GetScansAggregatesOK) IsSuccess ¶ added in v0.2.27
func (o *GetScansAggregatesOK) IsSuccess() bool
IsSuccess returns true when this get scans aggregates o k response has a 2xx status code
func (*GetScansAggregatesOK) String ¶ added in v0.2.27
func (o *GetScansAggregatesOK) String() 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 { /* 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 }
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) Code ¶ added in v0.2.33
func (o *GetScansAggregatesTooManyRequests) Code() int
Code gets the status code for the get scans aggregates too many requests response
func (*GetScansAggregatesTooManyRequests) Error ¶
func (o *GetScansAggregatesTooManyRequests) Error() string
func (*GetScansAggregatesTooManyRequests) GetPayload ¶
func (o *GetScansAggregatesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetScansAggregatesTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *GetScansAggregatesTooManyRequests) IsClientError() bool
IsClientError returns true when this get scans aggregates too many requests response has a 4xx status code
func (*GetScansAggregatesTooManyRequests) IsCode ¶ added in v0.2.27
func (o *GetScansAggregatesTooManyRequests) IsCode(code int) bool
IsCode returns true when this get scans aggregates too many requests response a status code equal to that given
func (*GetScansAggregatesTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *GetScansAggregatesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get scans aggregates too many requests response has a 3xx status code
func (*GetScansAggregatesTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *GetScansAggregatesTooManyRequests) IsServerError() bool
IsServerError returns true when this get scans aggregates too many requests response has a 5xx status code
func (*GetScansAggregatesTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *GetScansAggregatesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get scans aggregates too many requests response has a 2xx status code
func (*GetScansAggregatesTooManyRequests) String ¶ added in v0.2.27
func (o *GetScansAggregatesTooManyRequests) String() string
type GetScansBadRequest ¶
type GetScansBadRequest 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.MlscannerapiScanV1Response }
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) Code ¶ added in v0.2.33
func (o *GetScansBadRequest) Code() int
Code gets the status code for the get scans bad request response
func (*GetScansBadRequest) Error ¶
func (o *GetScansBadRequest) Error() string
func (*GetScansBadRequest) GetPayload ¶
func (o *GetScansBadRequest) GetPayload() *models.MlscannerapiScanV1Response
func (*GetScansBadRequest) IsClientError ¶ added in v0.2.27
func (o *GetScansBadRequest) IsClientError() bool
IsClientError returns true when this get scans bad request response has a 4xx status code
func (*GetScansBadRequest) IsCode ¶ added in v0.2.27
func (o *GetScansBadRequest) IsCode(code int) bool
IsCode returns true when this get scans bad request response a status code equal to that given
func (*GetScansBadRequest) IsRedirect ¶ added in v0.2.27
func (o *GetScansBadRequest) IsRedirect() bool
IsRedirect returns true when this get scans bad request response has a 3xx status code
func (*GetScansBadRequest) IsServerError ¶ added in v0.2.27
func (o *GetScansBadRequest) IsServerError() bool
IsServerError returns true when this get scans bad request response has a 5xx status code
func (*GetScansBadRequest) IsSuccess ¶ added in v0.2.27
func (o *GetScansBadRequest) IsSuccess() bool
IsSuccess returns true when this get scans bad request response has a 2xx status code
func (*GetScansBadRequest) String ¶ added in v0.2.27
func (o *GetScansBadRequest) String() string
type GetScansForbidden ¶
type GetScansForbidden 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 }
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) Code ¶ added in v0.2.33
func (o *GetScansForbidden) Code() int
Code gets the status code for the get scans forbidden response
func (*GetScansForbidden) Error ¶
func (o *GetScansForbidden) Error() string
func (*GetScansForbidden) GetPayload ¶
func (o *GetScansForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*GetScansForbidden) IsClientError ¶ added in v0.2.27
func (o *GetScansForbidden) IsClientError() bool
IsClientError returns true when this get scans forbidden response has a 4xx status code
func (*GetScansForbidden) IsCode ¶ added in v0.2.27
func (o *GetScansForbidden) IsCode(code int) bool
IsCode returns true when this get scans forbidden response a status code equal to that given
func (*GetScansForbidden) IsRedirect ¶ added in v0.2.27
func (o *GetScansForbidden) IsRedirect() bool
IsRedirect returns true when this get scans forbidden response has a 3xx status code
func (*GetScansForbidden) IsServerError ¶ added in v0.2.27
func (o *GetScansForbidden) IsServerError() bool
IsServerError returns true when this get scans forbidden response has a 5xx status code
func (*GetScansForbidden) IsSuccess ¶ added in v0.2.27
func (o *GetScansForbidden) IsSuccess() bool
IsSuccess returns true when this get scans forbidden response has a 2xx status code
func (*GetScansForbidden) String ¶ added in v0.2.27
func (o *GetScansForbidden) String() string
type GetScansInternalServerError ¶
type GetScansInternalServerError 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.MlscannerapiScanV1Response }
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) Code ¶ added in v0.2.33
func (o *GetScansInternalServerError) Code() int
Code gets the status code for the get scans internal server error response
func (*GetScansInternalServerError) Error ¶
func (o *GetScansInternalServerError) Error() string
func (*GetScansInternalServerError) GetPayload ¶
func (o *GetScansInternalServerError) GetPayload() *models.MlscannerapiScanV1Response
func (*GetScansInternalServerError) IsClientError ¶ added in v0.2.27
func (o *GetScansInternalServerError) IsClientError() bool
IsClientError returns true when this get scans internal server error response has a 4xx status code
func (*GetScansInternalServerError) IsCode ¶ added in v0.2.27
func (o *GetScansInternalServerError) IsCode(code int) bool
IsCode returns true when this get scans internal server error response a status code equal to that given
func (*GetScansInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *GetScansInternalServerError) IsRedirect() bool
IsRedirect returns true when this get scans internal server error response has a 3xx status code
func (*GetScansInternalServerError) IsServerError ¶ added in v0.2.27
func (o *GetScansInternalServerError) IsServerError() bool
IsServerError returns true when this get scans internal server error response has a 5xx status code
func (*GetScansInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *GetScansInternalServerError) IsSuccess() bool
IsSuccess returns true when this get scans internal server error response has a 2xx status code
func (*GetScansInternalServerError) String ¶ added in v0.2.27
func (o *GetScansInternalServerError) String() string
type GetScansNotFound ¶
type GetScansNotFound 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.MlscannerapiScanV1Response }
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) Code ¶ added in v0.2.33
func (o *GetScansNotFound) Code() int
Code gets the status code for the get scans not found response
func (*GetScansNotFound) Error ¶
func (o *GetScansNotFound) Error() string
func (*GetScansNotFound) GetPayload ¶
func (o *GetScansNotFound) GetPayload() *models.MlscannerapiScanV1Response
func (*GetScansNotFound) IsClientError ¶ added in v0.2.27
func (o *GetScansNotFound) IsClientError() bool
IsClientError returns true when this get scans not found response has a 4xx status code
func (*GetScansNotFound) IsCode ¶ added in v0.2.27
func (o *GetScansNotFound) IsCode(code int) bool
IsCode returns true when this get scans not found response a status code equal to that given
func (*GetScansNotFound) IsRedirect ¶ added in v0.2.27
func (o *GetScansNotFound) IsRedirect() bool
IsRedirect returns true when this get scans not found response has a 3xx status code
func (*GetScansNotFound) IsServerError ¶ added in v0.2.27
func (o *GetScansNotFound) IsServerError() bool
IsServerError returns true when this get scans not found response has a 5xx status code
func (*GetScansNotFound) IsSuccess ¶ added in v0.2.27
func (o *GetScansNotFound) IsSuccess() bool
IsSuccess returns true when this get scans not found response has a 2xx status code
func (*GetScansNotFound) String ¶ added in v0.2.27
func (o *GetScansNotFound) String() string
type GetScansOK ¶
type GetScansOK 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.MlscannerapiScanV1Response }
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) Code ¶ added in v0.2.33
func (o *GetScansOK) Code() int
Code gets the status code for the get scans o k response
func (*GetScansOK) Error ¶
func (o *GetScansOK) Error() string
func (*GetScansOK) GetPayload ¶
func (o *GetScansOK) GetPayload() *models.MlscannerapiScanV1Response
func (*GetScansOK) IsClientError ¶ added in v0.2.27
func (o *GetScansOK) IsClientError() bool
IsClientError returns true when this get scans o k response has a 4xx status code
func (*GetScansOK) IsCode ¶ added in v0.2.27
func (o *GetScansOK) IsCode(code int) bool
IsCode returns true when this get scans o k response a status code equal to that given
func (*GetScansOK) IsRedirect ¶ added in v0.2.27
func (o *GetScansOK) IsRedirect() bool
IsRedirect returns true when this get scans o k response has a 3xx status code
func (*GetScansOK) IsServerError ¶ added in v0.2.27
func (o *GetScansOK) IsServerError() bool
IsServerError returns true when this get scans o k response has a 5xx status code
func (*GetScansOK) IsSuccess ¶ added in v0.2.27
func (o *GetScansOK) IsSuccess() bool
IsSuccess returns true when this get scans o k response has a 2xx status code
func (*GetScansOK) String ¶ added in v0.2.27
func (o *GetScansOK) String() string
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 { /* 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 }
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) Code ¶ added in v0.2.33
func (o *GetScansTooManyRequests) Code() int
Code gets the status code for the get scans too many requests response
func (*GetScansTooManyRequests) Error ¶
func (o *GetScansTooManyRequests) Error() string
func (*GetScansTooManyRequests) GetPayload ¶
func (o *GetScansTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetScansTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *GetScansTooManyRequests) IsClientError() bool
IsClientError returns true when this get scans too many requests response has a 4xx status code
func (*GetScansTooManyRequests) IsCode ¶ added in v0.2.27
func (o *GetScansTooManyRequests) IsCode(code int) bool
IsCode returns true when this get scans too many requests response a status code equal to that given
func (*GetScansTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *GetScansTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get scans too many requests response has a 3xx status code
func (*GetScansTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *GetScansTooManyRequests) IsServerError() bool
IsServerError returns true when this get scans too many requests response has a 5xx status code
func (*GetScansTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *GetScansTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get scans too many requests response has a 2xx status code
func (*GetScansTooManyRequests) String ¶ added in v0.2.27
func (o *GetScansTooManyRequests) String() string
type QuerySubmissionsMixin0BadRequest ¶
type QuerySubmissionsMixin0BadRequest 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.MlscannerapiQueryResponse }
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) Code ¶ added in v0.2.33
func (o *QuerySubmissionsMixin0BadRequest) Code() int
Code gets the status code for the query submissions mixin0 bad request response
func (*QuerySubmissionsMixin0BadRequest) Error ¶
func (o *QuerySubmissionsMixin0BadRequest) Error() string
func (*QuerySubmissionsMixin0BadRequest) GetPayload ¶
func (o *QuerySubmissionsMixin0BadRequest) GetPayload() *models.MlscannerapiQueryResponse
func (*QuerySubmissionsMixin0BadRequest) IsClientError ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0BadRequest) IsClientError() bool
IsClientError returns true when this query submissions mixin0 bad request response has a 4xx status code
func (*QuerySubmissionsMixin0BadRequest) IsCode ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0BadRequest) IsCode(code int) bool
IsCode returns true when this query submissions mixin0 bad request response a status code equal to that given
func (*QuerySubmissionsMixin0BadRequest) IsRedirect ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0BadRequest) IsRedirect() bool
IsRedirect returns true when this query submissions mixin0 bad request response has a 3xx status code
func (*QuerySubmissionsMixin0BadRequest) IsServerError ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0BadRequest) IsServerError() bool
IsServerError returns true when this query submissions mixin0 bad request response has a 5xx status code
func (*QuerySubmissionsMixin0BadRequest) IsSuccess ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0BadRequest) IsSuccess() bool
IsSuccess returns true when this query submissions mixin0 bad request response has a 2xx status code
func (*QuerySubmissionsMixin0BadRequest) String ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0BadRequest) String() string
type QuerySubmissionsMixin0Forbidden ¶
type QuerySubmissionsMixin0Forbidden 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 }
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) Code ¶ added in v0.2.33
func (o *QuerySubmissionsMixin0Forbidden) Code() int
Code gets the status code for the query submissions mixin0 forbidden response
func (*QuerySubmissionsMixin0Forbidden) Error ¶
func (o *QuerySubmissionsMixin0Forbidden) Error() string
func (*QuerySubmissionsMixin0Forbidden) GetPayload ¶
func (o *QuerySubmissionsMixin0Forbidden) GetPayload() *models.MsaReplyMetaOnly
func (*QuerySubmissionsMixin0Forbidden) IsClientError ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0Forbidden) IsClientError() bool
IsClientError returns true when this query submissions mixin0 forbidden response has a 4xx status code
func (*QuerySubmissionsMixin0Forbidden) IsCode ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0Forbidden) IsCode(code int) bool
IsCode returns true when this query submissions mixin0 forbidden response a status code equal to that given
func (*QuerySubmissionsMixin0Forbidden) IsRedirect ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0Forbidden) IsRedirect() bool
IsRedirect returns true when this query submissions mixin0 forbidden response has a 3xx status code
func (*QuerySubmissionsMixin0Forbidden) IsServerError ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0Forbidden) IsServerError() bool
IsServerError returns true when this query submissions mixin0 forbidden response has a 5xx status code
func (*QuerySubmissionsMixin0Forbidden) IsSuccess ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0Forbidden) IsSuccess() bool
IsSuccess returns true when this query submissions mixin0 forbidden response has a 2xx status code
func (*QuerySubmissionsMixin0Forbidden) String ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0Forbidden) String() string
type QuerySubmissionsMixin0InternalServerError ¶
type QuerySubmissionsMixin0InternalServerError 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.MlscannerapiQueryResponse }
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) Code ¶ added in v0.2.33
func (o *QuerySubmissionsMixin0InternalServerError) Code() int
Code gets the status code for the query submissions mixin0 internal server error response
func (*QuerySubmissionsMixin0InternalServerError) Error ¶
func (o *QuerySubmissionsMixin0InternalServerError) Error() string
func (*QuerySubmissionsMixin0InternalServerError) GetPayload ¶
func (o *QuerySubmissionsMixin0InternalServerError) GetPayload() *models.MlscannerapiQueryResponse
func (*QuerySubmissionsMixin0InternalServerError) IsClientError ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0InternalServerError) IsClientError() bool
IsClientError returns true when this query submissions mixin0 internal server error response has a 4xx status code
func (*QuerySubmissionsMixin0InternalServerError) IsCode ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0InternalServerError) IsCode(code int) bool
IsCode returns true when this query submissions mixin0 internal server error response a status code equal to that given
func (*QuerySubmissionsMixin0InternalServerError) IsRedirect ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0InternalServerError) IsRedirect() bool
IsRedirect returns true when this query submissions mixin0 internal server error response has a 3xx status code
func (*QuerySubmissionsMixin0InternalServerError) IsServerError ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0InternalServerError) IsServerError() bool
IsServerError returns true when this query submissions mixin0 internal server error response has a 5xx status code
func (*QuerySubmissionsMixin0InternalServerError) IsSuccess ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0InternalServerError) IsSuccess() bool
IsSuccess returns true when this query submissions mixin0 internal server error response has a 2xx status code
func (*QuerySubmissionsMixin0InternalServerError) String ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0InternalServerError) String() string
type QuerySubmissionsMixin0OK ¶
type QuerySubmissionsMixin0OK 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.MlscannerapiQueryResponse }
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) Code ¶ added in v0.2.33
func (o *QuerySubmissionsMixin0OK) Code() int
Code gets the status code for the query submissions mixin0 o k response
func (*QuerySubmissionsMixin0OK) Error ¶
func (o *QuerySubmissionsMixin0OK) Error() string
func (*QuerySubmissionsMixin0OK) GetPayload ¶
func (o *QuerySubmissionsMixin0OK) GetPayload() *models.MlscannerapiQueryResponse
func (*QuerySubmissionsMixin0OK) IsClientError ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0OK) IsClientError() bool
IsClientError returns true when this query submissions mixin0 o k response has a 4xx status code
func (*QuerySubmissionsMixin0OK) IsCode ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0OK) IsCode(code int) bool
IsCode returns true when this query submissions mixin0 o k response a status code equal to that given
func (*QuerySubmissionsMixin0OK) IsRedirect ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0OK) IsRedirect() bool
IsRedirect returns true when this query submissions mixin0 o k response has a 3xx status code
func (*QuerySubmissionsMixin0OK) IsServerError ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0OK) IsServerError() bool
IsServerError returns true when this query submissions mixin0 o k response has a 5xx status code
func (*QuerySubmissionsMixin0OK) IsSuccess ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0OK) IsSuccess() bool
IsSuccess returns true when this query submissions mixin0 o k response has a 2xx status code
func (*QuerySubmissionsMixin0OK) String ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0OK) String() string
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 { /* 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 }
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) Code ¶ added in v0.2.33
func (o *QuerySubmissionsMixin0TooManyRequests) Code() int
Code gets the status code for the query submissions mixin0 too many requests response
func (*QuerySubmissionsMixin0TooManyRequests) Error ¶
func (o *QuerySubmissionsMixin0TooManyRequests) Error() string
func (*QuerySubmissionsMixin0TooManyRequests) GetPayload ¶
func (o *QuerySubmissionsMixin0TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*QuerySubmissionsMixin0TooManyRequests) IsClientError ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0TooManyRequests) IsClientError() bool
IsClientError returns true when this query submissions mixin0 too many requests response has a 4xx status code
func (*QuerySubmissionsMixin0TooManyRequests) IsCode ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0TooManyRequests) IsCode(code int) bool
IsCode returns true when this query submissions mixin0 too many requests response a status code equal to that given
func (*QuerySubmissionsMixin0TooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0TooManyRequests) IsRedirect() bool
IsRedirect returns true when this query submissions mixin0 too many requests response has a 3xx status code
func (*QuerySubmissionsMixin0TooManyRequests) IsServerError ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0TooManyRequests) IsServerError() bool
IsServerError returns true when this query submissions mixin0 too many requests response has a 5xx status code
func (*QuerySubmissionsMixin0TooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0TooManyRequests) IsSuccess() bool
IsSuccess returns true when this query submissions mixin0 too many requests response has a 2xx status code
func (*QuerySubmissionsMixin0TooManyRequests) String ¶ added in v0.2.27
func (o *QuerySubmissionsMixin0TooManyRequests) String() string
type ScanSamplesBadRequest ¶
type ScanSamplesBadRequest 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.MlscannerapiQueryResponse }
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) Code ¶ added in v0.2.33
func (o *ScanSamplesBadRequest) Code() int
Code gets the status code for the scan samples bad request response
func (*ScanSamplesBadRequest) Error ¶
func (o *ScanSamplesBadRequest) Error() string
func (*ScanSamplesBadRequest) GetPayload ¶
func (o *ScanSamplesBadRequest) GetPayload() *models.MlscannerapiQueryResponse
func (*ScanSamplesBadRequest) IsClientError ¶ added in v0.2.27
func (o *ScanSamplesBadRequest) IsClientError() bool
IsClientError returns true when this scan samples bad request response has a 4xx status code
func (*ScanSamplesBadRequest) IsCode ¶ added in v0.2.27
func (o *ScanSamplesBadRequest) IsCode(code int) bool
IsCode returns true when this scan samples bad request response a status code equal to that given
func (*ScanSamplesBadRequest) IsRedirect ¶ added in v0.2.27
func (o *ScanSamplesBadRequest) IsRedirect() bool
IsRedirect returns true when this scan samples bad request response has a 3xx status code
func (*ScanSamplesBadRequest) IsServerError ¶ added in v0.2.27
func (o *ScanSamplesBadRequest) IsServerError() bool
IsServerError returns true when this scan samples bad request response has a 5xx status code
func (*ScanSamplesBadRequest) IsSuccess ¶ added in v0.2.27
func (o *ScanSamplesBadRequest) IsSuccess() bool
IsSuccess returns true when this scan samples bad request response has a 2xx status code
func (*ScanSamplesBadRequest) String ¶ added in v0.2.27
func (o *ScanSamplesBadRequest) String() string
type ScanSamplesForbidden ¶
type ScanSamplesForbidden 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 }
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) Code ¶ added in v0.2.33
func (o *ScanSamplesForbidden) Code() int
Code gets the status code for the scan samples forbidden response
func (*ScanSamplesForbidden) Error ¶
func (o *ScanSamplesForbidden) Error() string
func (*ScanSamplesForbidden) GetPayload ¶
func (o *ScanSamplesForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*ScanSamplesForbidden) IsClientError ¶ added in v0.2.27
func (o *ScanSamplesForbidden) IsClientError() bool
IsClientError returns true when this scan samples forbidden response has a 4xx status code
func (*ScanSamplesForbidden) IsCode ¶ added in v0.2.27
func (o *ScanSamplesForbidden) IsCode(code int) bool
IsCode returns true when this scan samples forbidden response a status code equal to that given
func (*ScanSamplesForbidden) IsRedirect ¶ added in v0.2.27
func (o *ScanSamplesForbidden) IsRedirect() bool
IsRedirect returns true when this scan samples forbidden response has a 3xx status code
func (*ScanSamplesForbidden) IsServerError ¶ added in v0.2.27
func (o *ScanSamplesForbidden) IsServerError() bool
IsServerError returns true when this scan samples forbidden response has a 5xx status code
func (*ScanSamplesForbidden) IsSuccess ¶ added in v0.2.27
func (o *ScanSamplesForbidden) IsSuccess() bool
IsSuccess returns true when this scan samples forbidden response has a 2xx status code
func (*ScanSamplesForbidden) String ¶ added in v0.2.27
func (o *ScanSamplesForbidden) String() string
type ScanSamplesInternalServerError ¶
type ScanSamplesInternalServerError 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.MlscannerapiQueryResponse }
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) Code ¶ added in v0.2.33
func (o *ScanSamplesInternalServerError) Code() int
Code gets the status code for the scan samples internal server error response
func (*ScanSamplesInternalServerError) Error ¶
func (o *ScanSamplesInternalServerError) Error() string
func (*ScanSamplesInternalServerError) GetPayload ¶
func (o *ScanSamplesInternalServerError) GetPayload() *models.MlscannerapiQueryResponse
func (*ScanSamplesInternalServerError) IsClientError ¶ added in v0.2.27
func (o *ScanSamplesInternalServerError) IsClientError() bool
IsClientError returns true when this scan samples internal server error response has a 4xx status code
func (*ScanSamplesInternalServerError) IsCode ¶ added in v0.2.27
func (o *ScanSamplesInternalServerError) IsCode(code int) bool
IsCode returns true when this scan samples internal server error response a status code equal to that given
func (*ScanSamplesInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *ScanSamplesInternalServerError) IsRedirect() bool
IsRedirect returns true when this scan samples internal server error response has a 3xx status code
func (*ScanSamplesInternalServerError) IsServerError ¶ added in v0.2.27
func (o *ScanSamplesInternalServerError) IsServerError() bool
IsServerError returns true when this scan samples internal server error response has a 5xx status code
func (*ScanSamplesInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *ScanSamplesInternalServerError) IsSuccess() bool
IsSuccess returns true when this scan samples internal server error response has a 2xx status code
func (*ScanSamplesInternalServerError) String ¶ added in v0.2.27
func (o *ScanSamplesInternalServerError) String() string
type ScanSamplesOK ¶
type ScanSamplesOK 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.MlscannerapiQueryResponse }
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) Code ¶ added in v0.2.33
func (o *ScanSamplesOK) Code() int
Code gets the status code for the scan samples o k response
func (*ScanSamplesOK) Error ¶
func (o *ScanSamplesOK) Error() string
func (*ScanSamplesOK) GetPayload ¶
func (o *ScanSamplesOK) GetPayload() *models.MlscannerapiQueryResponse
func (*ScanSamplesOK) IsClientError ¶ added in v0.2.27
func (o *ScanSamplesOK) IsClientError() bool
IsClientError returns true when this scan samples o k response has a 4xx status code
func (*ScanSamplesOK) IsCode ¶ added in v0.2.27
func (o *ScanSamplesOK) IsCode(code int) bool
IsCode returns true when this scan samples o k response a status code equal to that given
func (*ScanSamplesOK) IsRedirect ¶ added in v0.2.27
func (o *ScanSamplesOK) IsRedirect() bool
IsRedirect returns true when this scan samples o k response has a 3xx status code
func (*ScanSamplesOK) IsServerError ¶ added in v0.2.27
func (o *ScanSamplesOK) IsServerError() bool
IsServerError returns true when this scan samples o k response has a 5xx status code
func (*ScanSamplesOK) IsSuccess ¶ added in v0.2.27
func (o *ScanSamplesOK) IsSuccess() bool
IsSuccess returns true when this scan samples o k response has a 2xx status code
func (*ScanSamplesOK) String ¶ added in v0.2.27
func (o *ScanSamplesOK) String() string
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.MlscannerapiSamplesScanParameters 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.MlscannerapiSamplesScanParameters)
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.MlscannerapiSamplesScanParameters) *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 { /* 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 }
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) Code ¶ added in v0.2.33
func (o *ScanSamplesTooManyRequests) Code() int
Code gets the status code for the scan samples too many requests response
func (*ScanSamplesTooManyRequests) Error ¶
func (o *ScanSamplesTooManyRequests) Error() string
func (*ScanSamplesTooManyRequests) GetPayload ¶
func (o *ScanSamplesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ScanSamplesTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *ScanSamplesTooManyRequests) IsClientError() bool
IsClientError returns true when this scan samples too many requests response has a 4xx status code
func (*ScanSamplesTooManyRequests) IsCode ¶ added in v0.2.27
func (o *ScanSamplesTooManyRequests) IsCode(code int) bool
IsCode returns true when this scan samples too many requests response a status code equal to that given
func (*ScanSamplesTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *ScanSamplesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this scan samples too many requests response has a 3xx status code
func (*ScanSamplesTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *ScanSamplesTooManyRequests) IsServerError() bool
IsServerError returns true when this scan samples too many requests response has a 5xx status code
func (*ScanSamplesTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *ScanSamplesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this scan samples too many requests response has a 2xx status code
func (*ScanSamplesTooManyRequests) String ¶ added in v0.2.27
func (o *ScanSamplesTooManyRequests) String() string