Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteFile(params *DeleteFileParams, opts ...ClientOption) (*DeleteFileOK, error)
- func (a *Client) DeleteScanResult(params *DeleteScanResultParams, opts ...ClientOption) (*DeleteScanResultOK, error)
- func (a *Client) GetScanResult(params *GetScanResultParams, opts ...ClientOption) (*GetScanResultOK, error)
- func (a *Client) LaunchScan(params *LaunchScanParams, opts ...ClientOption) (*LaunchScanOK, error)
- func (a *Client) QueryScanResults(params *QueryScanResultsParams, opts ...ClientOption) (*QueryScanResultsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UploadFileMixin0Mixin93(params *UploadFileMixin0Mixin93Params, opts ...ClientOption) (*UploadFileMixin0Mixin93OK, error)
- type ClientOption
- type ClientService
- type DeleteFileForbidden
- func (o *DeleteFileForbidden) Code() int
- func (o *DeleteFileForbidden) Error() string
- func (o *DeleteFileForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeleteFileForbidden) IsClientError() bool
- func (o *DeleteFileForbidden) IsCode(code int) bool
- func (o *DeleteFileForbidden) IsRedirect() bool
- func (o *DeleteFileForbidden) IsServerError() bool
- func (o *DeleteFileForbidden) IsSuccess() bool
- func (o *DeleteFileForbidden) String() string
- type DeleteFileInternalServerError
- func (o *DeleteFileInternalServerError) Code() int
- func (o *DeleteFileInternalServerError) Error() string
- func (o *DeleteFileInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeleteFileInternalServerError) IsClientError() bool
- func (o *DeleteFileInternalServerError) IsCode(code int) bool
- func (o *DeleteFileInternalServerError) IsRedirect() bool
- func (o *DeleteFileInternalServerError) IsServerError() bool
- func (o *DeleteFileInternalServerError) IsSuccess() bool
- func (o *DeleteFileInternalServerError) String() string
- type DeleteFileOK
- func (o *DeleteFileOK) Code() int
- func (o *DeleteFileOK) Error() string
- func (o *DeleteFileOK) GetPayload() *models.QuickscanproDeleteFileResponse
- func (o *DeleteFileOK) IsClientError() bool
- func (o *DeleteFileOK) IsCode(code int) bool
- func (o *DeleteFileOK) IsRedirect() bool
- func (o *DeleteFileOK) IsServerError() bool
- func (o *DeleteFileOK) IsSuccess() bool
- func (o *DeleteFileOK) String() string
- type DeleteFileParams
- func (o *DeleteFileParams) SetContext(ctx context.Context)
- func (o *DeleteFileParams) SetDefaults()
- func (o *DeleteFileParams) SetHTTPClient(client *http.Client)
- func (o *DeleteFileParams) SetIds(ids []string)
- func (o *DeleteFileParams) SetTimeout(timeout time.Duration)
- func (o *DeleteFileParams) WithContext(ctx context.Context) *DeleteFileParams
- func (o *DeleteFileParams) WithDefaults() *DeleteFileParams
- func (o *DeleteFileParams) WithHTTPClient(client *http.Client) *DeleteFileParams
- func (o *DeleteFileParams) WithIds(ids []string) *DeleteFileParams
- func (o *DeleteFileParams) WithTimeout(timeout time.Duration) *DeleteFileParams
- func (o *DeleteFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteFileReader
- type DeleteFileTooManyRequests
- func (o *DeleteFileTooManyRequests) Code() int
- func (o *DeleteFileTooManyRequests) Error() string
- func (o *DeleteFileTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeleteFileTooManyRequests) IsClientError() bool
- func (o *DeleteFileTooManyRequests) IsCode(code int) bool
- func (o *DeleteFileTooManyRequests) IsRedirect() bool
- func (o *DeleteFileTooManyRequests) IsServerError() bool
- func (o *DeleteFileTooManyRequests) IsSuccess() bool
- func (o *DeleteFileTooManyRequests) String() string
- type DeleteScanResultForbidden
- func (o *DeleteScanResultForbidden) Code() int
- func (o *DeleteScanResultForbidden) Error() string
- func (o *DeleteScanResultForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeleteScanResultForbidden) IsClientError() bool
- func (o *DeleteScanResultForbidden) IsCode(code int) bool
- func (o *DeleteScanResultForbidden) IsRedirect() bool
- func (o *DeleteScanResultForbidden) IsServerError() bool
- func (o *DeleteScanResultForbidden) IsSuccess() bool
- func (o *DeleteScanResultForbidden) String() string
- type DeleteScanResultInternalServerError
- func (o *DeleteScanResultInternalServerError) Code() int
- func (o *DeleteScanResultInternalServerError) Error() string
- func (o *DeleteScanResultInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeleteScanResultInternalServerError) IsClientError() bool
- func (o *DeleteScanResultInternalServerError) IsCode(code int) bool
- func (o *DeleteScanResultInternalServerError) IsRedirect() bool
- func (o *DeleteScanResultInternalServerError) IsServerError() bool
- func (o *DeleteScanResultInternalServerError) IsSuccess() bool
- func (o *DeleteScanResultInternalServerError) String() string
- type DeleteScanResultOK
- func (o *DeleteScanResultOK) Code() int
- func (o *DeleteScanResultOK) Error() string
- func (o *DeleteScanResultOK) GetPayload() *models.MsaspecQueryResponse
- func (o *DeleteScanResultOK) IsClientError() bool
- func (o *DeleteScanResultOK) IsCode(code int) bool
- func (o *DeleteScanResultOK) IsRedirect() bool
- func (o *DeleteScanResultOK) IsServerError() bool
- func (o *DeleteScanResultOK) IsSuccess() bool
- func (o *DeleteScanResultOK) String() string
- type DeleteScanResultParams
- func NewDeleteScanResultParams() *DeleteScanResultParams
- func NewDeleteScanResultParamsWithContext(ctx context.Context) *DeleteScanResultParams
- func NewDeleteScanResultParamsWithHTTPClient(client *http.Client) *DeleteScanResultParams
- func NewDeleteScanResultParamsWithTimeout(timeout time.Duration) *DeleteScanResultParams
- func (o *DeleteScanResultParams) SetContext(ctx context.Context)
- func (o *DeleteScanResultParams) SetDefaults()
- func (o *DeleteScanResultParams) SetHTTPClient(client *http.Client)
- func (o *DeleteScanResultParams) SetIds(ids []string)
- func (o *DeleteScanResultParams) SetTimeout(timeout time.Duration)
- func (o *DeleteScanResultParams) WithContext(ctx context.Context) *DeleteScanResultParams
- func (o *DeleteScanResultParams) WithDefaults() *DeleteScanResultParams
- func (o *DeleteScanResultParams) WithHTTPClient(client *http.Client) *DeleteScanResultParams
- func (o *DeleteScanResultParams) WithIds(ids []string) *DeleteScanResultParams
- func (o *DeleteScanResultParams) WithTimeout(timeout time.Duration) *DeleteScanResultParams
- func (o *DeleteScanResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteScanResultReader
- type DeleteScanResultTooManyRequests
- func (o *DeleteScanResultTooManyRequests) Code() int
- func (o *DeleteScanResultTooManyRequests) Error() string
- func (o *DeleteScanResultTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *DeleteScanResultTooManyRequests) IsClientError() bool
- func (o *DeleteScanResultTooManyRequests) IsCode(code int) bool
- func (o *DeleteScanResultTooManyRequests) IsRedirect() bool
- func (o *DeleteScanResultTooManyRequests) IsServerError() bool
- func (o *DeleteScanResultTooManyRequests) IsSuccess() bool
- func (o *DeleteScanResultTooManyRequests) String() string
- type GetScanResultForbidden
- func (o *GetScanResultForbidden) Code() int
- func (o *GetScanResultForbidden) Error() string
- func (o *GetScanResultForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetScanResultForbidden) IsClientError() bool
- func (o *GetScanResultForbidden) IsCode(code int) bool
- func (o *GetScanResultForbidden) IsRedirect() bool
- func (o *GetScanResultForbidden) IsServerError() bool
- func (o *GetScanResultForbidden) IsSuccess() bool
- func (o *GetScanResultForbidden) String() string
- type GetScanResultInternalServerError
- func (o *GetScanResultInternalServerError) Code() int
- func (o *GetScanResultInternalServerError) Error() string
- func (o *GetScanResultInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetScanResultInternalServerError) IsClientError() bool
- func (o *GetScanResultInternalServerError) IsCode(code int) bool
- func (o *GetScanResultInternalServerError) IsRedirect() bool
- func (o *GetScanResultInternalServerError) IsServerError() bool
- func (o *GetScanResultInternalServerError) IsSuccess() bool
- func (o *GetScanResultInternalServerError) String() string
- type GetScanResultOK
- func (o *GetScanResultOK) Code() int
- func (o *GetScanResultOK) Error() string
- func (o *GetScanResultOK) GetPayload() *models.QuickscanproGetScanResultResponse
- func (o *GetScanResultOK) IsClientError() bool
- func (o *GetScanResultOK) IsCode(code int) bool
- func (o *GetScanResultOK) IsRedirect() bool
- func (o *GetScanResultOK) IsServerError() bool
- func (o *GetScanResultOK) IsSuccess() bool
- func (o *GetScanResultOK) String() string
- type GetScanResultParams
- func (o *GetScanResultParams) SetContext(ctx context.Context)
- func (o *GetScanResultParams) SetDefaults()
- func (o *GetScanResultParams) SetHTTPClient(client *http.Client)
- func (o *GetScanResultParams) SetIds(ids []string)
- func (o *GetScanResultParams) SetTimeout(timeout time.Duration)
- func (o *GetScanResultParams) WithContext(ctx context.Context) *GetScanResultParams
- func (o *GetScanResultParams) WithDefaults() *GetScanResultParams
- func (o *GetScanResultParams) WithHTTPClient(client *http.Client) *GetScanResultParams
- func (o *GetScanResultParams) WithIds(ids []string) *GetScanResultParams
- func (o *GetScanResultParams) WithTimeout(timeout time.Duration) *GetScanResultParams
- func (o *GetScanResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScanResultReader
- type GetScanResultTooManyRequests
- func (o *GetScanResultTooManyRequests) Code() int
- func (o *GetScanResultTooManyRequests) Error() string
- func (o *GetScanResultTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetScanResultTooManyRequests) IsClientError() bool
- func (o *GetScanResultTooManyRequests) IsCode(code int) bool
- func (o *GetScanResultTooManyRequests) IsRedirect() bool
- func (o *GetScanResultTooManyRequests) IsServerError() bool
- func (o *GetScanResultTooManyRequests) IsSuccess() bool
- func (o *GetScanResultTooManyRequests) String() string
- type LaunchScanForbidden
- func (o *LaunchScanForbidden) Code() int
- func (o *LaunchScanForbidden) Error() string
- func (o *LaunchScanForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *LaunchScanForbidden) IsClientError() bool
- func (o *LaunchScanForbidden) IsCode(code int) bool
- func (o *LaunchScanForbidden) IsRedirect() bool
- func (o *LaunchScanForbidden) IsServerError() bool
- func (o *LaunchScanForbidden) IsSuccess() bool
- func (o *LaunchScanForbidden) String() string
- type LaunchScanInternalServerError
- func (o *LaunchScanInternalServerError) Code() int
- func (o *LaunchScanInternalServerError) Error() string
- func (o *LaunchScanInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *LaunchScanInternalServerError) IsClientError() bool
- func (o *LaunchScanInternalServerError) IsCode(code int) bool
- func (o *LaunchScanInternalServerError) IsRedirect() bool
- func (o *LaunchScanInternalServerError) IsServerError() bool
- func (o *LaunchScanInternalServerError) IsSuccess() bool
- func (o *LaunchScanInternalServerError) String() string
- type LaunchScanOK
- func (o *LaunchScanOK) Code() int
- func (o *LaunchScanOK) Error() string
- func (o *LaunchScanOK) GetPayload() *models.QuickscanproLaunchScanResponse
- func (o *LaunchScanOK) IsClientError() bool
- func (o *LaunchScanOK) IsCode(code int) bool
- func (o *LaunchScanOK) IsRedirect() bool
- func (o *LaunchScanOK) IsServerError() bool
- func (o *LaunchScanOK) IsSuccess() bool
- func (o *LaunchScanOK) String() string
- type LaunchScanParams
- func (o *LaunchScanParams) SetBody(body *models.QuickscanproLaunchScanRequest)
- func (o *LaunchScanParams) SetContext(ctx context.Context)
- func (o *LaunchScanParams) SetDefaults()
- func (o *LaunchScanParams) SetHTTPClient(client *http.Client)
- func (o *LaunchScanParams) SetTimeout(timeout time.Duration)
- func (o *LaunchScanParams) WithBody(body *models.QuickscanproLaunchScanRequest) *LaunchScanParams
- func (o *LaunchScanParams) WithContext(ctx context.Context) *LaunchScanParams
- func (o *LaunchScanParams) WithDefaults() *LaunchScanParams
- func (o *LaunchScanParams) WithHTTPClient(client *http.Client) *LaunchScanParams
- func (o *LaunchScanParams) WithTimeout(timeout time.Duration) *LaunchScanParams
- func (o *LaunchScanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LaunchScanReader
- type LaunchScanTooManyRequests
- func (o *LaunchScanTooManyRequests) Code() int
- func (o *LaunchScanTooManyRequests) Error() string
- func (o *LaunchScanTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *LaunchScanTooManyRequests) IsClientError() bool
- func (o *LaunchScanTooManyRequests) IsCode(code int) bool
- func (o *LaunchScanTooManyRequests) IsRedirect() bool
- func (o *LaunchScanTooManyRequests) IsServerError() bool
- func (o *LaunchScanTooManyRequests) IsSuccess() bool
- func (o *LaunchScanTooManyRequests) String() string
- type QueryScanResultsForbidden
- func (o *QueryScanResultsForbidden) Code() int
- func (o *QueryScanResultsForbidden) Error() string
- func (o *QueryScanResultsForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryScanResultsForbidden) IsClientError() bool
- func (o *QueryScanResultsForbidden) IsCode(code int) bool
- func (o *QueryScanResultsForbidden) IsRedirect() bool
- func (o *QueryScanResultsForbidden) IsServerError() bool
- func (o *QueryScanResultsForbidden) IsSuccess() bool
- func (o *QueryScanResultsForbidden) String() string
- type QueryScanResultsInternalServerError
- func (o *QueryScanResultsInternalServerError) Code() int
- func (o *QueryScanResultsInternalServerError) Error() string
- func (o *QueryScanResultsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryScanResultsInternalServerError) IsClientError() bool
- func (o *QueryScanResultsInternalServerError) IsCode(code int) bool
- func (o *QueryScanResultsInternalServerError) IsRedirect() bool
- func (o *QueryScanResultsInternalServerError) IsServerError() bool
- func (o *QueryScanResultsInternalServerError) IsSuccess() bool
- func (o *QueryScanResultsInternalServerError) String() string
- type QueryScanResultsOK
- func (o *QueryScanResultsOK) Code() int
- func (o *QueryScanResultsOK) Error() string
- func (o *QueryScanResultsOK) GetPayload() *models.QuickscanproQueryScanResultsResponse
- func (o *QueryScanResultsOK) IsClientError() bool
- func (o *QueryScanResultsOK) IsCode(code int) bool
- func (o *QueryScanResultsOK) IsRedirect() bool
- func (o *QueryScanResultsOK) IsServerError() bool
- func (o *QueryScanResultsOK) IsSuccess() bool
- func (o *QueryScanResultsOK) String() string
- type QueryScanResultsParams
- func NewQueryScanResultsParams() *QueryScanResultsParams
- func NewQueryScanResultsParamsWithContext(ctx context.Context) *QueryScanResultsParams
- func NewQueryScanResultsParamsWithHTTPClient(client *http.Client) *QueryScanResultsParams
- func NewQueryScanResultsParamsWithTimeout(timeout time.Duration) *QueryScanResultsParams
- func (o *QueryScanResultsParams) SetContext(ctx context.Context)
- func (o *QueryScanResultsParams) SetDefaults()
- func (o *QueryScanResultsParams) SetFilter(filter string)
- func (o *QueryScanResultsParams) SetHTTPClient(client *http.Client)
- func (o *QueryScanResultsParams) SetLimit(limit *int64)
- func (o *QueryScanResultsParams) SetOffset(offset *int64)
- func (o *QueryScanResultsParams) SetSort(sort *string)
- func (o *QueryScanResultsParams) SetTimeout(timeout time.Duration)
- func (o *QueryScanResultsParams) WithContext(ctx context.Context) *QueryScanResultsParams
- func (o *QueryScanResultsParams) WithDefaults() *QueryScanResultsParams
- func (o *QueryScanResultsParams) WithFilter(filter string) *QueryScanResultsParams
- func (o *QueryScanResultsParams) WithHTTPClient(client *http.Client) *QueryScanResultsParams
- func (o *QueryScanResultsParams) WithLimit(limit *int64) *QueryScanResultsParams
- func (o *QueryScanResultsParams) WithOffset(offset *int64) *QueryScanResultsParams
- func (o *QueryScanResultsParams) WithSort(sort *string) *QueryScanResultsParams
- func (o *QueryScanResultsParams) WithTimeout(timeout time.Duration) *QueryScanResultsParams
- func (o *QueryScanResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryScanResultsReader
- type QueryScanResultsTooManyRequests
- func (o *QueryScanResultsTooManyRequests) Code() int
- func (o *QueryScanResultsTooManyRequests) Error() string
- func (o *QueryScanResultsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryScanResultsTooManyRequests) IsClientError() bool
- func (o *QueryScanResultsTooManyRequests) IsCode(code int) bool
- func (o *QueryScanResultsTooManyRequests) IsRedirect() bool
- func (o *QueryScanResultsTooManyRequests) IsServerError() bool
- func (o *QueryScanResultsTooManyRequests) IsSuccess() bool
- func (o *QueryScanResultsTooManyRequests) String() string
- type UploadFileMixin0Mixin93Forbidden
- func (o *UploadFileMixin0Mixin93Forbidden) Code() int
- func (o *UploadFileMixin0Mixin93Forbidden) Error() string
- func (o *UploadFileMixin0Mixin93Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *UploadFileMixin0Mixin93Forbidden) IsClientError() bool
- func (o *UploadFileMixin0Mixin93Forbidden) IsCode(code int) bool
- func (o *UploadFileMixin0Mixin93Forbidden) IsRedirect() bool
- func (o *UploadFileMixin0Mixin93Forbidden) IsServerError() bool
- func (o *UploadFileMixin0Mixin93Forbidden) IsSuccess() bool
- func (o *UploadFileMixin0Mixin93Forbidden) String() string
- type UploadFileMixin0Mixin93InternalServerError
- func (o *UploadFileMixin0Mixin93InternalServerError) Code() int
- func (o *UploadFileMixin0Mixin93InternalServerError) Error() string
- func (o *UploadFileMixin0Mixin93InternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *UploadFileMixin0Mixin93InternalServerError) IsClientError() bool
- func (o *UploadFileMixin0Mixin93InternalServerError) IsCode(code int) bool
- func (o *UploadFileMixin0Mixin93InternalServerError) IsRedirect() bool
- func (o *UploadFileMixin0Mixin93InternalServerError) IsServerError() bool
- func (o *UploadFileMixin0Mixin93InternalServerError) IsSuccess() bool
- func (o *UploadFileMixin0Mixin93InternalServerError) String() string
- type UploadFileMixin0Mixin93OK
- func (o *UploadFileMixin0Mixin93OK) Code() int
- func (o *UploadFileMixin0Mixin93OK) Error() string
- func (o *UploadFileMixin0Mixin93OK) GetPayload() *models.QuickscanproFileUploadResponse
- func (o *UploadFileMixin0Mixin93OK) IsClientError() bool
- func (o *UploadFileMixin0Mixin93OK) IsCode(code int) bool
- func (o *UploadFileMixin0Mixin93OK) IsRedirect() bool
- func (o *UploadFileMixin0Mixin93OK) IsServerError() bool
- func (o *UploadFileMixin0Mixin93OK) IsSuccess() bool
- func (o *UploadFileMixin0Mixin93OK) String() string
- type UploadFileMixin0Mixin93Params
- func NewUploadFileMixin0Mixin93Params() *UploadFileMixin0Mixin93Params
- func NewUploadFileMixin0Mixin93ParamsWithContext(ctx context.Context) *UploadFileMixin0Mixin93Params
- func NewUploadFileMixin0Mixin93ParamsWithHTTPClient(client *http.Client) *UploadFileMixin0Mixin93Params
- func NewUploadFileMixin0Mixin93ParamsWithTimeout(timeout time.Duration) *UploadFileMixin0Mixin93Params
- func (o *UploadFileMixin0Mixin93Params) SetContext(ctx context.Context)
- func (o *UploadFileMixin0Mixin93Params) SetDefaults()
- func (o *UploadFileMixin0Mixin93Params) SetFile(file runtime.NamedReadCloser)
- func (o *UploadFileMixin0Mixin93Params) SetHTTPClient(client *http.Client)
- func (o *UploadFileMixin0Mixin93Params) SetScan(scan *bool)
- func (o *UploadFileMixin0Mixin93Params) SetTimeout(timeout time.Duration)
- func (o *UploadFileMixin0Mixin93Params) WithContext(ctx context.Context) *UploadFileMixin0Mixin93Params
- func (o *UploadFileMixin0Mixin93Params) WithDefaults() *UploadFileMixin0Mixin93Params
- func (o *UploadFileMixin0Mixin93Params) WithFile(file runtime.NamedReadCloser) *UploadFileMixin0Mixin93Params
- func (o *UploadFileMixin0Mixin93Params) WithHTTPClient(client *http.Client) *UploadFileMixin0Mixin93Params
- func (o *UploadFileMixin0Mixin93Params) WithScan(scan *bool) *UploadFileMixin0Mixin93Params
- func (o *UploadFileMixin0Mixin93Params) WithTimeout(timeout time.Duration) *UploadFileMixin0Mixin93Params
- func (o *UploadFileMixin0Mixin93Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadFileMixin0Mixin93Reader
- type UploadFileMixin0Mixin93TooManyRequests
- func (o *UploadFileMixin0Mixin93TooManyRequests) Code() int
- func (o *UploadFileMixin0Mixin93TooManyRequests) Error() string
- func (o *UploadFileMixin0Mixin93TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *UploadFileMixin0Mixin93TooManyRequests) IsClientError() bool
- func (o *UploadFileMixin0Mixin93TooManyRequests) IsCode(code int) bool
- func (o *UploadFileMixin0Mixin93TooManyRequests) IsRedirect() bool
- func (o *UploadFileMixin0Mixin93TooManyRequests) IsServerError() bool
- func (o *UploadFileMixin0Mixin93TooManyRequests) IsSuccess() bool
- func (o *UploadFileMixin0Mixin93TooManyRequests) 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 pro API
func (*Client) DeleteFile ¶
func (a *Client) DeleteFile(params *DeleteFileParams, opts ...ClientOption) (*DeleteFileOK, error)
DeleteFile deletes file by its sha256 identifier
func (*Client) DeleteScanResult ¶
func (a *Client) DeleteScanResult(params *DeleteScanResultParams, opts ...ClientOption) (*DeleteScanResultOK, error)
DeleteScanResult deletes the result of an quick scan pro scan
func (*Client) GetScanResult ¶
func (a *Client) GetScanResult(params *GetScanResultParams, opts ...ClientOption) (*GetScanResultOK, error)
GetScanResult gets the result of an quick scan pro scan
func (*Client) LaunchScan ¶
func (a *Client) LaunchScan(params *LaunchScanParams, opts ...ClientOption) (*LaunchScanOK, error)
LaunchScan starts scanning a file uploaded through quickscanpro entities files v1
func (*Client) QueryScanResults ¶
func (a *Client) QueryScanResults(params *QueryScanResultsParams, opts ...ClientOption) (*QueryScanResultsOK, error)
QueryScanResults gets quick scan pro scan jobs for a given f q l filter
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UploadFileMixin0Mixin93 ¶
func (a *Client) UploadFileMixin0Mixin93(params *UploadFileMixin0Mixin93Params, opts ...ClientOption) (*UploadFileMixin0Mixin93OK, error)
UploadFileMixin0Mixin93 uploads a file to be further analyzed with quick scan pro the samples expire after 90 days
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteFile(params *DeleteFileParams, opts ...ClientOption) (*DeleteFileOK, error) DeleteScanResult(params *DeleteScanResultParams, opts ...ClientOption) (*DeleteScanResultOK, error) GetScanResult(params *GetScanResultParams, opts ...ClientOption) (*GetScanResultOK, error) LaunchScan(params *LaunchScanParams, opts ...ClientOption) (*LaunchScanOK, error) QueryScanResults(params *QueryScanResultsParams, opts ...ClientOption) (*QueryScanResultsOK, error) UploadFileMixin0Mixin93(params *UploadFileMixin0Mixin93Params, opts ...ClientOption) (*UploadFileMixin0Mixin93OK, 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 pro API client.
type DeleteFileForbidden ¶
type DeleteFileForbidden 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 }
DeleteFileForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteFileForbidden ¶
func NewDeleteFileForbidden() *DeleteFileForbidden
NewDeleteFileForbidden creates a DeleteFileForbidden with default headers values
func (*DeleteFileForbidden) Code ¶
func (o *DeleteFileForbidden) Code() int
Code gets the status code for the delete file forbidden response
func (*DeleteFileForbidden) Error ¶
func (o *DeleteFileForbidden) Error() string
func (*DeleteFileForbidden) GetPayload ¶
func (o *DeleteFileForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*DeleteFileForbidden) IsClientError ¶
func (o *DeleteFileForbidden) IsClientError() bool
IsClientError returns true when this delete file forbidden response has a 4xx status code
func (*DeleteFileForbidden) IsCode ¶
func (o *DeleteFileForbidden) IsCode(code int) bool
IsCode returns true when this delete file forbidden response a status code equal to that given
func (*DeleteFileForbidden) IsRedirect ¶
func (o *DeleteFileForbidden) IsRedirect() bool
IsRedirect returns true when this delete file forbidden response has a 3xx status code
func (*DeleteFileForbidden) IsServerError ¶
func (o *DeleteFileForbidden) IsServerError() bool
IsServerError returns true when this delete file forbidden response has a 5xx status code
func (*DeleteFileForbidden) IsSuccess ¶
func (o *DeleteFileForbidden) IsSuccess() bool
IsSuccess returns true when this delete file forbidden response has a 2xx status code
func (*DeleteFileForbidden) String ¶
func (o *DeleteFileForbidden) String() string
type DeleteFileInternalServerError ¶
type DeleteFileInternalServerError 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 }
DeleteFileInternalServerError describes a response with status code 500, with default header values.
Unexpected Error
func NewDeleteFileInternalServerError ¶
func NewDeleteFileInternalServerError() *DeleteFileInternalServerError
NewDeleteFileInternalServerError creates a DeleteFileInternalServerError with default headers values
func (*DeleteFileInternalServerError) Code ¶
func (o *DeleteFileInternalServerError) Code() int
Code gets the status code for the delete file internal server error response
func (*DeleteFileInternalServerError) Error ¶
func (o *DeleteFileInternalServerError) Error() string
func (*DeleteFileInternalServerError) GetPayload ¶
func (o *DeleteFileInternalServerError) GetPayload() *models.MsaReplyMetaOnly
func (*DeleteFileInternalServerError) IsClientError ¶
func (o *DeleteFileInternalServerError) IsClientError() bool
IsClientError returns true when this delete file internal server error response has a 4xx status code
func (*DeleteFileInternalServerError) IsCode ¶
func (o *DeleteFileInternalServerError) IsCode(code int) bool
IsCode returns true when this delete file internal server error response a status code equal to that given
func (*DeleteFileInternalServerError) IsRedirect ¶
func (o *DeleteFileInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete file internal server error response has a 3xx status code
func (*DeleteFileInternalServerError) IsServerError ¶
func (o *DeleteFileInternalServerError) IsServerError() bool
IsServerError returns true when this delete file internal server error response has a 5xx status code
func (*DeleteFileInternalServerError) IsSuccess ¶
func (o *DeleteFileInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete file internal server error response has a 2xx status code
func (*DeleteFileInternalServerError) String ¶
func (o *DeleteFileInternalServerError) String() string
type DeleteFileOK ¶
type DeleteFileOK 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.QuickscanproDeleteFileResponse }
DeleteFileOK describes a response with status code 200, with default header values.
OK
func NewDeleteFileOK ¶
func NewDeleteFileOK() *DeleteFileOK
NewDeleteFileOK creates a DeleteFileOK with default headers values
func (*DeleteFileOK) Code ¶
func (o *DeleteFileOK) Code() int
Code gets the status code for the delete file o k response
func (*DeleteFileOK) Error ¶
func (o *DeleteFileOK) Error() string
func (*DeleteFileOK) GetPayload ¶
func (o *DeleteFileOK) GetPayload() *models.QuickscanproDeleteFileResponse
func (*DeleteFileOK) IsClientError ¶
func (o *DeleteFileOK) IsClientError() bool
IsClientError returns true when this delete file o k response has a 4xx status code
func (*DeleteFileOK) IsCode ¶
func (o *DeleteFileOK) IsCode(code int) bool
IsCode returns true when this delete file o k response a status code equal to that given
func (*DeleteFileOK) IsRedirect ¶
func (o *DeleteFileOK) IsRedirect() bool
IsRedirect returns true when this delete file o k response has a 3xx status code
func (*DeleteFileOK) IsServerError ¶
func (o *DeleteFileOK) IsServerError() bool
IsServerError returns true when this delete file o k response has a 5xx status code
func (*DeleteFileOK) IsSuccess ¶
func (o *DeleteFileOK) IsSuccess() bool
IsSuccess returns true when this delete file o k response has a 2xx status code
func (*DeleteFileOK) String ¶
func (o *DeleteFileOK) String() string
type DeleteFileParams ¶
type DeleteFileParams struct { /* Ids. File's SHA256 */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteFileParams contains all the parameters to send to the API endpoint
for the delete file operation. Typically these are written to a http.Request.
func NewDeleteFileParams ¶
func NewDeleteFileParams() *DeleteFileParams
NewDeleteFileParams creates a new DeleteFileParams 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 NewDeleteFileParamsWithContext ¶
func NewDeleteFileParamsWithContext(ctx context.Context) *DeleteFileParams
NewDeleteFileParamsWithContext creates a new DeleteFileParams object with the ability to set a context for a request.
func NewDeleteFileParamsWithHTTPClient ¶
func NewDeleteFileParamsWithHTTPClient(client *http.Client) *DeleteFileParams
NewDeleteFileParamsWithHTTPClient creates a new DeleteFileParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteFileParamsWithTimeout ¶
func NewDeleteFileParamsWithTimeout(timeout time.Duration) *DeleteFileParams
NewDeleteFileParamsWithTimeout creates a new DeleteFileParams object with the ability to set a timeout on a request.
func (*DeleteFileParams) SetContext ¶
func (o *DeleteFileParams) SetContext(ctx context.Context)
SetContext adds the context to the delete file params
func (*DeleteFileParams) SetDefaults ¶
func (o *DeleteFileParams) SetDefaults()
SetDefaults hydrates default values in the delete file params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteFileParams) SetHTTPClient ¶
func (o *DeleteFileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete file params
func (*DeleteFileParams) SetIds ¶
func (o *DeleteFileParams) SetIds(ids []string)
SetIds adds the ids to the delete file params
func (*DeleteFileParams) SetTimeout ¶
func (o *DeleteFileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete file params
func (*DeleteFileParams) WithContext ¶
func (o *DeleteFileParams) WithContext(ctx context.Context) *DeleteFileParams
WithContext adds the context to the delete file params
func (*DeleteFileParams) WithDefaults ¶
func (o *DeleteFileParams) WithDefaults() *DeleteFileParams
WithDefaults hydrates default values in the delete file params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteFileParams) WithHTTPClient ¶
func (o *DeleteFileParams) WithHTTPClient(client *http.Client) *DeleteFileParams
WithHTTPClient adds the HTTPClient to the delete file params
func (*DeleteFileParams) WithIds ¶
func (o *DeleteFileParams) WithIds(ids []string) *DeleteFileParams
WithIds adds the ids to the delete file params
func (*DeleteFileParams) WithTimeout ¶
func (o *DeleteFileParams) WithTimeout(timeout time.Duration) *DeleteFileParams
WithTimeout adds the timeout to the delete file params
func (*DeleteFileParams) WriteToRequest ¶
func (o *DeleteFileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteFileReader ¶
type DeleteFileReader struct {
// contains filtered or unexported fields
}
DeleteFileReader is a Reader for the DeleteFile structure.
func (*DeleteFileReader) ReadResponse ¶
func (o *DeleteFileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteFileTooManyRequests ¶
type DeleteFileTooManyRequests 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 }
DeleteFileTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewDeleteFileTooManyRequests ¶
func NewDeleteFileTooManyRequests() *DeleteFileTooManyRequests
NewDeleteFileTooManyRequests creates a DeleteFileTooManyRequests with default headers values
func (*DeleteFileTooManyRequests) Code ¶
func (o *DeleteFileTooManyRequests) Code() int
Code gets the status code for the delete file too many requests response
func (*DeleteFileTooManyRequests) Error ¶
func (o *DeleteFileTooManyRequests) Error() string
func (*DeleteFileTooManyRequests) GetPayload ¶
func (o *DeleteFileTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*DeleteFileTooManyRequests) IsClientError ¶
func (o *DeleteFileTooManyRequests) IsClientError() bool
IsClientError returns true when this delete file too many requests response has a 4xx status code
func (*DeleteFileTooManyRequests) IsCode ¶
func (o *DeleteFileTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete file too many requests response a status code equal to that given
func (*DeleteFileTooManyRequests) IsRedirect ¶
func (o *DeleteFileTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete file too many requests response has a 3xx status code
func (*DeleteFileTooManyRequests) IsServerError ¶
func (o *DeleteFileTooManyRequests) IsServerError() bool
IsServerError returns true when this delete file too many requests response has a 5xx status code
func (*DeleteFileTooManyRequests) IsSuccess ¶
func (o *DeleteFileTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete file too many requests response has a 2xx status code
func (*DeleteFileTooManyRequests) String ¶
func (o *DeleteFileTooManyRequests) String() string
type DeleteScanResultForbidden ¶
type DeleteScanResultForbidden 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 }
DeleteScanResultForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteScanResultForbidden ¶
func NewDeleteScanResultForbidden() *DeleteScanResultForbidden
NewDeleteScanResultForbidden creates a DeleteScanResultForbidden with default headers values
func (*DeleteScanResultForbidden) Code ¶
func (o *DeleteScanResultForbidden) Code() int
Code gets the status code for the delete scan result forbidden response
func (*DeleteScanResultForbidden) Error ¶
func (o *DeleteScanResultForbidden) Error() string
func (*DeleteScanResultForbidden) GetPayload ¶
func (o *DeleteScanResultForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*DeleteScanResultForbidden) IsClientError ¶
func (o *DeleteScanResultForbidden) IsClientError() bool
IsClientError returns true when this delete scan result forbidden response has a 4xx status code
func (*DeleteScanResultForbidden) IsCode ¶
func (o *DeleteScanResultForbidden) IsCode(code int) bool
IsCode returns true when this delete scan result forbidden response a status code equal to that given
func (*DeleteScanResultForbidden) IsRedirect ¶
func (o *DeleteScanResultForbidden) IsRedirect() bool
IsRedirect returns true when this delete scan result forbidden response has a 3xx status code
func (*DeleteScanResultForbidden) IsServerError ¶
func (o *DeleteScanResultForbidden) IsServerError() bool
IsServerError returns true when this delete scan result forbidden response has a 5xx status code
func (*DeleteScanResultForbidden) IsSuccess ¶
func (o *DeleteScanResultForbidden) IsSuccess() bool
IsSuccess returns true when this delete scan result forbidden response has a 2xx status code
func (*DeleteScanResultForbidden) String ¶
func (o *DeleteScanResultForbidden) String() string
type DeleteScanResultInternalServerError ¶
type DeleteScanResultInternalServerError 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 }
DeleteScanResultInternalServerError describes a response with status code 500, with default header values.
Unexpected Error
func NewDeleteScanResultInternalServerError ¶
func NewDeleteScanResultInternalServerError() *DeleteScanResultInternalServerError
NewDeleteScanResultInternalServerError creates a DeleteScanResultInternalServerError with default headers values
func (*DeleteScanResultInternalServerError) Code ¶
func (o *DeleteScanResultInternalServerError) Code() int
Code gets the status code for the delete scan result internal server error response
func (*DeleteScanResultInternalServerError) Error ¶
func (o *DeleteScanResultInternalServerError) Error() string
func (*DeleteScanResultInternalServerError) GetPayload ¶
func (o *DeleteScanResultInternalServerError) GetPayload() *models.MsaReplyMetaOnly
func (*DeleteScanResultInternalServerError) IsClientError ¶
func (o *DeleteScanResultInternalServerError) IsClientError() bool
IsClientError returns true when this delete scan result internal server error response has a 4xx status code
func (*DeleteScanResultInternalServerError) IsCode ¶
func (o *DeleteScanResultInternalServerError) IsCode(code int) bool
IsCode returns true when this delete scan result internal server error response a status code equal to that given
func (*DeleteScanResultInternalServerError) IsRedirect ¶
func (o *DeleteScanResultInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete scan result internal server error response has a 3xx status code
func (*DeleteScanResultInternalServerError) IsServerError ¶
func (o *DeleteScanResultInternalServerError) IsServerError() bool
IsServerError returns true when this delete scan result internal server error response has a 5xx status code
func (*DeleteScanResultInternalServerError) IsSuccess ¶
func (o *DeleteScanResultInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete scan result internal server error response has a 2xx status code
func (*DeleteScanResultInternalServerError) String ¶
func (o *DeleteScanResultInternalServerError) String() string
type DeleteScanResultOK ¶
type DeleteScanResultOK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaspecQueryResponse }
DeleteScanResultOK describes a response with status code 200, with default header values.
OK
func NewDeleteScanResultOK ¶
func NewDeleteScanResultOK() *DeleteScanResultOK
NewDeleteScanResultOK creates a DeleteScanResultOK with default headers values
func (*DeleteScanResultOK) Code ¶
func (o *DeleteScanResultOK) Code() int
Code gets the status code for the delete scan result o k response
func (*DeleteScanResultOK) Error ¶
func (o *DeleteScanResultOK) Error() string
func (*DeleteScanResultOK) GetPayload ¶
func (o *DeleteScanResultOK) GetPayload() *models.MsaspecQueryResponse
func (*DeleteScanResultOK) IsClientError ¶
func (o *DeleteScanResultOK) IsClientError() bool
IsClientError returns true when this delete scan result o k response has a 4xx status code
func (*DeleteScanResultOK) IsCode ¶
func (o *DeleteScanResultOK) IsCode(code int) bool
IsCode returns true when this delete scan result o k response a status code equal to that given
func (*DeleteScanResultOK) IsRedirect ¶
func (o *DeleteScanResultOK) IsRedirect() bool
IsRedirect returns true when this delete scan result o k response has a 3xx status code
func (*DeleteScanResultOK) IsServerError ¶
func (o *DeleteScanResultOK) IsServerError() bool
IsServerError returns true when this delete scan result o k response has a 5xx status code
func (*DeleteScanResultOK) IsSuccess ¶
func (o *DeleteScanResultOK) IsSuccess() bool
IsSuccess returns true when this delete scan result o k response has a 2xx status code
func (*DeleteScanResultOK) String ¶
func (o *DeleteScanResultOK) String() string
type DeleteScanResultParams ¶
type DeleteScanResultParams struct { /* Ids. Scan job IDs previously created by LaunchScan */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteScanResultParams contains all the parameters to send to the API endpoint
for the delete scan result operation. Typically these are written to a http.Request.
func NewDeleteScanResultParams ¶
func NewDeleteScanResultParams() *DeleteScanResultParams
NewDeleteScanResultParams creates a new DeleteScanResultParams 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 NewDeleteScanResultParamsWithContext ¶
func NewDeleteScanResultParamsWithContext(ctx context.Context) *DeleteScanResultParams
NewDeleteScanResultParamsWithContext creates a new DeleteScanResultParams object with the ability to set a context for a request.
func NewDeleteScanResultParamsWithHTTPClient ¶
func NewDeleteScanResultParamsWithHTTPClient(client *http.Client) *DeleteScanResultParams
NewDeleteScanResultParamsWithHTTPClient creates a new DeleteScanResultParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteScanResultParamsWithTimeout ¶
func NewDeleteScanResultParamsWithTimeout(timeout time.Duration) *DeleteScanResultParams
NewDeleteScanResultParamsWithTimeout creates a new DeleteScanResultParams object with the ability to set a timeout on a request.
func (*DeleteScanResultParams) SetContext ¶
func (o *DeleteScanResultParams) SetContext(ctx context.Context)
SetContext adds the context to the delete scan result params
func (*DeleteScanResultParams) SetDefaults ¶
func (o *DeleteScanResultParams) SetDefaults()
SetDefaults hydrates default values in the delete scan result params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteScanResultParams) SetHTTPClient ¶
func (o *DeleteScanResultParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete scan result params
func (*DeleteScanResultParams) SetIds ¶
func (o *DeleteScanResultParams) SetIds(ids []string)
SetIds adds the ids to the delete scan result params
func (*DeleteScanResultParams) SetTimeout ¶
func (o *DeleteScanResultParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete scan result params
func (*DeleteScanResultParams) WithContext ¶
func (o *DeleteScanResultParams) WithContext(ctx context.Context) *DeleteScanResultParams
WithContext adds the context to the delete scan result params
func (*DeleteScanResultParams) WithDefaults ¶
func (o *DeleteScanResultParams) WithDefaults() *DeleteScanResultParams
WithDefaults hydrates default values in the delete scan result params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteScanResultParams) WithHTTPClient ¶
func (o *DeleteScanResultParams) WithHTTPClient(client *http.Client) *DeleteScanResultParams
WithHTTPClient adds the HTTPClient to the delete scan result params
func (*DeleteScanResultParams) WithIds ¶
func (o *DeleteScanResultParams) WithIds(ids []string) *DeleteScanResultParams
WithIds adds the ids to the delete scan result params
func (*DeleteScanResultParams) WithTimeout ¶
func (o *DeleteScanResultParams) WithTimeout(timeout time.Duration) *DeleteScanResultParams
WithTimeout adds the timeout to the delete scan result params
func (*DeleteScanResultParams) WriteToRequest ¶
func (o *DeleteScanResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteScanResultReader ¶
type DeleteScanResultReader struct {
// contains filtered or unexported fields
}
DeleteScanResultReader is a Reader for the DeleteScanResult structure.
func (*DeleteScanResultReader) ReadResponse ¶
func (o *DeleteScanResultReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteScanResultTooManyRequests ¶
type DeleteScanResultTooManyRequests 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 }
DeleteScanResultTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewDeleteScanResultTooManyRequests ¶
func NewDeleteScanResultTooManyRequests() *DeleteScanResultTooManyRequests
NewDeleteScanResultTooManyRequests creates a DeleteScanResultTooManyRequests with default headers values
func (*DeleteScanResultTooManyRequests) Code ¶
func (o *DeleteScanResultTooManyRequests) Code() int
Code gets the status code for the delete scan result too many requests response
func (*DeleteScanResultTooManyRequests) Error ¶
func (o *DeleteScanResultTooManyRequests) Error() string
func (*DeleteScanResultTooManyRequests) GetPayload ¶
func (o *DeleteScanResultTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*DeleteScanResultTooManyRequests) IsClientError ¶
func (o *DeleteScanResultTooManyRequests) IsClientError() bool
IsClientError returns true when this delete scan result too many requests response has a 4xx status code
func (*DeleteScanResultTooManyRequests) IsCode ¶
func (o *DeleteScanResultTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete scan result too many requests response a status code equal to that given
func (*DeleteScanResultTooManyRequests) IsRedirect ¶
func (o *DeleteScanResultTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete scan result too many requests response has a 3xx status code
func (*DeleteScanResultTooManyRequests) IsServerError ¶
func (o *DeleteScanResultTooManyRequests) IsServerError() bool
IsServerError returns true when this delete scan result too many requests response has a 5xx status code
func (*DeleteScanResultTooManyRequests) IsSuccess ¶
func (o *DeleteScanResultTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete scan result too many requests response has a 2xx status code
func (*DeleteScanResultTooManyRequests) String ¶
func (o *DeleteScanResultTooManyRequests) String() string
type GetScanResultForbidden ¶
type GetScanResultForbidden 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 }
GetScanResultForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetScanResultForbidden ¶
func NewGetScanResultForbidden() *GetScanResultForbidden
NewGetScanResultForbidden creates a GetScanResultForbidden with default headers values
func (*GetScanResultForbidden) Code ¶
func (o *GetScanResultForbidden) Code() int
Code gets the status code for the get scan result forbidden response
func (*GetScanResultForbidden) Error ¶
func (o *GetScanResultForbidden) Error() string
func (*GetScanResultForbidden) GetPayload ¶
func (o *GetScanResultForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*GetScanResultForbidden) IsClientError ¶
func (o *GetScanResultForbidden) IsClientError() bool
IsClientError returns true when this get scan result forbidden response has a 4xx status code
func (*GetScanResultForbidden) IsCode ¶
func (o *GetScanResultForbidden) IsCode(code int) bool
IsCode returns true when this get scan result forbidden response a status code equal to that given
func (*GetScanResultForbidden) IsRedirect ¶
func (o *GetScanResultForbidden) IsRedirect() bool
IsRedirect returns true when this get scan result forbidden response has a 3xx status code
func (*GetScanResultForbidden) IsServerError ¶
func (o *GetScanResultForbidden) IsServerError() bool
IsServerError returns true when this get scan result forbidden response has a 5xx status code
func (*GetScanResultForbidden) IsSuccess ¶
func (o *GetScanResultForbidden) IsSuccess() bool
IsSuccess returns true when this get scan result forbidden response has a 2xx status code
func (*GetScanResultForbidden) String ¶
func (o *GetScanResultForbidden) String() string
type GetScanResultInternalServerError ¶
type GetScanResultInternalServerError 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 }
GetScanResultInternalServerError describes a response with status code 500, with default header values.
Unexpected Error
func NewGetScanResultInternalServerError ¶
func NewGetScanResultInternalServerError() *GetScanResultInternalServerError
NewGetScanResultInternalServerError creates a GetScanResultInternalServerError with default headers values
func (*GetScanResultInternalServerError) Code ¶
func (o *GetScanResultInternalServerError) Code() int
Code gets the status code for the get scan result internal server error response
func (*GetScanResultInternalServerError) Error ¶
func (o *GetScanResultInternalServerError) Error() string
func (*GetScanResultInternalServerError) GetPayload ¶
func (o *GetScanResultInternalServerError) GetPayload() *models.MsaReplyMetaOnly
func (*GetScanResultInternalServerError) IsClientError ¶
func (o *GetScanResultInternalServerError) IsClientError() bool
IsClientError returns true when this get scan result internal server error response has a 4xx status code
func (*GetScanResultInternalServerError) IsCode ¶
func (o *GetScanResultInternalServerError) IsCode(code int) bool
IsCode returns true when this get scan result internal server error response a status code equal to that given
func (*GetScanResultInternalServerError) IsRedirect ¶
func (o *GetScanResultInternalServerError) IsRedirect() bool
IsRedirect returns true when this get scan result internal server error response has a 3xx status code
func (*GetScanResultInternalServerError) IsServerError ¶
func (o *GetScanResultInternalServerError) IsServerError() bool
IsServerError returns true when this get scan result internal server error response has a 5xx status code
func (*GetScanResultInternalServerError) IsSuccess ¶
func (o *GetScanResultInternalServerError) IsSuccess() bool
IsSuccess returns true when this get scan result internal server error response has a 2xx status code
func (*GetScanResultInternalServerError) String ¶
func (o *GetScanResultInternalServerError) String() string
type GetScanResultOK ¶
type GetScanResultOK 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.QuickscanproGetScanResultResponse }
GetScanResultOK describes a response with status code 200, with default header values.
OK
func NewGetScanResultOK ¶
func NewGetScanResultOK() *GetScanResultOK
NewGetScanResultOK creates a GetScanResultOK with default headers values
func (*GetScanResultOK) Code ¶
func (o *GetScanResultOK) Code() int
Code gets the status code for the get scan result o k response
func (*GetScanResultOK) Error ¶
func (o *GetScanResultOK) Error() string
func (*GetScanResultOK) GetPayload ¶
func (o *GetScanResultOK) GetPayload() *models.QuickscanproGetScanResultResponse
func (*GetScanResultOK) IsClientError ¶
func (o *GetScanResultOK) IsClientError() bool
IsClientError returns true when this get scan result o k response has a 4xx status code
func (*GetScanResultOK) IsCode ¶
func (o *GetScanResultOK) IsCode(code int) bool
IsCode returns true when this get scan result o k response a status code equal to that given
func (*GetScanResultOK) IsRedirect ¶
func (o *GetScanResultOK) IsRedirect() bool
IsRedirect returns true when this get scan result o k response has a 3xx status code
func (*GetScanResultOK) IsServerError ¶
func (o *GetScanResultOK) IsServerError() bool
IsServerError returns true when this get scan result o k response has a 5xx status code
func (*GetScanResultOK) IsSuccess ¶
func (o *GetScanResultOK) IsSuccess() bool
IsSuccess returns true when this get scan result o k response has a 2xx status code
func (*GetScanResultOK) String ¶
func (o *GetScanResultOK) String() string
type GetScanResultParams ¶
type GetScanResultParams struct { /* Ids. Scan job IDs previously created by LaunchScan */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetScanResultParams contains all the parameters to send to the API endpoint
for the get scan result operation. Typically these are written to a http.Request.
func NewGetScanResultParams ¶
func NewGetScanResultParams() *GetScanResultParams
NewGetScanResultParams creates a new GetScanResultParams 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 NewGetScanResultParamsWithContext ¶
func NewGetScanResultParamsWithContext(ctx context.Context) *GetScanResultParams
NewGetScanResultParamsWithContext creates a new GetScanResultParams object with the ability to set a context for a request.
func NewGetScanResultParamsWithHTTPClient ¶
func NewGetScanResultParamsWithHTTPClient(client *http.Client) *GetScanResultParams
NewGetScanResultParamsWithHTTPClient creates a new GetScanResultParams object with the ability to set a custom HTTPClient for a request.
func NewGetScanResultParamsWithTimeout ¶
func NewGetScanResultParamsWithTimeout(timeout time.Duration) *GetScanResultParams
NewGetScanResultParamsWithTimeout creates a new GetScanResultParams object with the ability to set a timeout on a request.
func (*GetScanResultParams) SetContext ¶
func (o *GetScanResultParams) SetContext(ctx context.Context)
SetContext adds the context to the get scan result params
func (*GetScanResultParams) SetDefaults ¶
func (o *GetScanResultParams) SetDefaults()
SetDefaults hydrates default values in the get scan result params (not the query body).
All values with no default are reset to their zero value.
func (*GetScanResultParams) SetHTTPClient ¶
func (o *GetScanResultParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get scan result params
func (*GetScanResultParams) SetIds ¶
func (o *GetScanResultParams) SetIds(ids []string)
SetIds adds the ids to the get scan result params
func (*GetScanResultParams) SetTimeout ¶
func (o *GetScanResultParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get scan result params
func (*GetScanResultParams) WithContext ¶
func (o *GetScanResultParams) WithContext(ctx context.Context) *GetScanResultParams
WithContext adds the context to the get scan result params
func (*GetScanResultParams) WithDefaults ¶
func (o *GetScanResultParams) WithDefaults() *GetScanResultParams
WithDefaults hydrates default values in the get scan result params (not the query body).
All values with no default are reset to their zero value.
func (*GetScanResultParams) WithHTTPClient ¶
func (o *GetScanResultParams) WithHTTPClient(client *http.Client) *GetScanResultParams
WithHTTPClient adds the HTTPClient to the get scan result params
func (*GetScanResultParams) WithIds ¶
func (o *GetScanResultParams) WithIds(ids []string) *GetScanResultParams
WithIds adds the ids to the get scan result params
func (*GetScanResultParams) WithTimeout ¶
func (o *GetScanResultParams) WithTimeout(timeout time.Duration) *GetScanResultParams
WithTimeout adds the timeout to the get scan result params
func (*GetScanResultParams) WriteToRequest ¶
func (o *GetScanResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetScanResultReader ¶
type GetScanResultReader struct {
// contains filtered or unexported fields
}
GetScanResultReader is a Reader for the GetScanResult structure.
func (*GetScanResultReader) ReadResponse ¶
func (o *GetScanResultReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetScanResultTooManyRequests ¶
type GetScanResultTooManyRequests 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 }
GetScanResultTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetScanResultTooManyRequests ¶
func NewGetScanResultTooManyRequests() *GetScanResultTooManyRequests
NewGetScanResultTooManyRequests creates a GetScanResultTooManyRequests with default headers values
func (*GetScanResultTooManyRequests) Code ¶
func (o *GetScanResultTooManyRequests) Code() int
Code gets the status code for the get scan result too many requests response
func (*GetScanResultTooManyRequests) Error ¶
func (o *GetScanResultTooManyRequests) Error() string
func (*GetScanResultTooManyRequests) GetPayload ¶
func (o *GetScanResultTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetScanResultTooManyRequests) IsClientError ¶
func (o *GetScanResultTooManyRequests) IsClientError() bool
IsClientError returns true when this get scan result too many requests response has a 4xx status code
func (*GetScanResultTooManyRequests) IsCode ¶
func (o *GetScanResultTooManyRequests) IsCode(code int) bool
IsCode returns true when this get scan result too many requests response a status code equal to that given
func (*GetScanResultTooManyRequests) IsRedirect ¶
func (o *GetScanResultTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get scan result too many requests response has a 3xx status code
func (*GetScanResultTooManyRequests) IsServerError ¶
func (o *GetScanResultTooManyRequests) IsServerError() bool
IsServerError returns true when this get scan result too many requests response has a 5xx status code
func (*GetScanResultTooManyRequests) IsSuccess ¶
func (o *GetScanResultTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get scan result too many requests response has a 2xx status code
func (*GetScanResultTooManyRequests) String ¶
func (o *GetScanResultTooManyRequests) String() string
type LaunchScanForbidden ¶
type LaunchScanForbidden 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 }
LaunchScanForbidden describes a response with status code 403, with default header values.
Forbidden
func NewLaunchScanForbidden ¶
func NewLaunchScanForbidden() *LaunchScanForbidden
NewLaunchScanForbidden creates a LaunchScanForbidden with default headers values
func (*LaunchScanForbidden) Code ¶
func (o *LaunchScanForbidden) Code() int
Code gets the status code for the launch scan forbidden response
func (*LaunchScanForbidden) Error ¶
func (o *LaunchScanForbidden) Error() string
func (*LaunchScanForbidden) GetPayload ¶
func (o *LaunchScanForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*LaunchScanForbidden) IsClientError ¶
func (o *LaunchScanForbidden) IsClientError() bool
IsClientError returns true when this launch scan forbidden response has a 4xx status code
func (*LaunchScanForbidden) IsCode ¶
func (o *LaunchScanForbidden) IsCode(code int) bool
IsCode returns true when this launch scan forbidden response a status code equal to that given
func (*LaunchScanForbidden) IsRedirect ¶
func (o *LaunchScanForbidden) IsRedirect() bool
IsRedirect returns true when this launch scan forbidden response has a 3xx status code
func (*LaunchScanForbidden) IsServerError ¶
func (o *LaunchScanForbidden) IsServerError() bool
IsServerError returns true when this launch scan forbidden response has a 5xx status code
func (*LaunchScanForbidden) IsSuccess ¶
func (o *LaunchScanForbidden) IsSuccess() bool
IsSuccess returns true when this launch scan forbidden response has a 2xx status code
func (*LaunchScanForbidden) String ¶
func (o *LaunchScanForbidden) String() string
type LaunchScanInternalServerError ¶
type LaunchScanInternalServerError 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 }
LaunchScanInternalServerError describes a response with status code 500, with default header values.
Unexpected Error
func NewLaunchScanInternalServerError ¶
func NewLaunchScanInternalServerError() *LaunchScanInternalServerError
NewLaunchScanInternalServerError creates a LaunchScanInternalServerError with default headers values
func (*LaunchScanInternalServerError) Code ¶
func (o *LaunchScanInternalServerError) Code() int
Code gets the status code for the launch scan internal server error response
func (*LaunchScanInternalServerError) Error ¶
func (o *LaunchScanInternalServerError) Error() string
func (*LaunchScanInternalServerError) GetPayload ¶
func (o *LaunchScanInternalServerError) GetPayload() *models.MsaReplyMetaOnly
func (*LaunchScanInternalServerError) IsClientError ¶
func (o *LaunchScanInternalServerError) IsClientError() bool
IsClientError returns true when this launch scan internal server error response has a 4xx status code
func (*LaunchScanInternalServerError) IsCode ¶
func (o *LaunchScanInternalServerError) IsCode(code int) bool
IsCode returns true when this launch scan internal server error response a status code equal to that given
func (*LaunchScanInternalServerError) IsRedirect ¶
func (o *LaunchScanInternalServerError) IsRedirect() bool
IsRedirect returns true when this launch scan internal server error response has a 3xx status code
func (*LaunchScanInternalServerError) IsServerError ¶
func (o *LaunchScanInternalServerError) IsServerError() bool
IsServerError returns true when this launch scan internal server error response has a 5xx status code
func (*LaunchScanInternalServerError) IsSuccess ¶
func (o *LaunchScanInternalServerError) IsSuccess() bool
IsSuccess returns true when this launch scan internal server error response has a 2xx status code
func (*LaunchScanInternalServerError) String ¶
func (o *LaunchScanInternalServerError) String() string
type LaunchScanOK ¶
type LaunchScanOK 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.QuickscanproLaunchScanResponse }
LaunchScanOK describes a response with status code 200, with default header values.
OK
func NewLaunchScanOK ¶
func NewLaunchScanOK() *LaunchScanOK
NewLaunchScanOK creates a LaunchScanOK with default headers values
func (*LaunchScanOK) Code ¶
func (o *LaunchScanOK) Code() int
Code gets the status code for the launch scan o k response
func (*LaunchScanOK) Error ¶
func (o *LaunchScanOK) Error() string
func (*LaunchScanOK) GetPayload ¶
func (o *LaunchScanOK) GetPayload() *models.QuickscanproLaunchScanResponse
func (*LaunchScanOK) IsClientError ¶
func (o *LaunchScanOK) IsClientError() bool
IsClientError returns true when this launch scan o k response has a 4xx status code
func (*LaunchScanOK) IsCode ¶
func (o *LaunchScanOK) IsCode(code int) bool
IsCode returns true when this launch scan o k response a status code equal to that given
func (*LaunchScanOK) IsRedirect ¶
func (o *LaunchScanOK) IsRedirect() bool
IsRedirect returns true when this launch scan o k response has a 3xx status code
func (*LaunchScanOK) IsServerError ¶
func (o *LaunchScanOK) IsServerError() bool
IsServerError returns true when this launch scan o k response has a 5xx status code
func (*LaunchScanOK) IsSuccess ¶
func (o *LaunchScanOK) IsSuccess() bool
IsSuccess returns true when this launch scan o k response has a 2xx status code
func (*LaunchScanOK) String ¶
func (o *LaunchScanOK) String() string
type LaunchScanParams ¶
type LaunchScanParams struct { // Body. Body *models.QuickscanproLaunchScanRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
LaunchScanParams contains all the parameters to send to the API endpoint
for the launch scan operation. Typically these are written to a http.Request.
func NewLaunchScanParams ¶
func NewLaunchScanParams() *LaunchScanParams
NewLaunchScanParams creates a new LaunchScanParams 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 NewLaunchScanParamsWithContext ¶
func NewLaunchScanParamsWithContext(ctx context.Context) *LaunchScanParams
NewLaunchScanParamsWithContext creates a new LaunchScanParams object with the ability to set a context for a request.
func NewLaunchScanParamsWithHTTPClient ¶
func NewLaunchScanParamsWithHTTPClient(client *http.Client) *LaunchScanParams
NewLaunchScanParamsWithHTTPClient creates a new LaunchScanParams object with the ability to set a custom HTTPClient for a request.
func NewLaunchScanParamsWithTimeout ¶
func NewLaunchScanParamsWithTimeout(timeout time.Duration) *LaunchScanParams
NewLaunchScanParamsWithTimeout creates a new LaunchScanParams object with the ability to set a timeout on a request.
func (*LaunchScanParams) SetBody ¶
func (o *LaunchScanParams) SetBody(body *models.QuickscanproLaunchScanRequest)
SetBody adds the body to the launch scan params
func (*LaunchScanParams) SetContext ¶
func (o *LaunchScanParams) SetContext(ctx context.Context)
SetContext adds the context to the launch scan params
func (*LaunchScanParams) SetDefaults ¶
func (o *LaunchScanParams) SetDefaults()
SetDefaults hydrates default values in the launch scan params (not the query body).
All values with no default are reset to their zero value.
func (*LaunchScanParams) SetHTTPClient ¶
func (o *LaunchScanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the launch scan params
func (*LaunchScanParams) SetTimeout ¶
func (o *LaunchScanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the launch scan params
func (*LaunchScanParams) WithBody ¶
func (o *LaunchScanParams) WithBody(body *models.QuickscanproLaunchScanRequest) *LaunchScanParams
WithBody adds the body to the launch scan params
func (*LaunchScanParams) WithContext ¶
func (o *LaunchScanParams) WithContext(ctx context.Context) *LaunchScanParams
WithContext adds the context to the launch scan params
func (*LaunchScanParams) WithDefaults ¶
func (o *LaunchScanParams) WithDefaults() *LaunchScanParams
WithDefaults hydrates default values in the launch scan params (not the query body).
All values with no default are reset to their zero value.
func (*LaunchScanParams) WithHTTPClient ¶
func (o *LaunchScanParams) WithHTTPClient(client *http.Client) *LaunchScanParams
WithHTTPClient adds the HTTPClient to the launch scan params
func (*LaunchScanParams) WithTimeout ¶
func (o *LaunchScanParams) WithTimeout(timeout time.Duration) *LaunchScanParams
WithTimeout adds the timeout to the launch scan params
func (*LaunchScanParams) WriteToRequest ¶
func (o *LaunchScanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LaunchScanReader ¶
type LaunchScanReader struct {
// contains filtered or unexported fields
}
LaunchScanReader is a Reader for the LaunchScan structure.
func (*LaunchScanReader) ReadResponse ¶
func (o *LaunchScanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LaunchScanTooManyRequests ¶
type LaunchScanTooManyRequests 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 }
LaunchScanTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewLaunchScanTooManyRequests ¶
func NewLaunchScanTooManyRequests() *LaunchScanTooManyRequests
NewLaunchScanTooManyRequests creates a LaunchScanTooManyRequests with default headers values
func (*LaunchScanTooManyRequests) Code ¶
func (o *LaunchScanTooManyRequests) Code() int
Code gets the status code for the launch scan too many requests response
func (*LaunchScanTooManyRequests) Error ¶
func (o *LaunchScanTooManyRequests) Error() string
func (*LaunchScanTooManyRequests) GetPayload ¶
func (o *LaunchScanTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*LaunchScanTooManyRequests) IsClientError ¶
func (o *LaunchScanTooManyRequests) IsClientError() bool
IsClientError returns true when this launch scan too many requests response has a 4xx status code
func (*LaunchScanTooManyRequests) IsCode ¶
func (o *LaunchScanTooManyRequests) IsCode(code int) bool
IsCode returns true when this launch scan too many requests response a status code equal to that given
func (*LaunchScanTooManyRequests) IsRedirect ¶
func (o *LaunchScanTooManyRequests) IsRedirect() bool
IsRedirect returns true when this launch scan too many requests response has a 3xx status code
func (*LaunchScanTooManyRequests) IsServerError ¶
func (o *LaunchScanTooManyRequests) IsServerError() bool
IsServerError returns true when this launch scan too many requests response has a 5xx status code
func (*LaunchScanTooManyRequests) IsSuccess ¶
func (o *LaunchScanTooManyRequests) IsSuccess() bool
IsSuccess returns true when this launch scan too many requests response has a 2xx status code
func (*LaunchScanTooManyRequests) String ¶
func (o *LaunchScanTooManyRequests) String() string
type QueryScanResultsForbidden ¶
type QueryScanResultsForbidden 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 }
QueryScanResultsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewQueryScanResultsForbidden ¶
func NewQueryScanResultsForbidden() *QueryScanResultsForbidden
NewQueryScanResultsForbidden creates a QueryScanResultsForbidden with default headers values
func (*QueryScanResultsForbidden) Code ¶
func (o *QueryScanResultsForbidden) Code() int
Code gets the status code for the query scan results forbidden response
func (*QueryScanResultsForbidden) Error ¶
func (o *QueryScanResultsForbidden) Error() string
func (*QueryScanResultsForbidden) GetPayload ¶
func (o *QueryScanResultsForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*QueryScanResultsForbidden) IsClientError ¶
func (o *QueryScanResultsForbidden) IsClientError() bool
IsClientError returns true when this query scan results forbidden response has a 4xx status code
func (*QueryScanResultsForbidden) IsCode ¶
func (o *QueryScanResultsForbidden) IsCode(code int) bool
IsCode returns true when this query scan results forbidden response a status code equal to that given
func (*QueryScanResultsForbidden) IsRedirect ¶
func (o *QueryScanResultsForbidden) IsRedirect() bool
IsRedirect returns true when this query scan results forbidden response has a 3xx status code
func (*QueryScanResultsForbidden) IsServerError ¶
func (o *QueryScanResultsForbidden) IsServerError() bool
IsServerError returns true when this query scan results forbidden response has a 5xx status code
func (*QueryScanResultsForbidden) IsSuccess ¶
func (o *QueryScanResultsForbidden) IsSuccess() bool
IsSuccess returns true when this query scan results forbidden response has a 2xx status code
func (*QueryScanResultsForbidden) String ¶
func (o *QueryScanResultsForbidden) String() string
type QueryScanResultsInternalServerError ¶
type QueryScanResultsInternalServerError 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 }
QueryScanResultsInternalServerError describes a response with status code 500, with default header values.
Unexpected Error
func NewQueryScanResultsInternalServerError ¶
func NewQueryScanResultsInternalServerError() *QueryScanResultsInternalServerError
NewQueryScanResultsInternalServerError creates a QueryScanResultsInternalServerError with default headers values
func (*QueryScanResultsInternalServerError) Code ¶
func (o *QueryScanResultsInternalServerError) Code() int
Code gets the status code for the query scan results internal server error response
func (*QueryScanResultsInternalServerError) Error ¶
func (o *QueryScanResultsInternalServerError) Error() string
func (*QueryScanResultsInternalServerError) GetPayload ¶
func (o *QueryScanResultsInternalServerError) GetPayload() *models.MsaReplyMetaOnly
func (*QueryScanResultsInternalServerError) IsClientError ¶
func (o *QueryScanResultsInternalServerError) IsClientError() bool
IsClientError returns true when this query scan results internal server error response has a 4xx status code
func (*QueryScanResultsInternalServerError) IsCode ¶
func (o *QueryScanResultsInternalServerError) IsCode(code int) bool
IsCode returns true when this query scan results internal server error response a status code equal to that given
func (*QueryScanResultsInternalServerError) IsRedirect ¶
func (o *QueryScanResultsInternalServerError) IsRedirect() bool
IsRedirect returns true when this query scan results internal server error response has a 3xx status code
func (*QueryScanResultsInternalServerError) IsServerError ¶
func (o *QueryScanResultsInternalServerError) IsServerError() bool
IsServerError returns true when this query scan results internal server error response has a 5xx status code
func (*QueryScanResultsInternalServerError) IsSuccess ¶
func (o *QueryScanResultsInternalServerError) IsSuccess() bool
IsSuccess returns true when this query scan results internal server error response has a 2xx status code
func (*QueryScanResultsInternalServerError) String ¶
func (o *QueryScanResultsInternalServerError) String() string
type QueryScanResultsOK ¶
type QueryScanResultsOK 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.QuickscanproQueryScanResultsResponse }
QueryScanResultsOK describes a response with status code 200, with default header values.
OK
func NewQueryScanResultsOK ¶
func NewQueryScanResultsOK() *QueryScanResultsOK
NewQueryScanResultsOK creates a QueryScanResultsOK with default headers values
func (*QueryScanResultsOK) Code ¶
func (o *QueryScanResultsOK) Code() int
Code gets the status code for the query scan results o k response
func (*QueryScanResultsOK) Error ¶
func (o *QueryScanResultsOK) Error() string
func (*QueryScanResultsOK) GetPayload ¶
func (o *QueryScanResultsOK) GetPayload() *models.QuickscanproQueryScanResultsResponse
func (*QueryScanResultsOK) IsClientError ¶
func (o *QueryScanResultsOK) IsClientError() bool
IsClientError returns true when this query scan results o k response has a 4xx status code
func (*QueryScanResultsOK) IsCode ¶
func (o *QueryScanResultsOK) IsCode(code int) bool
IsCode returns true when this query scan results o k response a status code equal to that given
func (*QueryScanResultsOK) IsRedirect ¶
func (o *QueryScanResultsOK) IsRedirect() bool
IsRedirect returns true when this query scan results o k response has a 3xx status code
func (*QueryScanResultsOK) IsServerError ¶
func (o *QueryScanResultsOK) IsServerError() bool
IsServerError returns true when this query scan results o k response has a 5xx status code
func (*QueryScanResultsOK) IsSuccess ¶
func (o *QueryScanResultsOK) IsSuccess() bool
IsSuccess returns true when this query scan results o k response has a 2xx status code
func (*QueryScanResultsOK) String ¶
func (o *QueryScanResultsOK) String() string
type QueryScanResultsParams ¶
type QueryScanResultsParams struct { /* Filter. FQL query which mentions the SHA256 field */ Filter string /* Limit. Maximum number of IDs to return. Max: 5000. Default: 50 */ Limit *int64 /* Offset. The offset to start retrieving ids from. */ Offset *int64 /* Sort. Sort order: `asc` or `desc`. Sort supported fields `created_timestamp` */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryScanResultsParams contains all the parameters to send to the API endpoint
for the query scan results operation. Typically these are written to a http.Request.
func NewQueryScanResultsParams ¶
func NewQueryScanResultsParams() *QueryScanResultsParams
NewQueryScanResultsParams creates a new QueryScanResultsParams 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 NewQueryScanResultsParamsWithContext ¶
func NewQueryScanResultsParamsWithContext(ctx context.Context) *QueryScanResultsParams
NewQueryScanResultsParamsWithContext creates a new QueryScanResultsParams object with the ability to set a context for a request.
func NewQueryScanResultsParamsWithHTTPClient ¶
func NewQueryScanResultsParamsWithHTTPClient(client *http.Client) *QueryScanResultsParams
NewQueryScanResultsParamsWithHTTPClient creates a new QueryScanResultsParams object with the ability to set a custom HTTPClient for a request.
func NewQueryScanResultsParamsWithTimeout ¶
func NewQueryScanResultsParamsWithTimeout(timeout time.Duration) *QueryScanResultsParams
NewQueryScanResultsParamsWithTimeout creates a new QueryScanResultsParams object with the ability to set a timeout on a request.
func (*QueryScanResultsParams) SetContext ¶
func (o *QueryScanResultsParams) SetContext(ctx context.Context)
SetContext adds the context to the query scan results params
func (*QueryScanResultsParams) SetDefaults ¶
func (o *QueryScanResultsParams) SetDefaults()
SetDefaults hydrates default values in the query scan results params (not the query body).
All values with no default are reset to their zero value.
func (*QueryScanResultsParams) SetFilter ¶
func (o *QueryScanResultsParams) SetFilter(filter string)
SetFilter adds the filter to the query scan results params
func (*QueryScanResultsParams) SetHTTPClient ¶
func (o *QueryScanResultsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query scan results params
func (*QueryScanResultsParams) SetLimit ¶
func (o *QueryScanResultsParams) SetLimit(limit *int64)
SetLimit adds the limit to the query scan results params
func (*QueryScanResultsParams) SetOffset ¶
func (o *QueryScanResultsParams) SetOffset(offset *int64)
SetOffset adds the offset to the query scan results params
func (*QueryScanResultsParams) SetSort ¶
func (o *QueryScanResultsParams) SetSort(sort *string)
SetSort adds the sort to the query scan results params
func (*QueryScanResultsParams) SetTimeout ¶
func (o *QueryScanResultsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query scan results params
func (*QueryScanResultsParams) WithContext ¶
func (o *QueryScanResultsParams) WithContext(ctx context.Context) *QueryScanResultsParams
WithContext adds the context to the query scan results params
func (*QueryScanResultsParams) WithDefaults ¶
func (o *QueryScanResultsParams) WithDefaults() *QueryScanResultsParams
WithDefaults hydrates default values in the query scan results params (not the query body).
All values with no default are reset to their zero value.
func (*QueryScanResultsParams) WithFilter ¶
func (o *QueryScanResultsParams) WithFilter(filter string) *QueryScanResultsParams
WithFilter adds the filter to the query scan results params
func (*QueryScanResultsParams) WithHTTPClient ¶
func (o *QueryScanResultsParams) WithHTTPClient(client *http.Client) *QueryScanResultsParams
WithHTTPClient adds the HTTPClient to the query scan results params
func (*QueryScanResultsParams) WithLimit ¶
func (o *QueryScanResultsParams) WithLimit(limit *int64) *QueryScanResultsParams
WithLimit adds the limit to the query scan results params
func (*QueryScanResultsParams) WithOffset ¶
func (o *QueryScanResultsParams) WithOffset(offset *int64) *QueryScanResultsParams
WithOffset adds the offset to the query scan results params
func (*QueryScanResultsParams) WithSort ¶
func (o *QueryScanResultsParams) WithSort(sort *string) *QueryScanResultsParams
WithSort adds the sort to the query scan results params
func (*QueryScanResultsParams) WithTimeout ¶
func (o *QueryScanResultsParams) WithTimeout(timeout time.Duration) *QueryScanResultsParams
WithTimeout adds the timeout to the query scan results params
func (*QueryScanResultsParams) WriteToRequest ¶
func (o *QueryScanResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryScanResultsReader ¶
type QueryScanResultsReader struct {
// contains filtered or unexported fields
}
QueryScanResultsReader is a Reader for the QueryScanResults structure.
func (*QueryScanResultsReader) ReadResponse ¶
func (o *QueryScanResultsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryScanResultsTooManyRequests ¶
type QueryScanResultsTooManyRequests 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 }
QueryScanResultsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQueryScanResultsTooManyRequests ¶
func NewQueryScanResultsTooManyRequests() *QueryScanResultsTooManyRequests
NewQueryScanResultsTooManyRequests creates a QueryScanResultsTooManyRequests with default headers values
func (*QueryScanResultsTooManyRequests) Code ¶
func (o *QueryScanResultsTooManyRequests) Code() int
Code gets the status code for the query scan results too many requests response
func (*QueryScanResultsTooManyRequests) Error ¶
func (o *QueryScanResultsTooManyRequests) Error() string
func (*QueryScanResultsTooManyRequests) GetPayload ¶
func (o *QueryScanResultsTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*QueryScanResultsTooManyRequests) IsClientError ¶
func (o *QueryScanResultsTooManyRequests) IsClientError() bool
IsClientError returns true when this query scan results too many requests response has a 4xx status code
func (*QueryScanResultsTooManyRequests) IsCode ¶
func (o *QueryScanResultsTooManyRequests) IsCode(code int) bool
IsCode returns true when this query scan results too many requests response a status code equal to that given
func (*QueryScanResultsTooManyRequests) IsRedirect ¶
func (o *QueryScanResultsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this query scan results too many requests response has a 3xx status code
func (*QueryScanResultsTooManyRequests) IsServerError ¶
func (o *QueryScanResultsTooManyRequests) IsServerError() bool
IsServerError returns true when this query scan results too many requests response has a 5xx status code
func (*QueryScanResultsTooManyRequests) IsSuccess ¶
func (o *QueryScanResultsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this query scan results too many requests response has a 2xx status code
func (*QueryScanResultsTooManyRequests) String ¶
func (o *QueryScanResultsTooManyRequests) String() string
type UploadFileMixin0Mixin93Forbidden ¶
type UploadFileMixin0Mixin93Forbidden 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 }
UploadFileMixin0Mixin93Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewUploadFileMixin0Mixin93Forbidden ¶
func NewUploadFileMixin0Mixin93Forbidden() *UploadFileMixin0Mixin93Forbidden
NewUploadFileMixin0Mixin93Forbidden creates a UploadFileMixin0Mixin93Forbidden with default headers values
func (*UploadFileMixin0Mixin93Forbidden) Code ¶
func (o *UploadFileMixin0Mixin93Forbidden) Code() int
Code gets the status code for the upload file mixin0 mixin93 forbidden response
func (*UploadFileMixin0Mixin93Forbidden) Error ¶
func (o *UploadFileMixin0Mixin93Forbidden) Error() string
func (*UploadFileMixin0Mixin93Forbidden) GetPayload ¶
func (o *UploadFileMixin0Mixin93Forbidden) GetPayload() *models.MsaReplyMetaOnly
func (*UploadFileMixin0Mixin93Forbidden) IsClientError ¶
func (o *UploadFileMixin0Mixin93Forbidden) IsClientError() bool
IsClientError returns true when this upload file mixin0 mixin93 forbidden response has a 4xx status code
func (*UploadFileMixin0Mixin93Forbidden) IsCode ¶
func (o *UploadFileMixin0Mixin93Forbidden) IsCode(code int) bool
IsCode returns true when this upload file mixin0 mixin93 forbidden response a status code equal to that given
func (*UploadFileMixin0Mixin93Forbidden) IsRedirect ¶
func (o *UploadFileMixin0Mixin93Forbidden) IsRedirect() bool
IsRedirect returns true when this upload file mixin0 mixin93 forbidden response has a 3xx status code
func (*UploadFileMixin0Mixin93Forbidden) IsServerError ¶
func (o *UploadFileMixin0Mixin93Forbidden) IsServerError() bool
IsServerError returns true when this upload file mixin0 mixin93 forbidden response has a 5xx status code
func (*UploadFileMixin0Mixin93Forbidden) IsSuccess ¶
func (o *UploadFileMixin0Mixin93Forbidden) IsSuccess() bool
IsSuccess returns true when this upload file mixin0 mixin93 forbidden response has a 2xx status code
func (*UploadFileMixin0Mixin93Forbidden) String ¶
func (o *UploadFileMixin0Mixin93Forbidden) String() string
type UploadFileMixin0Mixin93InternalServerError ¶
type UploadFileMixin0Mixin93InternalServerError 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 }
UploadFileMixin0Mixin93InternalServerError describes a response with status code 500, with default header values.
Unexpected Error
func NewUploadFileMixin0Mixin93InternalServerError ¶
func NewUploadFileMixin0Mixin93InternalServerError() *UploadFileMixin0Mixin93InternalServerError
NewUploadFileMixin0Mixin93InternalServerError creates a UploadFileMixin0Mixin93InternalServerError with default headers values
func (*UploadFileMixin0Mixin93InternalServerError) Code ¶
func (o *UploadFileMixin0Mixin93InternalServerError) Code() int
Code gets the status code for the upload file mixin0 mixin93 internal server error response
func (*UploadFileMixin0Mixin93InternalServerError) Error ¶
func (o *UploadFileMixin0Mixin93InternalServerError) Error() string
func (*UploadFileMixin0Mixin93InternalServerError) GetPayload ¶
func (o *UploadFileMixin0Mixin93InternalServerError) GetPayload() *models.MsaReplyMetaOnly
func (*UploadFileMixin0Mixin93InternalServerError) IsClientError ¶
func (o *UploadFileMixin0Mixin93InternalServerError) IsClientError() bool
IsClientError returns true when this upload file mixin0 mixin93 internal server error response has a 4xx status code
func (*UploadFileMixin0Mixin93InternalServerError) IsCode ¶
func (o *UploadFileMixin0Mixin93InternalServerError) IsCode(code int) bool
IsCode returns true when this upload file mixin0 mixin93 internal server error response a status code equal to that given
func (*UploadFileMixin0Mixin93InternalServerError) IsRedirect ¶
func (o *UploadFileMixin0Mixin93InternalServerError) IsRedirect() bool
IsRedirect returns true when this upload file mixin0 mixin93 internal server error response has a 3xx status code
func (*UploadFileMixin0Mixin93InternalServerError) IsServerError ¶
func (o *UploadFileMixin0Mixin93InternalServerError) IsServerError() bool
IsServerError returns true when this upload file mixin0 mixin93 internal server error response has a 5xx status code
func (*UploadFileMixin0Mixin93InternalServerError) IsSuccess ¶
func (o *UploadFileMixin0Mixin93InternalServerError) IsSuccess() bool
IsSuccess returns true when this upload file mixin0 mixin93 internal server error response has a 2xx status code
func (*UploadFileMixin0Mixin93InternalServerError) String ¶
func (o *UploadFileMixin0Mixin93InternalServerError) String() string
type UploadFileMixin0Mixin93OK ¶
type UploadFileMixin0Mixin93OK 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.QuickscanproFileUploadResponse }
UploadFileMixin0Mixin93OK describes a response with status code 200, with default header values.
OK
func NewUploadFileMixin0Mixin93OK ¶
func NewUploadFileMixin0Mixin93OK() *UploadFileMixin0Mixin93OK
NewUploadFileMixin0Mixin93OK creates a UploadFileMixin0Mixin93OK with default headers values
func (*UploadFileMixin0Mixin93OK) Code ¶
func (o *UploadFileMixin0Mixin93OK) Code() int
Code gets the status code for the upload file mixin0 mixin93 o k response
func (*UploadFileMixin0Mixin93OK) Error ¶
func (o *UploadFileMixin0Mixin93OK) Error() string
func (*UploadFileMixin0Mixin93OK) GetPayload ¶
func (o *UploadFileMixin0Mixin93OK) GetPayload() *models.QuickscanproFileUploadResponse
func (*UploadFileMixin0Mixin93OK) IsClientError ¶
func (o *UploadFileMixin0Mixin93OK) IsClientError() bool
IsClientError returns true when this upload file mixin0 mixin93 o k response has a 4xx status code
func (*UploadFileMixin0Mixin93OK) IsCode ¶
func (o *UploadFileMixin0Mixin93OK) IsCode(code int) bool
IsCode returns true when this upload file mixin0 mixin93 o k response a status code equal to that given
func (*UploadFileMixin0Mixin93OK) IsRedirect ¶
func (o *UploadFileMixin0Mixin93OK) IsRedirect() bool
IsRedirect returns true when this upload file mixin0 mixin93 o k response has a 3xx status code
func (*UploadFileMixin0Mixin93OK) IsServerError ¶
func (o *UploadFileMixin0Mixin93OK) IsServerError() bool
IsServerError returns true when this upload file mixin0 mixin93 o k response has a 5xx status code
func (*UploadFileMixin0Mixin93OK) IsSuccess ¶
func (o *UploadFileMixin0Mixin93OK) IsSuccess() bool
IsSuccess returns true when this upload file mixin0 mixin93 o k response has a 2xx status code
func (*UploadFileMixin0Mixin93OK) String ¶
func (o *UploadFileMixin0Mixin93OK) String() string
type UploadFileMixin0Mixin93Params ¶
type UploadFileMixin0Mixin93Params struct { /* File. Binary file to be uploaded. Max file size: 256 MB. */ File runtime.NamedReadCloser /* Scan. If true, after upload, it starts scanning immediately. Default scan mode is 'false' */ Scan *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadFileMixin0Mixin93Params contains all the parameters to send to the API endpoint
for the upload file mixin0 mixin93 operation. Typically these are written to a http.Request.
func NewUploadFileMixin0Mixin93Params ¶
func NewUploadFileMixin0Mixin93Params() *UploadFileMixin0Mixin93Params
NewUploadFileMixin0Mixin93Params creates a new UploadFileMixin0Mixin93Params 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 NewUploadFileMixin0Mixin93ParamsWithContext ¶
func NewUploadFileMixin0Mixin93ParamsWithContext(ctx context.Context) *UploadFileMixin0Mixin93Params
NewUploadFileMixin0Mixin93ParamsWithContext creates a new UploadFileMixin0Mixin93Params object with the ability to set a context for a request.
func NewUploadFileMixin0Mixin93ParamsWithHTTPClient ¶
func NewUploadFileMixin0Mixin93ParamsWithHTTPClient(client *http.Client) *UploadFileMixin0Mixin93Params
NewUploadFileMixin0Mixin93ParamsWithHTTPClient creates a new UploadFileMixin0Mixin93Params object with the ability to set a custom HTTPClient for a request.
func NewUploadFileMixin0Mixin93ParamsWithTimeout ¶
func NewUploadFileMixin0Mixin93ParamsWithTimeout(timeout time.Duration) *UploadFileMixin0Mixin93Params
NewUploadFileMixin0Mixin93ParamsWithTimeout creates a new UploadFileMixin0Mixin93Params object with the ability to set a timeout on a request.
func (*UploadFileMixin0Mixin93Params) SetContext ¶
func (o *UploadFileMixin0Mixin93Params) SetContext(ctx context.Context)
SetContext adds the context to the upload file mixin0 mixin93 params
func (*UploadFileMixin0Mixin93Params) SetDefaults ¶
func (o *UploadFileMixin0Mixin93Params) SetDefaults()
SetDefaults hydrates default values in the upload file mixin0 mixin93 params (not the query body).
All values with no default are reset to their zero value.
func (*UploadFileMixin0Mixin93Params) SetFile ¶
func (o *UploadFileMixin0Mixin93Params) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the upload file mixin0 mixin93 params
func (*UploadFileMixin0Mixin93Params) SetHTTPClient ¶
func (o *UploadFileMixin0Mixin93Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload file mixin0 mixin93 params
func (*UploadFileMixin0Mixin93Params) SetScan ¶
func (o *UploadFileMixin0Mixin93Params) SetScan(scan *bool)
SetScan adds the scan to the upload file mixin0 mixin93 params
func (*UploadFileMixin0Mixin93Params) SetTimeout ¶
func (o *UploadFileMixin0Mixin93Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload file mixin0 mixin93 params
func (*UploadFileMixin0Mixin93Params) WithContext ¶
func (o *UploadFileMixin0Mixin93Params) WithContext(ctx context.Context) *UploadFileMixin0Mixin93Params
WithContext adds the context to the upload file mixin0 mixin93 params
func (*UploadFileMixin0Mixin93Params) WithDefaults ¶
func (o *UploadFileMixin0Mixin93Params) WithDefaults() *UploadFileMixin0Mixin93Params
WithDefaults hydrates default values in the upload file mixin0 mixin93 params (not the query body).
All values with no default are reset to their zero value.
func (*UploadFileMixin0Mixin93Params) WithFile ¶
func (o *UploadFileMixin0Mixin93Params) WithFile(file runtime.NamedReadCloser) *UploadFileMixin0Mixin93Params
WithFile adds the file to the upload file mixin0 mixin93 params
func (*UploadFileMixin0Mixin93Params) WithHTTPClient ¶
func (o *UploadFileMixin0Mixin93Params) WithHTTPClient(client *http.Client) *UploadFileMixin0Mixin93Params
WithHTTPClient adds the HTTPClient to the upload file mixin0 mixin93 params
func (*UploadFileMixin0Mixin93Params) WithScan ¶
func (o *UploadFileMixin0Mixin93Params) WithScan(scan *bool) *UploadFileMixin0Mixin93Params
WithScan adds the scan to the upload file mixin0 mixin93 params
func (*UploadFileMixin0Mixin93Params) WithTimeout ¶
func (o *UploadFileMixin0Mixin93Params) WithTimeout(timeout time.Duration) *UploadFileMixin0Mixin93Params
WithTimeout adds the timeout to the upload file mixin0 mixin93 params
func (*UploadFileMixin0Mixin93Params) WriteToRequest ¶
func (o *UploadFileMixin0Mixin93Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadFileMixin0Mixin93Reader ¶
type UploadFileMixin0Mixin93Reader struct {
// contains filtered or unexported fields
}
UploadFileMixin0Mixin93Reader is a Reader for the UploadFileMixin0Mixin93 structure.
func (*UploadFileMixin0Mixin93Reader) ReadResponse ¶
func (o *UploadFileMixin0Mixin93Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadFileMixin0Mixin93TooManyRequests ¶
type UploadFileMixin0Mixin93TooManyRequests 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 }
UploadFileMixin0Mixin93TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewUploadFileMixin0Mixin93TooManyRequests ¶
func NewUploadFileMixin0Mixin93TooManyRequests() *UploadFileMixin0Mixin93TooManyRequests
NewUploadFileMixin0Mixin93TooManyRequests creates a UploadFileMixin0Mixin93TooManyRequests with default headers values
func (*UploadFileMixin0Mixin93TooManyRequests) Code ¶
func (o *UploadFileMixin0Mixin93TooManyRequests) Code() int
Code gets the status code for the upload file mixin0 mixin93 too many requests response
func (*UploadFileMixin0Mixin93TooManyRequests) Error ¶
func (o *UploadFileMixin0Mixin93TooManyRequests) Error() string
func (*UploadFileMixin0Mixin93TooManyRequests) GetPayload ¶
func (o *UploadFileMixin0Mixin93TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*UploadFileMixin0Mixin93TooManyRequests) IsClientError ¶
func (o *UploadFileMixin0Mixin93TooManyRequests) IsClientError() bool
IsClientError returns true when this upload file mixin0 mixin93 too many requests response has a 4xx status code
func (*UploadFileMixin0Mixin93TooManyRequests) IsCode ¶
func (o *UploadFileMixin0Mixin93TooManyRequests) IsCode(code int) bool
IsCode returns true when this upload file mixin0 mixin93 too many requests response a status code equal to that given
func (*UploadFileMixin0Mixin93TooManyRequests) IsRedirect ¶
func (o *UploadFileMixin0Mixin93TooManyRequests) IsRedirect() bool
IsRedirect returns true when this upload file mixin0 mixin93 too many requests response has a 3xx status code
func (*UploadFileMixin0Mixin93TooManyRequests) IsServerError ¶
func (o *UploadFileMixin0Mixin93TooManyRequests) IsServerError() bool
IsServerError returns true when this upload file mixin0 mixin93 too many requests response has a 5xx status code
func (*UploadFileMixin0Mixin93TooManyRequests) IsSuccess ¶
func (o *UploadFileMixin0Mixin93TooManyRequests) IsSuccess() bool
IsSuccess returns true when this upload file mixin0 mixin93 too many requests response has a 2xx status code
func (*UploadFileMixin0Mixin93TooManyRequests) String ¶
func (o *UploadFileMixin0Mixin93TooManyRequests) String() string
Source Files ¶
- delete_file_parameters.go
- delete_file_responses.go
- delete_scan_result_parameters.go
- delete_scan_result_responses.go
- get_scan_result_parameters.go
- get_scan_result_responses.go
- launch_scan_parameters.go
- launch_scan_responses.go
- query_scan_results_parameters.go
- query_scan_results_responses.go
- quick_scan_pro_client.go
- upload_file_mixin0_mixin93_parameters.go
- upload_file_mixin0_mixin93_responses.go