Documentation ¶
Index ¶
- type Client
- func (a *Client) CombinedQueryVulnerabilities(params *CombinedQueryVulnerabilitiesParams, opts ...ClientOption) (*CombinedQueryVulnerabilitiesOK, error)
- func (a *Client) GetRemediationsV2(params *GetRemediationsV2Params, opts ...ClientOption) (*GetRemediationsV2OK, error)
- func (a *Client) GetVulnerabilities(params *GetVulnerabilitiesParams, opts ...ClientOption) (*GetVulnerabilitiesOK, error)
- func (a *Client) QueryVulnerabilities(params *QueryVulnerabilitiesParams, opts ...ClientOption) (*QueryVulnerabilitiesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CombinedQueryVulnerabilitiesBadRequest
- func (o *CombinedQueryVulnerabilitiesBadRequest) Code() int
- func (o *CombinedQueryVulnerabilitiesBadRequest) Error() string
- func (o *CombinedQueryVulnerabilitiesBadRequest) GetPayload() *models.DomainSPAPICombinedVulnerabilitiesResponse
- func (o *CombinedQueryVulnerabilitiesBadRequest) IsClientError() bool
- func (o *CombinedQueryVulnerabilitiesBadRequest) IsCode(code int) bool
- func (o *CombinedQueryVulnerabilitiesBadRequest) IsRedirect() bool
- func (o *CombinedQueryVulnerabilitiesBadRequest) IsServerError() bool
- func (o *CombinedQueryVulnerabilitiesBadRequest) IsSuccess() bool
- func (o *CombinedQueryVulnerabilitiesBadRequest) String() string
- type CombinedQueryVulnerabilitiesForbidden
- func (o *CombinedQueryVulnerabilitiesForbidden) Code() int
- func (o *CombinedQueryVulnerabilitiesForbidden) Error() string
- func (o *CombinedQueryVulnerabilitiesForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *CombinedQueryVulnerabilitiesForbidden) IsClientError() bool
- func (o *CombinedQueryVulnerabilitiesForbidden) IsCode(code int) bool
- func (o *CombinedQueryVulnerabilitiesForbidden) IsRedirect() bool
- func (o *CombinedQueryVulnerabilitiesForbidden) IsServerError() bool
- func (o *CombinedQueryVulnerabilitiesForbidden) IsSuccess() bool
- func (o *CombinedQueryVulnerabilitiesForbidden) String() string
- type CombinedQueryVulnerabilitiesInternalServerError
- func (o *CombinedQueryVulnerabilitiesInternalServerError) Code() int
- func (o *CombinedQueryVulnerabilitiesInternalServerError) Error() string
- func (o *CombinedQueryVulnerabilitiesInternalServerError) GetPayload() *models.DomainSPAPICombinedVulnerabilitiesResponse
- func (o *CombinedQueryVulnerabilitiesInternalServerError) IsClientError() bool
- func (o *CombinedQueryVulnerabilitiesInternalServerError) IsCode(code int) bool
- func (o *CombinedQueryVulnerabilitiesInternalServerError) IsRedirect() bool
- func (o *CombinedQueryVulnerabilitiesInternalServerError) IsServerError() bool
- func (o *CombinedQueryVulnerabilitiesInternalServerError) IsSuccess() bool
- func (o *CombinedQueryVulnerabilitiesInternalServerError) String() string
- type CombinedQueryVulnerabilitiesOK
- func (o *CombinedQueryVulnerabilitiesOK) Code() int
- func (o *CombinedQueryVulnerabilitiesOK) Error() string
- func (o *CombinedQueryVulnerabilitiesOK) GetPayload() *models.DomainSPAPICombinedVulnerabilitiesResponse
- func (o *CombinedQueryVulnerabilitiesOK) IsClientError() bool
- func (o *CombinedQueryVulnerabilitiesOK) IsCode(code int) bool
- func (o *CombinedQueryVulnerabilitiesOK) IsRedirect() bool
- func (o *CombinedQueryVulnerabilitiesOK) IsServerError() bool
- func (o *CombinedQueryVulnerabilitiesOK) IsSuccess() bool
- func (o *CombinedQueryVulnerabilitiesOK) String() string
- type CombinedQueryVulnerabilitiesParams
- func NewCombinedQueryVulnerabilitiesParams() *CombinedQueryVulnerabilitiesParams
- func NewCombinedQueryVulnerabilitiesParamsWithContext(ctx context.Context) *CombinedQueryVulnerabilitiesParams
- func NewCombinedQueryVulnerabilitiesParamsWithHTTPClient(client *http.Client) *CombinedQueryVulnerabilitiesParams
- func NewCombinedQueryVulnerabilitiesParamsWithTimeout(timeout time.Duration) *CombinedQueryVulnerabilitiesParams
- func (o *CombinedQueryVulnerabilitiesParams) SetAfter(after *string)
- func (o *CombinedQueryVulnerabilitiesParams) SetContext(ctx context.Context)
- func (o *CombinedQueryVulnerabilitiesParams) SetDefaults()
- func (o *CombinedQueryVulnerabilitiesParams) SetFacet(facet []string)
- func (o *CombinedQueryVulnerabilitiesParams) SetFilter(filter string)
- func (o *CombinedQueryVulnerabilitiesParams) SetHTTPClient(client *http.Client)
- func (o *CombinedQueryVulnerabilitiesParams) SetLimit(limit *int64)
- func (o *CombinedQueryVulnerabilitiesParams) SetSort(sort *string)
- func (o *CombinedQueryVulnerabilitiesParams) SetTimeout(timeout time.Duration)
- func (o *CombinedQueryVulnerabilitiesParams) WithAfter(after *string) *CombinedQueryVulnerabilitiesParams
- func (o *CombinedQueryVulnerabilitiesParams) WithContext(ctx context.Context) *CombinedQueryVulnerabilitiesParams
- func (o *CombinedQueryVulnerabilitiesParams) WithDefaults() *CombinedQueryVulnerabilitiesParams
- func (o *CombinedQueryVulnerabilitiesParams) WithFacet(facet []string) *CombinedQueryVulnerabilitiesParams
- func (o *CombinedQueryVulnerabilitiesParams) WithFilter(filter string) *CombinedQueryVulnerabilitiesParams
- func (o *CombinedQueryVulnerabilitiesParams) WithHTTPClient(client *http.Client) *CombinedQueryVulnerabilitiesParams
- func (o *CombinedQueryVulnerabilitiesParams) WithLimit(limit *int64) *CombinedQueryVulnerabilitiesParams
- func (o *CombinedQueryVulnerabilitiesParams) WithSort(sort *string) *CombinedQueryVulnerabilitiesParams
- func (o *CombinedQueryVulnerabilitiesParams) WithTimeout(timeout time.Duration) *CombinedQueryVulnerabilitiesParams
- func (o *CombinedQueryVulnerabilitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CombinedQueryVulnerabilitiesReader
- type CombinedQueryVulnerabilitiesServiceUnavailable
- func (o *CombinedQueryVulnerabilitiesServiceUnavailable) Code() int
- func (o *CombinedQueryVulnerabilitiesServiceUnavailable) Error() string
- func (o *CombinedQueryVulnerabilitiesServiceUnavailable) GetPayload() *models.DomainSPAPICombinedVulnerabilitiesResponse
- func (o *CombinedQueryVulnerabilitiesServiceUnavailable) IsClientError() bool
- func (o *CombinedQueryVulnerabilitiesServiceUnavailable) IsCode(code int) bool
- func (o *CombinedQueryVulnerabilitiesServiceUnavailable) IsRedirect() bool
- func (o *CombinedQueryVulnerabilitiesServiceUnavailable) IsServerError() bool
- func (o *CombinedQueryVulnerabilitiesServiceUnavailable) IsSuccess() bool
- func (o *CombinedQueryVulnerabilitiesServiceUnavailable) String() string
- type CombinedQueryVulnerabilitiesTooManyRequests
- func (o *CombinedQueryVulnerabilitiesTooManyRequests) Code() int
- func (o *CombinedQueryVulnerabilitiesTooManyRequests) Error() string
- func (o *CombinedQueryVulnerabilitiesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *CombinedQueryVulnerabilitiesTooManyRequests) IsClientError() bool
- func (o *CombinedQueryVulnerabilitiesTooManyRequests) IsCode(code int) bool
- func (o *CombinedQueryVulnerabilitiesTooManyRequests) IsRedirect() bool
- func (o *CombinedQueryVulnerabilitiesTooManyRequests) IsServerError() bool
- func (o *CombinedQueryVulnerabilitiesTooManyRequests) IsSuccess() bool
- func (o *CombinedQueryVulnerabilitiesTooManyRequests) String() string
- type GetRemediationsV2Forbidden
- func (o *GetRemediationsV2Forbidden) Code() int
- func (o *GetRemediationsV2Forbidden) Error() string
- func (o *GetRemediationsV2Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetRemediationsV2Forbidden) IsClientError() bool
- func (o *GetRemediationsV2Forbidden) IsCode(code int) bool
- func (o *GetRemediationsV2Forbidden) IsRedirect() bool
- func (o *GetRemediationsV2Forbidden) IsServerError() bool
- func (o *GetRemediationsV2Forbidden) IsSuccess() bool
- func (o *GetRemediationsV2Forbidden) String() string
- type GetRemediationsV2InternalServerError
- func (o *GetRemediationsV2InternalServerError) Code() int
- func (o *GetRemediationsV2InternalServerError) Error() string
- func (o *GetRemediationsV2InternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetRemediationsV2InternalServerError) IsClientError() bool
- func (o *GetRemediationsV2InternalServerError) IsCode(code int) bool
- func (o *GetRemediationsV2InternalServerError) IsRedirect() bool
- func (o *GetRemediationsV2InternalServerError) IsServerError() bool
- func (o *GetRemediationsV2InternalServerError) IsSuccess() bool
- func (o *GetRemediationsV2InternalServerError) String() string
- type GetRemediationsV2OK
- func (o *GetRemediationsV2OK) Code() int
- func (o *GetRemediationsV2OK) Error() string
- func (o *GetRemediationsV2OK) GetPayload() *models.DomainSPAPIRemediationEntitiesResponseV2
- func (o *GetRemediationsV2OK) IsClientError() bool
- func (o *GetRemediationsV2OK) IsCode(code int) bool
- func (o *GetRemediationsV2OK) IsRedirect() bool
- func (o *GetRemediationsV2OK) IsServerError() bool
- func (o *GetRemediationsV2OK) IsSuccess() bool
- func (o *GetRemediationsV2OK) String() string
- type GetRemediationsV2Params
- func NewGetRemediationsV2Params() *GetRemediationsV2Params
- func NewGetRemediationsV2ParamsWithContext(ctx context.Context) *GetRemediationsV2Params
- func NewGetRemediationsV2ParamsWithHTTPClient(client *http.Client) *GetRemediationsV2Params
- func NewGetRemediationsV2ParamsWithTimeout(timeout time.Duration) *GetRemediationsV2Params
- func (o *GetRemediationsV2Params) SetContext(ctx context.Context)
- func (o *GetRemediationsV2Params) SetDefaults()
- func (o *GetRemediationsV2Params) SetHTTPClient(client *http.Client)
- func (o *GetRemediationsV2Params) SetIds(ids []string)
- func (o *GetRemediationsV2Params) SetTimeout(timeout time.Duration)
- func (o *GetRemediationsV2Params) WithContext(ctx context.Context) *GetRemediationsV2Params
- func (o *GetRemediationsV2Params) WithDefaults() *GetRemediationsV2Params
- func (o *GetRemediationsV2Params) WithHTTPClient(client *http.Client) *GetRemediationsV2Params
- func (o *GetRemediationsV2Params) WithIds(ids []string) *GetRemediationsV2Params
- func (o *GetRemediationsV2Params) WithTimeout(timeout time.Duration) *GetRemediationsV2Params
- func (o *GetRemediationsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRemediationsV2Reader
- type GetRemediationsV2ServiceUnavailable
- func (o *GetRemediationsV2ServiceUnavailable) Code() int
- func (o *GetRemediationsV2ServiceUnavailable) Error() string
- func (o *GetRemediationsV2ServiceUnavailable) GetPayload() *models.DomainSPAPIRemediationEntitiesResponseV2
- func (o *GetRemediationsV2ServiceUnavailable) IsClientError() bool
- func (o *GetRemediationsV2ServiceUnavailable) IsCode(code int) bool
- func (o *GetRemediationsV2ServiceUnavailable) IsRedirect() bool
- func (o *GetRemediationsV2ServiceUnavailable) IsServerError() bool
- func (o *GetRemediationsV2ServiceUnavailable) IsSuccess() bool
- func (o *GetRemediationsV2ServiceUnavailable) String() string
- type GetRemediationsV2TooManyRequests
- func (o *GetRemediationsV2TooManyRequests) Code() int
- func (o *GetRemediationsV2TooManyRequests) Error() string
- func (o *GetRemediationsV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetRemediationsV2TooManyRequests) IsClientError() bool
- func (o *GetRemediationsV2TooManyRequests) IsCode(code int) bool
- func (o *GetRemediationsV2TooManyRequests) IsRedirect() bool
- func (o *GetRemediationsV2TooManyRequests) IsServerError() bool
- func (o *GetRemediationsV2TooManyRequests) IsSuccess() bool
- func (o *GetRemediationsV2TooManyRequests) String() string
- type GetVulnerabilitiesForbidden
- func (o *GetVulnerabilitiesForbidden) Code() int
- func (o *GetVulnerabilitiesForbidden) Error() string
- func (o *GetVulnerabilitiesForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetVulnerabilitiesForbidden) IsClientError() bool
- func (o *GetVulnerabilitiesForbidden) IsCode(code int) bool
- func (o *GetVulnerabilitiesForbidden) IsRedirect() bool
- func (o *GetVulnerabilitiesForbidden) IsServerError() bool
- func (o *GetVulnerabilitiesForbidden) IsSuccess() bool
- func (o *GetVulnerabilitiesForbidden) String() string
- type GetVulnerabilitiesInternalServerError
- func (o *GetVulnerabilitiesInternalServerError) Code() int
- func (o *GetVulnerabilitiesInternalServerError) Error() string
- func (o *GetVulnerabilitiesInternalServerError) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetVulnerabilitiesInternalServerError) IsClientError() bool
- func (o *GetVulnerabilitiesInternalServerError) IsCode(code int) bool
- func (o *GetVulnerabilitiesInternalServerError) IsRedirect() bool
- func (o *GetVulnerabilitiesInternalServerError) IsServerError() bool
- func (o *GetVulnerabilitiesInternalServerError) IsSuccess() bool
- func (o *GetVulnerabilitiesInternalServerError) String() string
- type GetVulnerabilitiesOK
- func (o *GetVulnerabilitiesOK) Code() int
- func (o *GetVulnerabilitiesOK) Error() string
- func (o *GetVulnerabilitiesOK) GetPayload() *models.DomainSPAPIVulnerabilitiesEntitiesResponseV2
- func (o *GetVulnerabilitiesOK) IsClientError() bool
- func (o *GetVulnerabilitiesOK) IsCode(code int) bool
- func (o *GetVulnerabilitiesOK) IsRedirect() bool
- func (o *GetVulnerabilitiesOK) IsServerError() bool
- func (o *GetVulnerabilitiesOK) IsSuccess() bool
- func (o *GetVulnerabilitiesOK) String() string
- type GetVulnerabilitiesParams
- func NewGetVulnerabilitiesParams() *GetVulnerabilitiesParams
- func NewGetVulnerabilitiesParamsWithContext(ctx context.Context) *GetVulnerabilitiesParams
- func NewGetVulnerabilitiesParamsWithHTTPClient(client *http.Client) *GetVulnerabilitiesParams
- func NewGetVulnerabilitiesParamsWithTimeout(timeout time.Duration) *GetVulnerabilitiesParams
- func (o *GetVulnerabilitiesParams) SetContext(ctx context.Context)
- func (o *GetVulnerabilitiesParams) SetDefaults()
- func (o *GetVulnerabilitiesParams) SetHTTPClient(client *http.Client)
- func (o *GetVulnerabilitiesParams) SetIds(ids []string)
- func (o *GetVulnerabilitiesParams) SetTimeout(timeout time.Duration)
- func (o *GetVulnerabilitiesParams) WithContext(ctx context.Context) *GetVulnerabilitiesParams
- func (o *GetVulnerabilitiesParams) WithDefaults() *GetVulnerabilitiesParams
- func (o *GetVulnerabilitiesParams) WithHTTPClient(client *http.Client) *GetVulnerabilitiesParams
- func (o *GetVulnerabilitiesParams) WithIds(ids []string) *GetVulnerabilitiesParams
- func (o *GetVulnerabilitiesParams) WithTimeout(timeout time.Duration) *GetVulnerabilitiesParams
- func (o *GetVulnerabilitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVulnerabilitiesReader
- type GetVulnerabilitiesServiceUnavailable
- func (o *GetVulnerabilitiesServiceUnavailable) Code() int
- func (o *GetVulnerabilitiesServiceUnavailable) Error() string
- func (o *GetVulnerabilitiesServiceUnavailable) GetPayload() *models.DomainSPAPIVulnerabilitiesEntitiesResponseV2
- func (o *GetVulnerabilitiesServiceUnavailable) IsClientError() bool
- func (o *GetVulnerabilitiesServiceUnavailable) IsCode(code int) bool
- func (o *GetVulnerabilitiesServiceUnavailable) IsRedirect() bool
- func (o *GetVulnerabilitiesServiceUnavailable) IsServerError() bool
- func (o *GetVulnerabilitiesServiceUnavailable) IsSuccess() bool
- func (o *GetVulnerabilitiesServiceUnavailable) String() string
- type GetVulnerabilitiesTooManyRequests
- func (o *GetVulnerabilitiesTooManyRequests) Code() int
- func (o *GetVulnerabilitiesTooManyRequests) Error() string
- func (o *GetVulnerabilitiesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetVulnerabilitiesTooManyRequests) IsClientError() bool
- func (o *GetVulnerabilitiesTooManyRequests) IsCode(code int) bool
- func (o *GetVulnerabilitiesTooManyRequests) IsRedirect() bool
- func (o *GetVulnerabilitiesTooManyRequests) IsServerError() bool
- func (o *GetVulnerabilitiesTooManyRequests) IsSuccess() bool
- func (o *GetVulnerabilitiesTooManyRequests) String() string
- type QueryVulnerabilitiesBadRequest
- func (o *QueryVulnerabilitiesBadRequest) Code() int
- func (o *QueryVulnerabilitiesBadRequest) Error() string
- func (o *QueryVulnerabilitiesBadRequest) GetPayload() *models.DomainSPAPIQueryResponse
- func (o *QueryVulnerabilitiesBadRequest) IsClientError() bool
- func (o *QueryVulnerabilitiesBadRequest) IsCode(code int) bool
- func (o *QueryVulnerabilitiesBadRequest) IsRedirect() bool
- func (o *QueryVulnerabilitiesBadRequest) IsServerError() bool
- func (o *QueryVulnerabilitiesBadRequest) IsSuccess() bool
- func (o *QueryVulnerabilitiesBadRequest) String() string
- type QueryVulnerabilitiesForbidden
- func (o *QueryVulnerabilitiesForbidden) Code() int
- func (o *QueryVulnerabilitiesForbidden) Error() string
- func (o *QueryVulnerabilitiesForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryVulnerabilitiesForbidden) IsClientError() bool
- func (o *QueryVulnerabilitiesForbidden) IsCode(code int) bool
- func (o *QueryVulnerabilitiesForbidden) IsRedirect() bool
- func (o *QueryVulnerabilitiesForbidden) IsServerError() bool
- func (o *QueryVulnerabilitiesForbidden) IsSuccess() bool
- func (o *QueryVulnerabilitiesForbidden) String() string
- type QueryVulnerabilitiesInternalServerError
- func (o *QueryVulnerabilitiesInternalServerError) Code() int
- func (o *QueryVulnerabilitiesInternalServerError) Error() string
- func (o *QueryVulnerabilitiesInternalServerError) GetPayload() *models.DomainSPAPIQueryResponse
- func (o *QueryVulnerabilitiesInternalServerError) IsClientError() bool
- func (o *QueryVulnerabilitiesInternalServerError) IsCode(code int) bool
- func (o *QueryVulnerabilitiesInternalServerError) IsRedirect() bool
- func (o *QueryVulnerabilitiesInternalServerError) IsServerError() bool
- func (o *QueryVulnerabilitiesInternalServerError) IsSuccess() bool
- func (o *QueryVulnerabilitiesInternalServerError) String() string
- type QueryVulnerabilitiesOK
- func (o *QueryVulnerabilitiesOK) Code() int
- func (o *QueryVulnerabilitiesOK) Error() string
- func (o *QueryVulnerabilitiesOK) GetPayload() *models.DomainSPAPIQueryResponse
- func (o *QueryVulnerabilitiesOK) IsClientError() bool
- func (o *QueryVulnerabilitiesOK) IsCode(code int) bool
- func (o *QueryVulnerabilitiesOK) IsRedirect() bool
- func (o *QueryVulnerabilitiesOK) IsServerError() bool
- func (o *QueryVulnerabilitiesOK) IsSuccess() bool
- func (o *QueryVulnerabilitiesOK) String() string
- type QueryVulnerabilitiesParams
- func NewQueryVulnerabilitiesParams() *QueryVulnerabilitiesParams
- func NewQueryVulnerabilitiesParamsWithContext(ctx context.Context) *QueryVulnerabilitiesParams
- func NewQueryVulnerabilitiesParamsWithHTTPClient(client *http.Client) *QueryVulnerabilitiesParams
- func NewQueryVulnerabilitiesParamsWithTimeout(timeout time.Duration) *QueryVulnerabilitiesParams
- func (o *QueryVulnerabilitiesParams) SetAfter(after *string)
- func (o *QueryVulnerabilitiesParams) SetContext(ctx context.Context)
- func (o *QueryVulnerabilitiesParams) SetDefaults()
- func (o *QueryVulnerabilitiesParams) SetFilter(filter string)
- func (o *QueryVulnerabilitiesParams) SetHTTPClient(client *http.Client)
- func (o *QueryVulnerabilitiesParams) SetLimit(limit *int64)
- func (o *QueryVulnerabilitiesParams) SetSort(sort *string)
- func (o *QueryVulnerabilitiesParams) SetTimeout(timeout time.Duration)
- func (o *QueryVulnerabilitiesParams) WithAfter(after *string) *QueryVulnerabilitiesParams
- func (o *QueryVulnerabilitiesParams) WithContext(ctx context.Context) *QueryVulnerabilitiesParams
- func (o *QueryVulnerabilitiesParams) WithDefaults() *QueryVulnerabilitiesParams
- func (o *QueryVulnerabilitiesParams) WithFilter(filter string) *QueryVulnerabilitiesParams
- func (o *QueryVulnerabilitiesParams) WithHTTPClient(client *http.Client) *QueryVulnerabilitiesParams
- func (o *QueryVulnerabilitiesParams) WithLimit(limit *int64) *QueryVulnerabilitiesParams
- func (o *QueryVulnerabilitiesParams) WithSort(sort *string) *QueryVulnerabilitiesParams
- func (o *QueryVulnerabilitiesParams) WithTimeout(timeout time.Duration) *QueryVulnerabilitiesParams
- func (o *QueryVulnerabilitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryVulnerabilitiesReader
- type QueryVulnerabilitiesServiceUnavailable
- func (o *QueryVulnerabilitiesServiceUnavailable) Code() int
- func (o *QueryVulnerabilitiesServiceUnavailable) Error() string
- func (o *QueryVulnerabilitiesServiceUnavailable) GetPayload() *models.DomainSPAPIQueryResponse
- func (o *QueryVulnerabilitiesServiceUnavailable) IsClientError() bool
- func (o *QueryVulnerabilitiesServiceUnavailable) IsCode(code int) bool
- func (o *QueryVulnerabilitiesServiceUnavailable) IsRedirect() bool
- func (o *QueryVulnerabilitiesServiceUnavailable) IsServerError() bool
- func (o *QueryVulnerabilitiesServiceUnavailable) IsSuccess() bool
- func (o *QueryVulnerabilitiesServiceUnavailable) String() string
- type QueryVulnerabilitiesTooManyRequests
- func (o *QueryVulnerabilitiesTooManyRequests) Code() int
- func (o *QueryVulnerabilitiesTooManyRequests) Error() string
- func (o *QueryVulnerabilitiesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *QueryVulnerabilitiesTooManyRequests) IsClientError() bool
- func (o *QueryVulnerabilitiesTooManyRequests) IsCode(code int) bool
- func (o *QueryVulnerabilitiesTooManyRequests) IsRedirect() bool
- func (o *QueryVulnerabilitiesTooManyRequests) IsServerError() bool
- func (o *QueryVulnerabilitiesTooManyRequests) IsSuccess() bool
- func (o *QueryVulnerabilitiesTooManyRequests) 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 spotlight vulnerabilities API
func (*Client) CombinedQueryVulnerabilities ¶ added in v0.2.13
func (a *Client) CombinedQueryVulnerabilities(params *CombinedQueryVulnerabilitiesParams, opts ...ClientOption) (*CombinedQueryVulnerabilitiesOK, error)
CombinedQueryVulnerabilities searches for vulnerabilities in your environment by providing an f q l filter and paging details returns a set of vulnerability entities which match the filter criteria
func (*Client) GetRemediationsV2 ¶ added in v0.2.8
func (a *Client) GetRemediationsV2(params *GetRemediationsV2Params, opts ...ClientOption) (*GetRemediationsV2OK, error)
GetRemediationsV2 gets details on remediation by providing one or more i ds
func (*Client) GetVulnerabilities ¶
func (a *Client) GetVulnerabilities(params *GetVulnerabilitiesParams, opts ...ClientOption) (*GetVulnerabilitiesOK, error)
GetVulnerabilities gets details on vulnerabilities by providing one or more i ds
func (*Client) QueryVulnerabilities ¶
func (a *Client) QueryVulnerabilities(params *QueryVulnerabilitiesParams, opts ...ClientOption) (*QueryVulnerabilitiesOK, error)
QueryVulnerabilities searches for vulnerabilities in your environment by providing an f q l filter and paging details returns a set of vulnerability i ds which match the filter criteria
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CombinedQueryVulnerabilities(params *CombinedQueryVulnerabilitiesParams, opts ...ClientOption) (*CombinedQueryVulnerabilitiesOK, error) GetRemediationsV2(params *GetRemediationsV2Params, opts ...ClientOption) (*GetRemediationsV2OK, error) GetVulnerabilities(params *GetVulnerabilitiesParams, opts ...ClientOption) (*GetVulnerabilitiesOK, error) QueryVulnerabilities(params *QueryVulnerabilitiesParams, opts ...ClientOption) (*QueryVulnerabilitiesOK, 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 spotlight vulnerabilities API client.
type CombinedQueryVulnerabilitiesBadRequest ¶ added in v0.2.13
type CombinedQueryVulnerabilitiesBadRequest 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.DomainSPAPICombinedVulnerabilitiesResponse }
CombinedQueryVulnerabilitiesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewCombinedQueryVulnerabilitiesBadRequest ¶ added in v0.2.13
func NewCombinedQueryVulnerabilitiesBadRequest() *CombinedQueryVulnerabilitiesBadRequest
NewCombinedQueryVulnerabilitiesBadRequest creates a CombinedQueryVulnerabilitiesBadRequest with default headers values
func (*CombinedQueryVulnerabilitiesBadRequest) Code ¶ added in v0.2.33
func (o *CombinedQueryVulnerabilitiesBadRequest) Code() int
Code gets the status code for the combined query vulnerabilities bad request response
func (*CombinedQueryVulnerabilitiesBadRequest) Error ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesBadRequest) Error() string
func (*CombinedQueryVulnerabilitiesBadRequest) GetPayload ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesBadRequest) GetPayload() *models.DomainSPAPICombinedVulnerabilitiesResponse
func (*CombinedQueryVulnerabilitiesBadRequest) IsClientError ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesBadRequest) IsClientError() bool
IsClientError returns true when this combined query vulnerabilities bad request response has a 4xx status code
func (*CombinedQueryVulnerabilitiesBadRequest) IsCode ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesBadRequest) IsCode(code int) bool
IsCode returns true when this combined query vulnerabilities bad request response a status code equal to that given
func (*CombinedQueryVulnerabilitiesBadRequest) IsRedirect ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesBadRequest) IsRedirect() bool
IsRedirect returns true when this combined query vulnerabilities bad request response has a 3xx status code
func (*CombinedQueryVulnerabilitiesBadRequest) IsServerError ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesBadRequest) IsServerError() bool
IsServerError returns true when this combined query vulnerabilities bad request response has a 5xx status code
func (*CombinedQueryVulnerabilitiesBadRequest) IsSuccess ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesBadRequest) IsSuccess() bool
IsSuccess returns true when this combined query vulnerabilities bad request response has a 2xx status code
func (*CombinedQueryVulnerabilitiesBadRequest) String ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesBadRequest) String() string
type CombinedQueryVulnerabilitiesForbidden ¶ added in v0.2.13
type CombinedQueryVulnerabilitiesForbidden 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 }
CombinedQueryVulnerabilitiesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCombinedQueryVulnerabilitiesForbidden ¶ added in v0.2.13
func NewCombinedQueryVulnerabilitiesForbidden() *CombinedQueryVulnerabilitiesForbidden
NewCombinedQueryVulnerabilitiesForbidden creates a CombinedQueryVulnerabilitiesForbidden with default headers values
func (*CombinedQueryVulnerabilitiesForbidden) Code ¶ added in v0.2.33
func (o *CombinedQueryVulnerabilitiesForbidden) Code() int
Code gets the status code for the combined query vulnerabilities forbidden response
func (*CombinedQueryVulnerabilitiesForbidden) Error ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesForbidden) Error() string
func (*CombinedQueryVulnerabilitiesForbidden) GetPayload ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*CombinedQueryVulnerabilitiesForbidden) IsClientError ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesForbidden) IsClientError() bool
IsClientError returns true when this combined query vulnerabilities forbidden response has a 4xx status code
func (*CombinedQueryVulnerabilitiesForbidden) IsCode ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesForbidden) IsCode(code int) bool
IsCode returns true when this combined query vulnerabilities forbidden response a status code equal to that given
func (*CombinedQueryVulnerabilitiesForbidden) IsRedirect ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesForbidden) IsRedirect() bool
IsRedirect returns true when this combined query vulnerabilities forbidden response has a 3xx status code
func (*CombinedQueryVulnerabilitiesForbidden) IsServerError ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesForbidden) IsServerError() bool
IsServerError returns true when this combined query vulnerabilities forbidden response has a 5xx status code
func (*CombinedQueryVulnerabilitiesForbidden) IsSuccess ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesForbidden) IsSuccess() bool
IsSuccess returns true when this combined query vulnerabilities forbidden response has a 2xx status code
func (*CombinedQueryVulnerabilitiesForbidden) String ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesForbidden) String() string
type CombinedQueryVulnerabilitiesInternalServerError ¶ added in v0.2.13
type CombinedQueryVulnerabilitiesInternalServerError 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.DomainSPAPICombinedVulnerabilitiesResponse }
CombinedQueryVulnerabilitiesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewCombinedQueryVulnerabilitiesInternalServerError ¶ added in v0.2.13
func NewCombinedQueryVulnerabilitiesInternalServerError() *CombinedQueryVulnerabilitiesInternalServerError
NewCombinedQueryVulnerabilitiesInternalServerError creates a CombinedQueryVulnerabilitiesInternalServerError with default headers values
func (*CombinedQueryVulnerabilitiesInternalServerError) Code ¶ added in v0.2.33
func (o *CombinedQueryVulnerabilitiesInternalServerError) Code() int
Code gets the status code for the combined query vulnerabilities internal server error response
func (*CombinedQueryVulnerabilitiesInternalServerError) Error ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesInternalServerError) Error() string
func (*CombinedQueryVulnerabilitiesInternalServerError) GetPayload ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesInternalServerError) GetPayload() *models.DomainSPAPICombinedVulnerabilitiesResponse
func (*CombinedQueryVulnerabilitiesInternalServerError) IsClientError ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesInternalServerError) IsClientError() bool
IsClientError returns true when this combined query vulnerabilities internal server error response has a 4xx status code
func (*CombinedQueryVulnerabilitiesInternalServerError) IsCode ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesInternalServerError) IsCode(code int) bool
IsCode returns true when this combined query vulnerabilities internal server error response a status code equal to that given
func (*CombinedQueryVulnerabilitiesInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesInternalServerError) IsRedirect() bool
IsRedirect returns true when this combined query vulnerabilities internal server error response has a 3xx status code
func (*CombinedQueryVulnerabilitiesInternalServerError) IsServerError ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesInternalServerError) IsServerError() bool
IsServerError returns true when this combined query vulnerabilities internal server error response has a 5xx status code
func (*CombinedQueryVulnerabilitiesInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesInternalServerError) IsSuccess() bool
IsSuccess returns true when this combined query vulnerabilities internal server error response has a 2xx status code
func (*CombinedQueryVulnerabilitiesInternalServerError) String ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesInternalServerError) String() string
type CombinedQueryVulnerabilitiesOK ¶ added in v0.2.13
type CombinedQueryVulnerabilitiesOK 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.DomainSPAPICombinedVulnerabilitiesResponse }
CombinedQueryVulnerabilitiesOK describes a response with status code 200, with default header values.
OK
func NewCombinedQueryVulnerabilitiesOK ¶ added in v0.2.13
func NewCombinedQueryVulnerabilitiesOK() *CombinedQueryVulnerabilitiesOK
NewCombinedQueryVulnerabilitiesOK creates a CombinedQueryVulnerabilitiesOK with default headers values
func (*CombinedQueryVulnerabilitiesOK) Code ¶ added in v0.2.33
func (o *CombinedQueryVulnerabilitiesOK) Code() int
Code gets the status code for the combined query vulnerabilities o k response
func (*CombinedQueryVulnerabilitiesOK) Error ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesOK) Error() string
func (*CombinedQueryVulnerabilitiesOK) GetPayload ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesOK) GetPayload() *models.DomainSPAPICombinedVulnerabilitiesResponse
func (*CombinedQueryVulnerabilitiesOK) IsClientError ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesOK) IsClientError() bool
IsClientError returns true when this combined query vulnerabilities o k response has a 4xx status code
func (*CombinedQueryVulnerabilitiesOK) IsCode ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesOK) IsCode(code int) bool
IsCode returns true when this combined query vulnerabilities o k response a status code equal to that given
func (*CombinedQueryVulnerabilitiesOK) IsRedirect ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesOK) IsRedirect() bool
IsRedirect returns true when this combined query vulnerabilities o k response has a 3xx status code
func (*CombinedQueryVulnerabilitiesOK) IsServerError ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesOK) IsServerError() bool
IsServerError returns true when this combined query vulnerabilities o k response has a 5xx status code
func (*CombinedQueryVulnerabilitiesOK) IsSuccess ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesOK) IsSuccess() bool
IsSuccess returns true when this combined query vulnerabilities o k response has a 2xx status code
func (*CombinedQueryVulnerabilitiesOK) String ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesOK) String() string
type CombinedQueryVulnerabilitiesParams ¶ added in v0.2.13
type CombinedQueryVulnerabilitiesParams struct { /* After. A pagination token used with the `limit` parameter to manage pagination of results. On your first request, don't provide an `after` token. On subsequent requests, provide the `after` token from the previous response to continue from that place in the results. */ After *string /* Facet. Select various details blocks to be returned for each vulnerability entity. Supported values: <ul><li>host_info</li><li>remediation</li><li>cve</li><li>evaluation_logic</li></ul> */ Facet []string /* Filter. Filter items using a query in Falcon Query Language (FQL). Wildcards * and empty filter values are unsupported. Available filter fields that supports match (~): N/A Available filter fields that supports exact match: aid, cid, last_seen_within, status, cve.id, cve.is_cisa_kev, cve.remediation_level, cve.cps_rating, cve.exprt_rating, cve.exploit_status_to_include, cve.severity, cve.types, host_info.asset_criticality, host_info.asset_roles, host_info.internet_exposure, host_info.tags, host_info.groups, host_info.product_type_desc, host_info.platform_name, suppression_info.is_suppressed, suppression_info.reason Available filter fields that supports wildcard (*): N/A Available filter fields that supports range comparisons (>, <, >=, <=): created_timestamp, closed_timestamp, updated_timestamp */ Filter string /* Limit. The number of items to return in this response (default: 100, max: 5000). Use with the after parameter to manage pagination of results. */ Limit *int64 /* Sort. Sort vulnerabilities by their properties. Common sort options include: <ul><li>updated_timestamp|asc</li><li>closed_timestamp|asc</li></ul> */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CombinedQueryVulnerabilitiesParams contains all the parameters to send to the API endpoint
for the combined query vulnerabilities operation. Typically these are written to a http.Request.
func NewCombinedQueryVulnerabilitiesParams ¶ added in v0.2.13
func NewCombinedQueryVulnerabilitiesParams() *CombinedQueryVulnerabilitiesParams
NewCombinedQueryVulnerabilitiesParams creates a new CombinedQueryVulnerabilitiesParams 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 NewCombinedQueryVulnerabilitiesParamsWithContext ¶ added in v0.2.13
func NewCombinedQueryVulnerabilitiesParamsWithContext(ctx context.Context) *CombinedQueryVulnerabilitiesParams
NewCombinedQueryVulnerabilitiesParamsWithContext creates a new CombinedQueryVulnerabilitiesParams object with the ability to set a context for a request.
func NewCombinedQueryVulnerabilitiesParamsWithHTTPClient ¶ added in v0.2.13
func NewCombinedQueryVulnerabilitiesParamsWithHTTPClient(client *http.Client) *CombinedQueryVulnerabilitiesParams
NewCombinedQueryVulnerabilitiesParamsWithHTTPClient creates a new CombinedQueryVulnerabilitiesParams object with the ability to set a custom HTTPClient for a request.
func NewCombinedQueryVulnerabilitiesParamsWithTimeout ¶ added in v0.2.13
func NewCombinedQueryVulnerabilitiesParamsWithTimeout(timeout time.Duration) *CombinedQueryVulnerabilitiesParams
NewCombinedQueryVulnerabilitiesParamsWithTimeout creates a new CombinedQueryVulnerabilitiesParams object with the ability to set a timeout on a request.
func (*CombinedQueryVulnerabilitiesParams) SetAfter ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) SetAfter(after *string)
SetAfter adds the after to the combined query vulnerabilities params
func (*CombinedQueryVulnerabilitiesParams) SetContext ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) SetContext(ctx context.Context)
SetContext adds the context to the combined query vulnerabilities params
func (*CombinedQueryVulnerabilitiesParams) SetDefaults ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) SetDefaults()
SetDefaults hydrates default values in the combined query vulnerabilities params (not the query body).
All values with no default are reset to their zero value.
func (*CombinedQueryVulnerabilitiesParams) SetFacet ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) SetFacet(facet []string)
SetFacet adds the facet to the combined query vulnerabilities params
func (*CombinedQueryVulnerabilitiesParams) SetFilter ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) SetFilter(filter string)
SetFilter adds the filter to the combined query vulnerabilities params
func (*CombinedQueryVulnerabilitiesParams) SetHTTPClient ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the combined query vulnerabilities params
func (*CombinedQueryVulnerabilitiesParams) SetLimit ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) SetLimit(limit *int64)
SetLimit adds the limit to the combined query vulnerabilities params
func (*CombinedQueryVulnerabilitiesParams) SetSort ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) SetSort(sort *string)
SetSort adds the sort to the combined query vulnerabilities params
func (*CombinedQueryVulnerabilitiesParams) SetTimeout ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the combined query vulnerabilities params
func (*CombinedQueryVulnerabilitiesParams) WithAfter ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) WithAfter(after *string) *CombinedQueryVulnerabilitiesParams
WithAfter adds the after to the combined query vulnerabilities params
func (*CombinedQueryVulnerabilitiesParams) WithContext ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) WithContext(ctx context.Context) *CombinedQueryVulnerabilitiesParams
WithContext adds the context to the combined query vulnerabilities params
func (*CombinedQueryVulnerabilitiesParams) WithDefaults ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) WithDefaults() *CombinedQueryVulnerabilitiesParams
WithDefaults hydrates default values in the combined query vulnerabilities params (not the query body).
All values with no default are reset to their zero value.
func (*CombinedQueryVulnerabilitiesParams) WithFacet ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) WithFacet(facet []string) *CombinedQueryVulnerabilitiesParams
WithFacet adds the facet to the combined query vulnerabilities params
func (*CombinedQueryVulnerabilitiesParams) WithFilter ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) WithFilter(filter string) *CombinedQueryVulnerabilitiesParams
WithFilter adds the filter to the combined query vulnerabilities params
func (*CombinedQueryVulnerabilitiesParams) WithHTTPClient ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) WithHTTPClient(client *http.Client) *CombinedQueryVulnerabilitiesParams
WithHTTPClient adds the HTTPClient to the combined query vulnerabilities params
func (*CombinedQueryVulnerabilitiesParams) WithLimit ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) WithLimit(limit *int64) *CombinedQueryVulnerabilitiesParams
WithLimit adds the limit to the combined query vulnerabilities params
func (*CombinedQueryVulnerabilitiesParams) WithSort ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) WithSort(sort *string) *CombinedQueryVulnerabilitiesParams
WithSort adds the sort to the combined query vulnerabilities params
func (*CombinedQueryVulnerabilitiesParams) WithTimeout ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) WithTimeout(timeout time.Duration) *CombinedQueryVulnerabilitiesParams
WithTimeout adds the timeout to the combined query vulnerabilities params
func (*CombinedQueryVulnerabilitiesParams) WriteToRequest ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CombinedQueryVulnerabilitiesReader ¶ added in v0.2.13
type CombinedQueryVulnerabilitiesReader struct {
// contains filtered or unexported fields
}
CombinedQueryVulnerabilitiesReader is a Reader for the CombinedQueryVulnerabilities structure.
func (*CombinedQueryVulnerabilitiesReader) ReadResponse ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CombinedQueryVulnerabilitiesServiceUnavailable ¶ added in v0.7.0
type CombinedQueryVulnerabilitiesServiceUnavailable struct { string XRateLimitLimit int64 XRateLimitRemaining int64 }XCSTRACEID
CombinedQueryVulnerabilitiesServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable
func NewCombinedQueryVulnerabilitiesServiceUnavailable ¶ added in v0.7.0
func NewCombinedQueryVulnerabilitiesServiceUnavailable() *CombinedQueryVulnerabilitiesServiceUnavailable
NewCombinedQueryVulnerabilitiesServiceUnavailable creates a CombinedQueryVulnerabilitiesServiceUnavailable with default headers values
func (*CombinedQueryVulnerabilitiesServiceUnavailable) Code ¶ added in v0.7.0
func (o *CombinedQueryVulnerabilitiesServiceUnavailable) Code() int
Code gets the status code for the combined query vulnerabilities service unavailable response
func (*CombinedQueryVulnerabilitiesServiceUnavailable) Error ¶ added in v0.7.0
func (o *CombinedQueryVulnerabilitiesServiceUnavailable) Error() string
func (*CombinedQueryVulnerabilitiesServiceUnavailable) GetPayload ¶ added in v0.7.0
func (o *CombinedQueryVulnerabilitiesServiceUnavailable) GetPayload() *models.DomainSPAPICombinedVulnerabilitiesResponse
func (*CombinedQueryVulnerabilitiesServiceUnavailable) IsClientError ¶ added in v0.7.0
func (o *CombinedQueryVulnerabilitiesServiceUnavailable) IsClientError() bool
IsClientError returns true when this combined query vulnerabilities service unavailable response has a 4xx status code
func (*CombinedQueryVulnerabilitiesServiceUnavailable) IsCode ¶ added in v0.7.0
func (o *CombinedQueryVulnerabilitiesServiceUnavailable) IsCode(code int) bool
IsCode returns true when this combined query vulnerabilities service unavailable response a status code equal to that given
func (*CombinedQueryVulnerabilitiesServiceUnavailable) IsRedirect ¶ added in v0.7.0
func (o *CombinedQueryVulnerabilitiesServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this combined query vulnerabilities service unavailable response has a 3xx status code
func (*CombinedQueryVulnerabilitiesServiceUnavailable) IsServerError ¶ added in v0.7.0
func (o *CombinedQueryVulnerabilitiesServiceUnavailable) IsServerError() bool
IsServerError returns true when this combined query vulnerabilities service unavailable response has a 5xx status code
func (*CombinedQueryVulnerabilitiesServiceUnavailable) IsSuccess ¶ added in v0.7.0
func (o *CombinedQueryVulnerabilitiesServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this combined query vulnerabilities service unavailable response has a 2xx status code
func (*CombinedQueryVulnerabilitiesServiceUnavailable) String ¶ added in v0.7.0
func (o *CombinedQueryVulnerabilitiesServiceUnavailable) String() string
type CombinedQueryVulnerabilitiesTooManyRequests ¶ added in v0.2.13
type CombinedQueryVulnerabilitiesTooManyRequests 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 }
CombinedQueryVulnerabilitiesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewCombinedQueryVulnerabilitiesTooManyRequests ¶ added in v0.2.13
func NewCombinedQueryVulnerabilitiesTooManyRequests() *CombinedQueryVulnerabilitiesTooManyRequests
NewCombinedQueryVulnerabilitiesTooManyRequests creates a CombinedQueryVulnerabilitiesTooManyRequests with default headers values
func (*CombinedQueryVulnerabilitiesTooManyRequests) Code ¶ added in v0.2.33
func (o *CombinedQueryVulnerabilitiesTooManyRequests) Code() int
Code gets the status code for the combined query vulnerabilities too many requests response
func (*CombinedQueryVulnerabilitiesTooManyRequests) Error ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesTooManyRequests) Error() string
func (*CombinedQueryVulnerabilitiesTooManyRequests) GetPayload ¶ added in v0.2.13
func (o *CombinedQueryVulnerabilitiesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*CombinedQueryVulnerabilitiesTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesTooManyRequests) IsClientError() bool
IsClientError returns true when this combined query vulnerabilities too many requests response has a 4xx status code
func (*CombinedQueryVulnerabilitiesTooManyRequests) IsCode ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesTooManyRequests) IsCode(code int) bool
IsCode returns true when this combined query vulnerabilities too many requests response a status code equal to that given
func (*CombinedQueryVulnerabilitiesTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this combined query vulnerabilities too many requests response has a 3xx status code
func (*CombinedQueryVulnerabilitiesTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesTooManyRequests) IsServerError() bool
IsServerError returns true when this combined query vulnerabilities too many requests response has a 5xx status code
func (*CombinedQueryVulnerabilitiesTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this combined query vulnerabilities too many requests response has a 2xx status code
func (*CombinedQueryVulnerabilitiesTooManyRequests) String ¶ added in v0.2.27
func (o *CombinedQueryVulnerabilitiesTooManyRequests) String() string
type GetRemediationsV2Forbidden ¶ added in v0.2.8
type GetRemediationsV2Forbidden 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 }
GetRemediationsV2Forbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetRemediationsV2Forbidden ¶ added in v0.2.8
func NewGetRemediationsV2Forbidden() *GetRemediationsV2Forbidden
NewGetRemediationsV2Forbidden creates a GetRemediationsV2Forbidden with default headers values
func (*GetRemediationsV2Forbidden) Code ¶ added in v0.2.33
func (o *GetRemediationsV2Forbidden) Code() int
Code gets the status code for the get remediations v2 forbidden response
func (*GetRemediationsV2Forbidden) Error ¶ added in v0.2.8
func (o *GetRemediationsV2Forbidden) Error() string
func (*GetRemediationsV2Forbidden) GetPayload ¶ added in v0.2.8
func (o *GetRemediationsV2Forbidden) GetPayload() *models.MsaReplyMetaOnly
func (*GetRemediationsV2Forbidden) IsClientError ¶ added in v0.2.27
func (o *GetRemediationsV2Forbidden) IsClientError() bool
IsClientError returns true when this get remediations v2 forbidden response has a 4xx status code
func (*GetRemediationsV2Forbidden) IsCode ¶ added in v0.2.27
func (o *GetRemediationsV2Forbidden) IsCode(code int) bool
IsCode returns true when this get remediations v2 forbidden response a status code equal to that given
func (*GetRemediationsV2Forbidden) IsRedirect ¶ added in v0.2.27
func (o *GetRemediationsV2Forbidden) IsRedirect() bool
IsRedirect returns true when this get remediations v2 forbidden response has a 3xx status code
func (*GetRemediationsV2Forbidden) IsServerError ¶ added in v0.2.27
func (o *GetRemediationsV2Forbidden) IsServerError() bool
IsServerError returns true when this get remediations v2 forbidden response has a 5xx status code
func (*GetRemediationsV2Forbidden) IsSuccess ¶ added in v0.2.27
func (o *GetRemediationsV2Forbidden) IsSuccess() bool
IsSuccess returns true when this get remediations v2 forbidden response has a 2xx status code
func (*GetRemediationsV2Forbidden) String ¶ added in v0.2.27
func (o *GetRemediationsV2Forbidden) String() string
type GetRemediationsV2InternalServerError ¶ added in v0.9.0
type GetRemediationsV2InternalServerError 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 }
GetRemediationsV2InternalServerError describes a response with status code 500, with default header values.
Unexpected Error
func NewGetRemediationsV2InternalServerError ¶ added in v0.9.0
func NewGetRemediationsV2InternalServerError() *GetRemediationsV2InternalServerError
NewGetRemediationsV2InternalServerError creates a GetRemediationsV2InternalServerError with default headers values
func (*GetRemediationsV2InternalServerError) Code ¶ added in v0.9.0
func (o *GetRemediationsV2InternalServerError) Code() int
Code gets the status code for the get remediations v2 internal server error response
func (*GetRemediationsV2InternalServerError) Error ¶ added in v0.9.0
func (o *GetRemediationsV2InternalServerError) Error() string
func (*GetRemediationsV2InternalServerError) GetPayload ¶ added in v0.9.0
func (o *GetRemediationsV2InternalServerError) GetPayload() *models.MsaReplyMetaOnly
func (*GetRemediationsV2InternalServerError) IsClientError ¶ added in v0.9.0
func (o *GetRemediationsV2InternalServerError) IsClientError() bool
IsClientError returns true when this get remediations v2 internal server error response has a 4xx status code
func (*GetRemediationsV2InternalServerError) IsCode ¶ added in v0.9.0
func (o *GetRemediationsV2InternalServerError) IsCode(code int) bool
IsCode returns true when this get remediations v2 internal server error response a status code equal to that given
func (*GetRemediationsV2InternalServerError) IsRedirect ¶ added in v0.9.0
func (o *GetRemediationsV2InternalServerError) IsRedirect() bool
IsRedirect returns true when this get remediations v2 internal server error response has a 3xx status code
func (*GetRemediationsV2InternalServerError) IsServerError ¶ added in v0.9.0
func (o *GetRemediationsV2InternalServerError) IsServerError() bool
IsServerError returns true when this get remediations v2 internal server error response has a 5xx status code
func (*GetRemediationsV2InternalServerError) IsSuccess ¶ added in v0.9.0
func (o *GetRemediationsV2InternalServerError) IsSuccess() bool
IsSuccess returns true when this get remediations v2 internal server error response has a 2xx status code
func (*GetRemediationsV2InternalServerError) String ¶ added in v0.9.0
func (o *GetRemediationsV2InternalServerError) String() string
type GetRemediationsV2OK ¶ added in v0.2.8
type GetRemediationsV2OK 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.DomainSPAPIRemediationEntitiesResponseV2 }
GetRemediationsV2OK describes a response with status code 200, with default header values.
OK
func NewGetRemediationsV2OK ¶ added in v0.2.8
func NewGetRemediationsV2OK() *GetRemediationsV2OK
NewGetRemediationsV2OK creates a GetRemediationsV2OK with default headers values
func (*GetRemediationsV2OK) Code ¶ added in v0.2.33
func (o *GetRemediationsV2OK) Code() int
Code gets the status code for the get remediations v2 o k response
func (*GetRemediationsV2OK) Error ¶ added in v0.2.8
func (o *GetRemediationsV2OK) Error() string
func (*GetRemediationsV2OK) GetPayload ¶ added in v0.2.8
func (o *GetRemediationsV2OK) GetPayload() *models.DomainSPAPIRemediationEntitiesResponseV2
func (*GetRemediationsV2OK) IsClientError ¶ added in v0.2.27
func (o *GetRemediationsV2OK) IsClientError() bool
IsClientError returns true when this get remediations v2 o k response has a 4xx status code
func (*GetRemediationsV2OK) IsCode ¶ added in v0.2.27
func (o *GetRemediationsV2OK) IsCode(code int) bool
IsCode returns true when this get remediations v2 o k response a status code equal to that given
func (*GetRemediationsV2OK) IsRedirect ¶ added in v0.2.27
func (o *GetRemediationsV2OK) IsRedirect() bool
IsRedirect returns true when this get remediations v2 o k response has a 3xx status code
func (*GetRemediationsV2OK) IsServerError ¶ added in v0.2.27
func (o *GetRemediationsV2OK) IsServerError() bool
IsServerError returns true when this get remediations v2 o k response has a 5xx status code
func (*GetRemediationsV2OK) IsSuccess ¶ added in v0.2.27
func (o *GetRemediationsV2OK) IsSuccess() bool
IsSuccess returns true when this get remediations v2 o k response has a 2xx status code
func (*GetRemediationsV2OK) String ¶ added in v0.2.27
func (o *GetRemediationsV2OK) String() string
type GetRemediationsV2Params ¶ added in v0.2.8
type GetRemediationsV2Params struct { /* Ids. One or more remediation IDs */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRemediationsV2Params contains all the parameters to send to the API endpoint
for the get remediations v2 operation. Typically these are written to a http.Request.
func NewGetRemediationsV2Params ¶ added in v0.2.8
func NewGetRemediationsV2Params() *GetRemediationsV2Params
NewGetRemediationsV2Params creates a new GetRemediationsV2Params 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 NewGetRemediationsV2ParamsWithContext ¶ added in v0.2.8
func NewGetRemediationsV2ParamsWithContext(ctx context.Context) *GetRemediationsV2Params
NewGetRemediationsV2ParamsWithContext creates a new GetRemediationsV2Params object with the ability to set a context for a request.
func NewGetRemediationsV2ParamsWithHTTPClient ¶ added in v0.2.8
func NewGetRemediationsV2ParamsWithHTTPClient(client *http.Client) *GetRemediationsV2Params
NewGetRemediationsV2ParamsWithHTTPClient creates a new GetRemediationsV2Params object with the ability to set a custom HTTPClient for a request.
func NewGetRemediationsV2ParamsWithTimeout ¶ added in v0.2.8
func NewGetRemediationsV2ParamsWithTimeout(timeout time.Duration) *GetRemediationsV2Params
NewGetRemediationsV2ParamsWithTimeout creates a new GetRemediationsV2Params object with the ability to set a timeout on a request.
func (*GetRemediationsV2Params) SetContext ¶ added in v0.2.8
func (o *GetRemediationsV2Params) SetContext(ctx context.Context)
SetContext adds the context to the get remediations v2 params
func (*GetRemediationsV2Params) SetDefaults ¶ added in v0.2.8
func (o *GetRemediationsV2Params) SetDefaults()
SetDefaults hydrates default values in the get remediations v2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetRemediationsV2Params) SetHTTPClient ¶ added in v0.2.8
func (o *GetRemediationsV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get remediations v2 params
func (*GetRemediationsV2Params) SetIds ¶ added in v0.2.8
func (o *GetRemediationsV2Params) SetIds(ids []string)
SetIds adds the ids to the get remediations v2 params
func (*GetRemediationsV2Params) SetTimeout ¶ added in v0.2.8
func (o *GetRemediationsV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get remediations v2 params
func (*GetRemediationsV2Params) WithContext ¶ added in v0.2.8
func (o *GetRemediationsV2Params) WithContext(ctx context.Context) *GetRemediationsV2Params
WithContext adds the context to the get remediations v2 params
func (*GetRemediationsV2Params) WithDefaults ¶ added in v0.2.8
func (o *GetRemediationsV2Params) WithDefaults() *GetRemediationsV2Params
WithDefaults hydrates default values in the get remediations v2 params (not the query body).
All values with no default are reset to their zero value.
func (*GetRemediationsV2Params) WithHTTPClient ¶ added in v0.2.8
func (o *GetRemediationsV2Params) WithHTTPClient(client *http.Client) *GetRemediationsV2Params
WithHTTPClient adds the HTTPClient to the get remediations v2 params
func (*GetRemediationsV2Params) WithIds ¶ added in v0.2.8
func (o *GetRemediationsV2Params) WithIds(ids []string) *GetRemediationsV2Params
WithIds adds the ids to the get remediations v2 params
func (*GetRemediationsV2Params) WithTimeout ¶ added in v0.2.8
func (o *GetRemediationsV2Params) WithTimeout(timeout time.Duration) *GetRemediationsV2Params
WithTimeout adds the timeout to the get remediations v2 params
func (*GetRemediationsV2Params) WriteToRequest ¶ added in v0.2.8
func (o *GetRemediationsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRemediationsV2Reader ¶ added in v0.2.8
type GetRemediationsV2Reader struct {
// contains filtered or unexported fields
}
GetRemediationsV2Reader is a Reader for the GetRemediationsV2 structure.
func (*GetRemediationsV2Reader) ReadResponse ¶ added in v0.2.8
func (o *GetRemediationsV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRemediationsV2ServiceUnavailable ¶ added in v0.7.0
type GetRemediationsV2ServiceUnavailable struct { string XRateLimitLimit int64 XRateLimitRemaining int64 }XCSTRACEID
GetRemediationsV2ServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable
func NewGetRemediationsV2ServiceUnavailable ¶ added in v0.7.0
func NewGetRemediationsV2ServiceUnavailable() *GetRemediationsV2ServiceUnavailable
NewGetRemediationsV2ServiceUnavailable creates a GetRemediationsV2ServiceUnavailable with default headers values
func (*GetRemediationsV2ServiceUnavailable) Code ¶ added in v0.7.0
func (o *GetRemediationsV2ServiceUnavailable) Code() int
Code gets the status code for the get remediations v2 service unavailable response
func (*GetRemediationsV2ServiceUnavailable) Error ¶ added in v0.7.0
func (o *GetRemediationsV2ServiceUnavailable) Error() string
func (*GetRemediationsV2ServiceUnavailable) GetPayload ¶ added in v0.7.0
func (o *GetRemediationsV2ServiceUnavailable) GetPayload() *models.DomainSPAPIRemediationEntitiesResponseV2
func (*GetRemediationsV2ServiceUnavailable) IsClientError ¶ added in v0.7.0
func (o *GetRemediationsV2ServiceUnavailable) IsClientError() bool
IsClientError returns true when this get remediations v2 service unavailable response has a 4xx status code
func (*GetRemediationsV2ServiceUnavailable) IsCode ¶ added in v0.7.0
func (o *GetRemediationsV2ServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get remediations v2 service unavailable response a status code equal to that given
func (*GetRemediationsV2ServiceUnavailable) IsRedirect ¶ added in v0.7.0
func (o *GetRemediationsV2ServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get remediations v2 service unavailable response has a 3xx status code
func (*GetRemediationsV2ServiceUnavailable) IsServerError ¶ added in v0.7.0
func (o *GetRemediationsV2ServiceUnavailable) IsServerError() bool
IsServerError returns true when this get remediations v2 service unavailable response has a 5xx status code
func (*GetRemediationsV2ServiceUnavailable) IsSuccess ¶ added in v0.7.0
func (o *GetRemediationsV2ServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get remediations v2 service unavailable response has a 2xx status code
func (*GetRemediationsV2ServiceUnavailable) String ¶ added in v0.7.0
func (o *GetRemediationsV2ServiceUnavailable) String() string
type GetRemediationsV2TooManyRequests ¶ added in v0.2.8
type GetRemediationsV2TooManyRequests 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 }
GetRemediationsV2TooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetRemediationsV2TooManyRequests ¶ added in v0.2.8
func NewGetRemediationsV2TooManyRequests() *GetRemediationsV2TooManyRequests
NewGetRemediationsV2TooManyRequests creates a GetRemediationsV2TooManyRequests with default headers values
func (*GetRemediationsV2TooManyRequests) Code ¶ added in v0.2.33
func (o *GetRemediationsV2TooManyRequests) Code() int
Code gets the status code for the get remediations v2 too many requests response
func (*GetRemediationsV2TooManyRequests) Error ¶ added in v0.2.8
func (o *GetRemediationsV2TooManyRequests) Error() string
func (*GetRemediationsV2TooManyRequests) GetPayload ¶ added in v0.2.8
func (o *GetRemediationsV2TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetRemediationsV2TooManyRequests) IsClientError ¶ added in v0.2.27
func (o *GetRemediationsV2TooManyRequests) IsClientError() bool
IsClientError returns true when this get remediations v2 too many requests response has a 4xx status code
func (*GetRemediationsV2TooManyRequests) IsCode ¶ added in v0.2.27
func (o *GetRemediationsV2TooManyRequests) IsCode(code int) bool
IsCode returns true when this get remediations v2 too many requests response a status code equal to that given
func (*GetRemediationsV2TooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *GetRemediationsV2TooManyRequests) IsRedirect() bool
IsRedirect returns true when this get remediations v2 too many requests response has a 3xx status code
func (*GetRemediationsV2TooManyRequests) IsServerError ¶ added in v0.2.27
func (o *GetRemediationsV2TooManyRequests) IsServerError() bool
IsServerError returns true when this get remediations v2 too many requests response has a 5xx status code
func (*GetRemediationsV2TooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *GetRemediationsV2TooManyRequests) IsSuccess() bool
IsSuccess returns true when this get remediations v2 too many requests response has a 2xx status code
func (*GetRemediationsV2TooManyRequests) String ¶ added in v0.2.27
func (o *GetRemediationsV2TooManyRequests) String() string
type GetVulnerabilitiesForbidden ¶
type GetVulnerabilitiesForbidden 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 }
GetVulnerabilitiesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetVulnerabilitiesForbidden ¶
func NewGetVulnerabilitiesForbidden() *GetVulnerabilitiesForbidden
NewGetVulnerabilitiesForbidden creates a GetVulnerabilitiesForbidden with default headers values
func (*GetVulnerabilitiesForbidden) Code ¶ added in v0.2.33
func (o *GetVulnerabilitiesForbidden) Code() int
Code gets the status code for the get vulnerabilities forbidden response
func (*GetVulnerabilitiesForbidden) Error ¶
func (o *GetVulnerabilitiesForbidden) Error() string
func (*GetVulnerabilitiesForbidden) GetPayload ¶
func (o *GetVulnerabilitiesForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*GetVulnerabilitiesForbidden) IsClientError ¶ added in v0.2.27
func (o *GetVulnerabilitiesForbidden) IsClientError() bool
IsClientError returns true when this get vulnerabilities forbidden response has a 4xx status code
func (*GetVulnerabilitiesForbidden) IsCode ¶ added in v0.2.27
func (o *GetVulnerabilitiesForbidden) IsCode(code int) bool
IsCode returns true when this get vulnerabilities forbidden response a status code equal to that given
func (*GetVulnerabilitiesForbidden) IsRedirect ¶ added in v0.2.27
func (o *GetVulnerabilitiesForbidden) IsRedirect() bool
IsRedirect returns true when this get vulnerabilities forbidden response has a 3xx status code
func (*GetVulnerabilitiesForbidden) IsServerError ¶ added in v0.2.27
func (o *GetVulnerabilitiesForbidden) IsServerError() bool
IsServerError returns true when this get vulnerabilities forbidden response has a 5xx status code
func (*GetVulnerabilitiesForbidden) IsSuccess ¶ added in v0.2.27
func (o *GetVulnerabilitiesForbidden) IsSuccess() bool
IsSuccess returns true when this get vulnerabilities forbidden response has a 2xx status code
func (*GetVulnerabilitiesForbidden) String ¶ added in v0.2.27
func (o *GetVulnerabilitiesForbidden) String() string
type GetVulnerabilitiesInternalServerError ¶ added in v0.9.0
type GetVulnerabilitiesInternalServerError 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 }
GetVulnerabilitiesInternalServerError describes a response with status code 500, with default header values.
Unexpected Error
func NewGetVulnerabilitiesInternalServerError ¶ added in v0.9.0
func NewGetVulnerabilitiesInternalServerError() *GetVulnerabilitiesInternalServerError
NewGetVulnerabilitiesInternalServerError creates a GetVulnerabilitiesInternalServerError with default headers values
func (*GetVulnerabilitiesInternalServerError) Code ¶ added in v0.9.0
func (o *GetVulnerabilitiesInternalServerError) Code() int
Code gets the status code for the get vulnerabilities internal server error response
func (*GetVulnerabilitiesInternalServerError) Error ¶ added in v0.9.0
func (o *GetVulnerabilitiesInternalServerError) Error() string
func (*GetVulnerabilitiesInternalServerError) GetPayload ¶ added in v0.9.0
func (o *GetVulnerabilitiesInternalServerError) GetPayload() *models.MsaReplyMetaOnly
func (*GetVulnerabilitiesInternalServerError) IsClientError ¶ added in v0.9.0
func (o *GetVulnerabilitiesInternalServerError) IsClientError() bool
IsClientError returns true when this get vulnerabilities internal server error response has a 4xx status code
func (*GetVulnerabilitiesInternalServerError) IsCode ¶ added in v0.9.0
func (o *GetVulnerabilitiesInternalServerError) IsCode(code int) bool
IsCode returns true when this get vulnerabilities internal server error response a status code equal to that given
func (*GetVulnerabilitiesInternalServerError) IsRedirect ¶ added in v0.9.0
func (o *GetVulnerabilitiesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get vulnerabilities internal server error response has a 3xx status code
func (*GetVulnerabilitiesInternalServerError) IsServerError ¶ added in v0.9.0
func (o *GetVulnerabilitiesInternalServerError) IsServerError() bool
IsServerError returns true when this get vulnerabilities internal server error response has a 5xx status code
func (*GetVulnerabilitiesInternalServerError) IsSuccess ¶ added in v0.9.0
func (o *GetVulnerabilitiesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get vulnerabilities internal server error response has a 2xx status code
func (*GetVulnerabilitiesInternalServerError) String ¶ added in v0.9.0
func (o *GetVulnerabilitiesInternalServerError) String() string
type GetVulnerabilitiesOK ¶
type GetVulnerabilitiesOK 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.DomainSPAPIVulnerabilitiesEntitiesResponseV2 }
GetVulnerabilitiesOK describes a response with status code 200, with default header values.
OK
func NewGetVulnerabilitiesOK ¶
func NewGetVulnerabilitiesOK() *GetVulnerabilitiesOK
NewGetVulnerabilitiesOK creates a GetVulnerabilitiesOK with default headers values
func (*GetVulnerabilitiesOK) Code ¶ added in v0.2.33
func (o *GetVulnerabilitiesOK) Code() int
Code gets the status code for the get vulnerabilities o k response
func (*GetVulnerabilitiesOK) Error ¶
func (o *GetVulnerabilitiesOK) Error() string
func (*GetVulnerabilitiesOK) GetPayload ¶
func (o *GetVulnerabilitiesOK) GetPayload() *models.DomainSPAPIVulnerabilitiesEntitiesResponseV2
func (*GetVulnerabilitiesOK) IsClientError ¶ added in v0.2.27
func (o *GetVulnerabilitiesOK) IsClientError() bool
IsClientError returns true when this get vulnerabilities o k response has a 4xx status code
func (*GetVulnerabilitiesOK) IsCode ¶ added in v0.2.27
func (o *GetVulnerabilitiesOK) IsCode(code int) bool
IsCode returns true when this get vulnerabilities o k response a status code equal to that given
func (*GetVulnerabilitiesOK) IsRedirect ¶ added in v0.2.27
func (o *GetVulnerabilitiesOK) IsRedirect() bool
IsRedirect returns true when this get vulnerabilities o k response has a 3xx status code
func (*GetVulnerabilitiesOK) IsServerError ¶ added in v0.2.27
func (o *GetVulnerabilitiesOK) IsServerError() bool
IsServerError returns true when this get vulnerabilities o k response has a 5xx status code
func (*GetVulnerabilitiesOK) IsSuccess ¶ added in v0.2.27
func (o *GetVulnerabilitiesOK) IsSuccess() bool
IsSuccess returns true when this get vulnerabilities o k response has a 2xx status code
func (*GetVulnerabilitiesOK) String ¶ added in v0.2.27
func (o *GetVulnerabilitiesOK) String() string
type GetVulnerabilitiesParams ¶
type GetVulnerabilitiesParams struct { /* Ids. One or more vulnerability IDs (max: 400). Find vulnerability IDs with GET /spotlight/queries/vulnerabilities/v1 */ Ids []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVulnerabilitiesParams contains all the parameters to send to the API endpoint
for the get vulnerabilities operation. Typically these are written to a http.Request.
func NewGetVulnerabilitiesParams ¶
func NewGetVulnerabilitiesParams() *GetVulnerabilitiesParams
NewGetVulnerabilitiesParams creates a new GetVulnerabilitiesParams 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 NewGetVulnerabilitiesParamsWithContext ¶
func NewGetVulnerabilitiesParamsWithContext(ctx context.Context) *GetVulnerabilitiesParams
NewGetVulnerabilitiesParamsWithContext creates a new GetVulnerabilitiesParams object with the ability to set a context for a request.
func NewGetVulnerabilitiesParamsWithHTTPClient ¶
func NewGetVulnerabilitiesParamsWithHTTPClient(client *http.Client) *GetVulnerabilitiesParams
NewGetVulnerabilitiesParamsWithHTTPClient creates a new GetVulnerabilitiesParams object with the ability to set a custom HTTPClient for a request.
func NewGetVulnerabilitiesParamsWithTimeout ¶
func NewGetVulnerabilitiesParamsWithTimeout(timeout time.Duration) *GetVulnerabilitiesParams
NewGetVulnerabilitiesParamsWithTimeout creates a new GetVulnerabilitiesParams object with the ability to set a timeout on a request.
func (*GetVulnerabilitiesParams) SetContext ¶
func (o *GetVulnerabilitiesParams) SetContext(ctx context.Context)
SetContext adds the context to the get vulnerabilities params
func (*GetVulnerabilitiesParams) SetDefaults ¶
func (o *GetVulnerabilitiesParams) SetDefaults()
SetDefaults hydrates default values in the get vulnerabilities params (not the query body).
All values with no default are reset to their zero value.
func (*GetVulnerabilitiesParams) SetHTTPClient ¶
func (o *GetVulnerabilitiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get vulnerabilities params
func (*GetVulnerabilitiesParams) SetIds ¶
func (o *GetVulnerabilitiesParams) SetIds(ids []string)
SetIds adds the ids to the get vulnerabilities params
func (*GetVulnerabilitiesParams) SetTimeout ¶
func (o *GetVulnerabilitiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get vulnerabilities params
func (*GetVulnerabilitiesParams) WithContext ¶
func (o *GetVulnerabilitiesParams) WithContext(ctx context.Context) *GetVulnerabilitiesParams
WithContext adds the context to the get vulnerabilities params
func (*GetVulnerabilitiesParams) WithDefaults ¶
func (o *GetVulnerabilitiesParams) WithDefaults() *GetVulnerabilitiesParams
WithDefaults hydrates default values in the get vulnerabilities params (not the query body).
All values with no default are reset to their zero value.
func (*GetVulnerabilitiesParams) WithHTTPClient ¶
func (o *GetVulnerabilitiesParams) WithHTTPClient(client *http.Client) *GetVulnerabilitiesParams
WithHTTPClient adds the HTTPClient to the get vulnerabilities params
func (*GetVulnerabilitiesParams) WithIds ¶
func (o *GetVulnerabilitiesParams) WithIds(ids []string) *GetVulnerabilitiesParams
WithIds adds the ids to the get vulnerabilities params
func (*GetVulnerabilitiesParams) WithTimeout ¶
func (o *GetVulnerabilitiesParams) WithTimeout(timeout time.Duration) *GetVulnerabilitiesParams
WithTimeout adds the timeout to the get vulnerabilities params
func (*GetVulnerabilitiesParams) WriteToRequest ¶
func (o *GetVulnerabilitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVulnerabilitiesReader ¶
type GetVulnerabilitiesReader struct {
// contains filtered or unexported fields
}
GetVulnerabilitiesReader is a Reader for the GetVulnerabilities structure.
func (*GetVulnerabilitiesReader) ReadResponse ¶
func (o *GetVulnerabilitiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVulnerabilitiesServiceUnavailable ¶ added in v0.7.0
type GetVulnerabilitiesServiceUnavailable struct { string XRateLimitLimit int64 XRateLimitRemaining int64 }XCSTRACEID
GetVulnerabilitiesServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable
func NewGetVulnerabilitiesServiceUnavailable ¶ added in v0.7.0
func NewGetVulnerabilitiesServiceUnavailable() *GetVulnerabilitiesServiceUnavailable
NewGetVulnerabilitiesServiceUnavailable creates a GetVulnerabilitiesServiceUnavailable with default headers values
func (*GetVulnerabilitiesServiceUnavailable) Code ¶ added in v0.7.0
func (o *GetVulnerabilitiesServiceUnavailable) Code() int
Code gets the status code for the get vulnerabilities service unavailable response
func (*GetVulnerabilitiesServiceUnavailable) Error ¶ added in v0.7.0
func (o *GetVulnerabilitiesServiceUnavailable) Error() string
func (*GetVulnerabilitiesServiceUnavailable) GetPayload ¶ added in v0.7.0
func (o *GetVulnerabilitiesServiceUnavailable) GetPayload() *models.DomainSPAPIVulnerabilitiesEntitiesResponseV2
func (*GetVulnerabilitiesServiceUnavailable) IsClientError ¶ added in v0.7.0
func (o *GetVulnerabilitiesServiceUnavailable) IsClientError() bool
IsClientError returns true when this get vulnerabilities service unavailable response has a 4xx status code
func (*GetVulnerabilitiesServiceUnavailable) IsCode ¶ added in v0.7.0
func (o *GetVulnerabilitiesServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get vulnerabilities service unavailable response a status code equal to that given
func (*GetVulnerabilitiesServiceUnavailable) IsRedirect ¶ added in v0.7.0
func (o *GetVulnerabilitiesServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get vulnerabilities service unavailable response has a 3xx status code
func (*GetVulnerabilitiesServiceUnavailable) IsServerError ¶ added in v0.7.0
func (o *GetVulnerabilitiesServiceUnavailable) IsServerError() bool
IsServerError returns true when this get vulnerabilities service unavailable response has a 5xx status code
func (*GetVulnerabilitiesServiceUnavailable) IsSuccess ¶ added in v0.7.0
func (o *GetVulnerabilitiesServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get vulnerabilities service unavailable response has a 2xx status code
func (*GetVulnerabilitiesServiceUnavailable) String ¶ added in v0.7.0
func (o *GetVulnerabilitiesServiceUnavailable) String() string
type GetVulnerabilitiesTooManyRequests ¶
type GetVulnerabilitiesTooManyRequests 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 }
GetVulnerabilitiesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetVulnerabilitiesTooManyRequests ¶
func NewGetVulnerabilitiesTooManyRequests() *GetVulnerabilitiesTooManyRequests
NewGetVulnerabilitiesTooManyRequests creates a GetVulnerabilitiesTooManyRequests with default headers values
func (*GetVulnerabilitiesTooManyRequests) Code ¶ added in v0.2.33
func (o *GetVulnerabilitiesTooManyRequests) Code() int
Code gets the status code for the get vulnerabilities too many requests response
func (*GetVulnerabilitiesTooManyRequests) Error ¶
func (o *GetVulnerabilitiesTooManyRequests) Error() string
func (*GetVulnerabilitiesTooManyRequests) GetPayload ¶
func (o *GetVulnerabilitiesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetVulnerabilitiesTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *GetVulnerabilitiesTooManyRequests) IsClientError() bool
IsClientError returns true when this get vulnerabilities too many requests response has a 4xx status code
func (*GetVulnerabilitiesTooManyRequests) IsCode ¶ added in v0.2.27
func (o *GetVulnerabilitiesTooManyRequests) IsCode(code int) bool
IsCode returns true when this get vulnerabilities too many requests response a status code equal to that given
func (*GetVulnerabilitiesTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *GetVulnerabilitiesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get vulnerabilities too many requests response has a 3xx status code
func (*GetVulnerabilitiesTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *GetVulnerabilitiesTooManyRequests) IsServerError() bool
IsServerError returns true when this get vulnerabilities too many requests response has a 5xx status code
func (*GetVulnerabilitiesTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *GetVulnerabilitiesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get vulnerabilities too many requests response has a 2xx status code
func (*GetVulnerabilitiesTooManyRequests) String ¶ added in v0.2.27
func (o *GetVulnerabilitiesTooManyRequests) String() string
type QueryVulnerabilitiesBadRequest ¶
type QueryVulnerabilitiesBadRequest 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.DomainSPAPIQueryResponse }
QueryVulnerabilitiesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewQueryVulnerabilitiesBadRequest ¶
func NewQueryVulnerabilitiesBadRequest() *QueryVulnerabilitiesBadRequest
NewQueryVulnerabilitiesBadRequest creates a QueryVulnerabilitiesBadRequest with default headers values
func (*QueryVulnerabilitiesBadRequest) Code ¶ added in v0.2.33
func (o *QueryVulnerabilitiesBadRequest) Code() int
Code gets the status code for the query vulnerabilities bad request response
func (*QueryVulnerabilitiesBadRequest) Error ¶
func (o *QueryVulnerabilitiesBadRequest) Error() string
func (*QueryVulnerabilitiesBadRequest) GetPayload ¶
func (o *QueryVulnerabilitiesBadRequest) GetPayload() *models.DomainSPAPIQueryResponse
func (*QueryVulnerabilitiesBadRequest) IsClientError ¶ added in v0.2.27
func (o *QueryVulnerabilitiesBadRequest) IsClientError() bool
IsClientError returns true when this query vulnerabilities bad request response has a 4xx status code
func (*QueryVulnerabilitiesBadRequest) IsCode ¶ added in v0.2.27
func (o *QueryVulnerabilitiesBadRequest) IsCode(code int) bool
IsCode returns true when this query vulnerabilities bad request response a status code equal to that given
func (*QueryVulnerabilitiesBadRequest) IsRedirect ¶ added in v0.2.27
func (o *QueryVulnerabilitiesBadRequest) IsRedirect() bool
IsRedirect returns true when this query vulnerabilities bad request response has a 3xx status code
func (*QueryVulnerabilitiesBadRequest) IsServerError ¶ added in v0.2.27
func (o *QueryVulnerabilitiesBadRequest) IsServerError() bool
IsServerError returns true when this query vulnerabilities bad request response has a 5xx status code
func (*QueryVulnerabilitiesBadRequest) IsSuccess ¶ added in v0.2.27
func (o *QueryVulnerabilitiesBadRequest) IsSuccess() bool
IsSuccess returns true when this query vulnerabilities bad request response has a 2xx status code
func (*QueryVulnerabilitiesBadRequest) String ¶ added in v0.2.27
func (o *QueryVulnerabilitiesBadRequest) String() string
type QueryVulnerabilitiesForbidden ¶
type QueryVulnerabilitiesForbidden 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 }
QueryVulnerabilitiesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewQueryVulnerabilitiesForbidden ¶
func NewQueryVulnerabilitiesForbidden() *QueryVulnerabilitiesForbidden
NewQueryVulnerabilitiesForbidden creates a QueryVulnerabilitiesForbidden with default headers values
func (*QueryVulnerabilitiesForbidden) Code ¶ added in v0.2.33
func (o *QueryVulnerabilitiesForbidden) Code() int
Code gets the status code for the query vulnerabilities forbidden response
func (*QueryVulnerabilitiesForbidden) Error ¶
func (o *QueryVulnerabilitiesForbidden) Error() string
func (*QueryVulnerabilitiesForbidden) GetPayload ¶
func (o *QueryVulnerabilitiesForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*QueryVulnerabilitiesForbidden) IsClientError ¶ added in v0.2.27
func (o *QueryVulnerabilitiesForbidden) IsClientError() bool
IsClientError returns true when this query vulnerabilities forbidden response has a 4xx status code
func (*QueryVulnerabilitiesForbidden) IsCode ¶ added in v0.2.27
func (o *QueryVulnerabilitiesForbidden) IsCode(code int) bool
IsCode returns true when this query vulnerabilities forbidden response a status code equal to that given
func (*QueryVulnerabilitiesForbidden) IsRedirect ¶ added in v0.2.27
func (o *QueryVulnerabilitiesForbidden) IsRedirect() bool
IsRedirect returns true when this query vulnerabilities forbidden response has a 3xx status code
func (*QueryVulnerabilitiesForbidden) IsServerError ¶ added in v0.2.27
func (o *QueryVulnerabilitiesForbidden) IsServerError() bool
IsServerError returns true when this query vulnerabilities forbidden response has a 5xx status code
func (*QueryVulnerabilitiesForbidden) IsSuccess ¶ added in v0.2.27
func (o *QueryVulnerabilitiesForbidden) IsSuccess() bool
IsSuccess returns true when this query vulnerabilities forbidden response has a 2xx status code
func (*QueryVulnerabilitiesForbidden) String ¶ added in v0.2.27
func (o *QueryVulnerabilitiesForbidden) String() string
type QueryVulnerabilitiesInternalServerError ¶
type QueryVulnerabilitiesInternalServerError 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.DomainSPAPIQueryResponse }
QueryVulnerabilitiesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewQueryVulnerabilitiesInternalServerError ¶
func NewQueryVulnerabilitiesInternalServerError() *QueryVulnerabilitiesInternalServerError
NewQueryVulnerabilitiesInternalServerError creates a QueryVulnerabilitiesInternalServerError with default headers values
func (*QueryVulnerabilitiesInternalServerError) Code ¶ added in v0.2.33
func (o *QueryVulnerabilitiesInternalServerError) Code() int
Code gets the status code for the query vulnerabilities internal server error response
func (*QueryVulnerabilitiesInternalServerError) Error ¶
func (o *QueryVulnerabilitiesInternalServerError) Error() string
func (*QueryVulnerabilitiesInternalServerError) GetPayload ¶
func (o *QueryVulnerabilitiesInternalServerError) GetPayload() *models.DomainSPAPIQueryResponse
func (*QueryVulnerabilitiesInternalServerError) IsClientError ¶ added in v0.2.27
func (o *QueryVulnerabilitiesInternalServerError) IsClientError() bool
IsClientError returns true when this query vulnerabilities internal server error response has a 4xx status code
func (*QueryVulnerabilitiesInternalServerError) IsCode ¶ added in v0.2.27
func (o *QueryVulnerabilitiesInternalServerError) IsCode(code int) bool
IsCode returns true when this query vulnerabilities internal server error response a status code equal to that given
func (*QueryVulnerabilitiesInternalServerError) IsRedirect ¶ added in v0.2.27
func (o *QueryVulnerabilitiesInternalServerError) IsRedirect() bool
IsRedirect returns true when this query vulnerabilities internal server error response has a 3xx status code
func (*QueryVulnerabilitiesInternalServerError) IsServerError ¶ added in v0.2.27
func (o *QueryVulnerabilitiesInternalServerError) IsServerError() bool
IsServerError returns true when this query vulnerabilities internal server error response has a 5xx status code
func (*QueryVulnerabilitiesInternalServerError) IsSuccess ¶ added in v0.2.27
func (o *QueryVulnerabilitiesInternalServerError) IsSuccess() bool
IsSuccess returns true when this query vulnerabilities internal server error response has a 2xx status code
func (*QueryVulnerabilitiesInternalServerError) String ¶ added in v0.2.27
func (o *QueryVulnerabilitiesInternalServerError) String() string
type QueryVulnerabilitiesOK ¶
type QueryVulnerabilitiesOK 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.DomainSPAPIQueryResponse }
QueryVulnerabilitiesOK describes a response with status code 200, with default header values.
OK
func NewQueryVulnerabilitiesOK ¶
func NewQueryVulnerabilitiesOK() *QueryVulnerabilitiesOK
NewQueryVulnerabilitiesOK creates a QueryVulnerabilitiesOK with default headers values
func (*QueryVulnerabilitiesOK) Code ¶ added in v0.2.33
func (o *QueryVulnerabilitiesOK) Code() int
Code gets the status code for the query vulnerabilities o k response
func (*QueryVulnerabilitiesOK) Error ¶
func (o *QueryVulnerabilitiesOK) Error() string
func (*QueryVulnerabilitiesOK) GetPayload ¶
func (o *QueryVulnerabilitiesOK) GetPayload() *models.DomainSPAPIQueryResponse
func (*QueryVulnerabilitiesOK) IsClientError ¶ added in v0.2.27
func (o *QueryVulnerabilitiesOK) IsClientError() bool
IsClientError returns true when this query vulnerabilities o k response has a 4xx status code
func (*QueryVulnerabilitiesOK) IsCode ¶ added in v0.2.27
func (o *QueryVulnerabilitiesOK) IsCode(code int) bool
IsCode returns true when this query vulnerabilities o k response a status code equal to that given
func (*QueryVulnerabilitiesOK) IsRedirect ¶ added in v0.2.27
func (o *QueryVulnerabilitiesOK) IsRedirect() bool
IsRedirect returns true when this query vulnerabilities o k response has a 3xx status code
func (*QueryVulnerabilitiesOK) IsServerError ¶ added in v0.2.27
func (o *QueryVulnerabilitiesOK) IsServerError() bool
IsServerError returns true when this query vulnerabilities o k response has a 5xx status code
func (*QueryVulnerabilitiesOK) IsSuccess ¶ added in v0.2.27
func (o *QueryVulnerabilitiesOK) IsSuccess() bool
IsSuccess returns true when this query vulnerabilities o k response has a 2xx status code
func (*QueryVulnerabilitiesOK) String ¶ added in v0.2.27
func (o *QueryVulnerabilitiesOK) String() string
type QueryVulnerabilitiesParams ¶
type QueryVulnerabilitiesParams struct { /* After. A pagination token used with the `limit` parameter to manage pagination of results. On your first request, don't provide an `after` token. On subsequent requests, provide the `after` token from the previous response to continue from that place in the results. */ After *string /* Filter. Filter items using a query in Falcon Query Language (FQL). Wildcards * and empty filter values are unsupported. Available filter fields that supports match (~): N/A Available filter fields that supports exact match: aid, cid, last_seen_within, status, cve.id, cve.is_cisa_kev, cve.remediation_level, cve.cps_rating, cve.exprt_rating, cve.exploit_status_to_include, cve.severity, cve.types, host_info.asset_criticality, host_info.asset_roles, host_info.internet_exposure, host_info.tags, host_info.groups, host_info.product_type_desc, host_info.platform_name, suppression_info.is_suppressed, suppression_info.reason Available filter fields that supports wildcard (*): N/A Available filter fields that supports range comparisons (>, <, >=, <=): created_timestamp, closed_timestamp, updated_timestamp */ Filter string /* Limit. The number of items to return in this response (default: 100, max: 400). Use with the after parameter to manage pagination of results. */ Limit *int64 /* Sort. Sort vulnerabilities by their properties. Available sort options: <ul><li>updated_timestamp|asc/desc</li><li>closed_timestamp|asc</li><li>updated_timestamp|asc/desc</li></ul>. Can be used in a format <field>|asc for ascending order or <field>|desc for descending order. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryVulnerabilitiesParams contains all the parameters to send to the API endpoint
for the query vulnerabilities operation. Typically these are written to a http.Request.
func NewQueryVulnerabilitiesParams ¶
func NewQueryVulnerabilitiesParams() *QueryVulnerabilitiesParams
NewQueryVulnerabilitiesParams creates a new QueryVulnerabilitiesParams 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 NewQueryVulnerabilitiesParamsWithContext ¶
func NewQueryVulnerabilitiesParamsWithContext(ctx context.Context) *QueryVulnerabilitiesParams
NewQueryVulnerabilitiesParamsWithContext creates a new QueryVulnerabilitiesParams object with the ability to set a context for a request.
func NewQueryVulnerabilitiesParamsWithHTTPClient ¶
func NewQueryVulnerabilitiesParamsWithHTTPClient(client *http.Client) *QueryVulnerabilitiesParams
NewQueryVulnerabilitiesParamsWithHTTPClient creates a new QueryVulnerabilitiesParams object with the ability to set a custom HTTPClient for a request.
func NewQueryVulnerabilitiesParamsWithTimeout ¶
func NewQueryVulnerabilitiesParamsWithTimeout(timeout time.Duration) *QueryVulnerabilitiesParams
NewQueryVulnerabilitiesParamsWithTimeout creates a new QueryVulnerabilitiesParams object with the ability to set a timeout on a request.
func (*QueryVulnerabilitiesParams) SetAfter ¶
func (o *QueryVulnerabilitiesParams) SetAfter(after *string)
SetAfter adds the after to the query vulnerabilities params
func (*QueryVulnerabilitiesParams) SetContext ¶
func (o *QueryVulnerabilitiesParams) SetContext(ctx context.Context)
SetContext adds the context to the query vulnerabilities params
func (*QueryVulnerabilitiesParams) SetDefaults ¶
func (o *QueryVulnerabilitiesParams) SetDefaults()
SetDefaults hydrates default values in the query vulnerabilities params (not the query body).
All values with no default are reset to their zero value.
func (*QueryVulnerabilitiesParams) SetFilter ¶
func (o *QueryVulnerabilitiesParams) SetFilter(filter string)
SetFilter adds the filter to the query vulnerabilities params
func (*QueryVulnerabilitiesParams) SetHTTPClient ¶
func (o *QueryVulnerabilitiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query vulnerabilities params
func (*QueryVulnerabilitiesParams) SetLimit ¶
func (o *QueryVulnerabilitiesParams) SetLimit(limit *int64)
SetLimit adds the limit to the query vulnerabilities params
func (*QueryVulnerabilitiesParams) SetSort ¶
func (o *QueryVulnerabilitiesParams) SetSort(sort *string)
SetSort adds the sort to the query vulnerabilities params
func (*QueryVulnerabilitiesParams) SetTimeout ¶
func (o *QueryVulnerabilitiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query vulnerabilities params
func (*QueryVulnerabilitiesParams) WithAfter ¶
func (o *QueryVulnerabilitiesParams) WithAfter(after *string) *QueryVulnerabilitiesParams
WithAfter adds the after to the query vulnerabilities params
func (*QueryVulnerabilitiesParams) WithContext ¶
func (o *QueryVulnerabilitiesParams) WithContext(ctx context.Context) *QueryVulnerabilitiesParams
WithContext adds the context to the query vulnerabilities params
func (*QueryVulnerabilitiesParams) WithDefaults ¶
func (o *QueryVulnerabilitiesParams) WithDefaults() *QueryVulnerabilitiesParams
WithDefaults hydrates default values in the query vulnerabilities params (not the query body).
All values with no default are reset to their zero value.
func (*QueryVulnerabilitiesParams) WithFilter ¶
func (o *QueryVulnerabilitiesParams) WithFilter(filter string) *QueryVulnerabilitiesParams
WithFilter adds the filter to the query vulnerabilities params
func (*QueryVulnerabilitiesParams) WithHTTPClient ¶
func (o *QueryVulnerabilitiesParams) WithHTTPClient(client *http.Client) *QueryVulnerabilitiesParams
WithHTTPClient adds the HTTPClient to the query vulnerabilities params
func (*QueryVulnerabilitiesParams) WithLimit ¶
func (o *QueryVulnerabilitiesParams) WithLimit(limit *int64) *QueryVulnerabilitiesParams
WithLimit adds the limit to the query vulnerabilities params
func (*QueryVulnerabilitiesParams) WithSort ¶
func (o *QueryVulnerabilitiesParams) WithSort(sort *string) *QueryVulnerabilitiesParams
WithSort adds the sort to the query vulnerabilities params
func (*QueryVulnerabilitiesParams) WithTimeout ¶
func (o *QueryVulnerabilitiesParams) WithTimeout(timeout time.Duration) *QueryVulnerabilitiesParams
WithTimeout adds the timeout to the query vulnerabilities params
func (*QueryVulnerabilitiesParams) WriteToRequest ¶
func (o *QueryVulnerabilitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryVulnerabilitiesReader ¶
type QueryVulnerabilitiesReader struct {
// contains filtered or unexported fields
}
QueryVulnerabilitiesReader is a Reader for the QueryVulnerabilities structure.
func (*QueryVulnerabilitiesReader) ReadResponse ¶
func (o *QueryVulnerabilitiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryVulnerabilitiesServiceUnavailable ¶ added in v0.7.0
type QueryVulnerabilitiesServiceUnavailable struct { string XRateLimitLimit int64 XRateLimitRemaining int64 }XCSTRACEID
QueryVulnerabilitiesServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable
func NewQueryVulnerabilitiesServiceUnavailable ¶ added in v0.7.0
func NewQueryVulnerabilitiesServiceUnavailable() *QueryVulnerabilitiesServiceUnavailable
NewQueryVulnerabilitiesServiceUnavailable creates a QueryVulnerabilitiesServiceUnavailable with default headers values
func (*QueryVulnerabilitiesServiceUnavailable) Code ¶ added in v0.7.0
func (o *QueryVulnerabilitiesServiceUnavailable) Code() int
Code gets the status code for the query vulnerabilities service unavailable response
func (*QueryVulnerabilitiesServiceUnavailable) Error ¶ added in v0.7.0
func (o *QueryVulnerabilitiesServiceUnavailable) Error() string
func (*QueryVulnerabilitiesServiceUnavailable) GetPayload ¶ added in v0.7.0
func (o *QueryVulnerabilitiesServiceUnavailable) GetPayload() *models.DomainSPAPIQueryResponse
func (*QueryVulnerabilitiesServiceUnavailable) IsClientError ¶ added in v0.7.0
func (o *QueryVulnerabilitiesServiceUnavailable) IsClientError() bool
IsClientError returns true when this query vulnerabilities service unavailable response has a 4xx status code
func (*QueryVulnerabilitiesServiceUnavailable) IsCode ¶ added in v0.7.0
func (o *QueryVulnerabilitiesServiceUnavailable) IsCode(code int) bool
IsCode returns true when this query vulnerabilities service unavailable response a status code equal to that given
func (*QueryVulnerabilitiesServiceUnavailable) IsRedirect ¶ added in v0.7.0
func (o *QueryVulnerabilitiesServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this query vulnerabilities service unavailable response has a 3xx status code
func (*QueryVulnerabilitiesServiceUnavailable) IsServerError ¶ added in v0.7.0
func (o *QueryVulnerabilitiesServiceUnavailable) IsServerError() bool
IsServerError returns true when this query vulnerabilities service unavailable response has a 5xx status code
func (*QueryVulnerabilitiesServiceUnavailable) IsSuccess ¶ added in v0.7.0
func (o *QueryVulnerabilitiesServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this query vulnerabilities service unavailable response has a 2xx status code
func (*QueryVulnerabilitiesServiceUnavailable) String ¶ added in v0.7.0
func (o *QueryVulnerabilitiesServiceUnavailable) String() string
type QueryVulnerabilitiesTooManyRequests ¶
type QueryVulnerabilitiesTooManyRequests 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 }
QueryVulnerabilitiesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewQueryVulnerabilitiesTooManyRequests ¶
func NewQueryVulnerabilitiesTooManyRequests() *QueryVulnerabilitiesTooManyRequests
NewQueryVulnerabilitiesTooManyRequests creates a QueryVulnerabilitiesTooManyRequests with default headers values
func (*QueryVulnerabilitiesTooManyRequests) Code ¶ added in v0.2.33
func (o *QueryVulnerabilitiesTooManyRequests) Code() int
Code gets the status code for the query vulnerabilities too many requests response
func (*QueryVulnerabilitiesTooManyRequests) Error ¶
func (o *QueryVulnerabilitiesTooManyRequests) Error() string
func (*QueryVulnerabilitiesTooManyRequests) GetPayload ¶
func (o *QueryVulnerabilitiesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*QueryVulnerabilitiesTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *QueryVulnerabilitiesTooManyRequests) IsClientError() bool
IsClientError returns true when this query vulnerabilities too many requests response has a 4xx status code
func (*QueryVulnerabilitiesTooManyRequests) IsCode ¶ added in v0.2.27
func (o *QueryVulnerabilitiesTooManyRequests) IsCode(code int) bool
IsCode returns true when this query vulnerabilities too many requests response a status code equal to that given
func (*QueryVulnerabilitiesTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *QueryVulnerabilitiesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this query vulnerabilities too many requests response has a 3xx status code
func (*QueryVulnerabilitiesTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *QueryVulnerabilitiesTooManyRequests) IsServerError() bool
IsServerError returns true when this query vulnerabilities too many requests response has a 5xx status code
func (*QueryVulnerabilitiesTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *QueryVulnerabilitiesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this query vulnerabilities too many requests response has a 2xx status code
func (*QueryVulnerabilitiesTooManyRequests) String ¶ added in v0.2.27
func (o *QueryVulnerabilitiesTooManyRequests) String() string
Source Files ¶
- combined_query_vulnerabilities_parameters.go
- combined_query_vulnerabilities_responses.go
- get_remediations_v2_parameters.go
- get_remediations_v2_responses.go
- get_vulnerabilities_parameters.go
- get_vulnerabilities_responses.go
- query_vulnerabilities_parameters.go
- query_vulnerabilities_responses.go
- spotlight_vulnerabilities_client.go