Documentation
¶
Overview ¶
Package client provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen/v2 version v2.2.0 DO NOT EDIT.
Index ¶
- func NewDeleteAssetFindingsAssetFindingIDRequest(server string, assetFindingID AssetFindingID) (*http.Request, error)
- func NewDeleteAssetScanEstimationsAssetScanEstimationIDRequest(server string, assetScanEstimationID AssetScanEstimationID) (*http.Request, error)
- func NewDeleteAssetsAssetIDRequest(server string, assetID AssetID) (*http.Request, error)
- func NewDeleteFindingsFindingIDRequest(server string, findingID FindingID) (*http.Request, error)
- func NewDeleteProvidersProviderIDRequest(server string, providerID ProviderID) (*http.Request, error)
- func NewDeleteScanConfigsScanConfigIDRequest(server string, scanConfigID ScanConfigID) (*http.Request, error)
- func NewDeleteScanEstimationsScanEstimationIDRequest(server string, scanEstimationID ScanEstimationID) (*http.Request, error)
- func NewDeleteScansScanIDRequest(server string, scanID ScanID) (*http.Request, error)
- func NewGetAssetFindingsAssetFindingIDRequest(server string, assetFindingID AssetFindingID, ...) (*http.Request, error)
- func NewGetAssetFindingsRequest(server string, params *GetAssetFindingsParams) (*http.Request, error)
- func NewGetAssetScanEstimationsAssetScanEstimationIDRequest(server string, assetScanEstimationID AssetScanEstimationID, ...) (*http.Request, error)
- func NewGetAssetScanEstimationsRequest(server string, params *GetAssetScanEstimationsParams) (*http.Request, error)
- func NewGetAssetScansAssetScanIDRequest(server string, assetScanID AssetScanID, params *GetAssetScansAssetScanIDParams) (*http.Request, error)
- func NewGetAssetScansRequest(server string, params *GetAssetScansParams) (*http.Request, error)
- func NewGetAssetsAssetIDRequest(server string, assetID AssetID, params *GetAssetsAssetIDParams) (*http.Request, error)
- func NewGetAssetsRequest(server string, params *GetAssetsParams) (*http.Request, error)
- func NewGetFindingsFindingIDRequest(server string, findingID FindingID, params *GetFindingsFindingIDParams) (*http.Request, error)
- func NewGetFindingsRequest(server string, params *GetFindingsParams) (*http.Request, error)
- func NewGetOpenAPISpecRequest(server string) (*http.Request, error)
- func NewGetProvidersProviderIDRequest(server string, providerID ProviderID, params *GetProvidersProviderIDParams) (*http.Request, error)
- func NewGetProvidersRequest(server string, params *GetProvidersParams) (*http.Request, error)
- func NewGetScanConfigsRequest(server string, params *GetScanConfigsParams) (*http.Request, error)
- func NewGetScanConfigsScanConfigIDRequest(server string, scanConfigID ScanConfigID, ...) (*http.Request, error)
- func NewGetScanEstimationsRequest(server string, params *GetScanEstimationsParams) (*http.Request, error)
- func NewGetScanEstimationsScanEstimationIDRequest(server string, scanEstimationID ScanEstimationID, ...) (*http.Request, error)
- func NewGetScansRequest(server string, params *GetScansParams) (*http.Request, error)
- func NewGetScansScanIDRequest(server string, scanID ScanID, params *GetScansScanIDParams) (*http.Request, error)
- func NewPatchAssetFindingsAssetFindingIDRequest(server string, assetFindingID AssetFindingID, ...) (*http.Request, error)
- func NewPatchAssetFindingsAssetFindingIDRequestWithBody(server string, assetFindingID AssetFindingID, ...) (*http.Request, error)
- func NewPatchAssetScanEstimationsAssetScanEstimationIDRequest(server string, assetScanEstimationID AssetScanEstimationID, ...) (*http.Request, error)
- func NewPatchAssetScanEstimationsAssetScanEstimationIDRequestWithBody(server string, assetScanEstimationID AssetScanEstimationID, ...) (*http.Request, error)
- func NewPatchAssetScansAssetScanIDRequest(server string, assetScanID AssetScanID, ...) (*http.Request, error)
- func NewPatchAssetScansAssetScanIDRequestWithBody(server string, assetScanID AssetScanID, ...) (*http.Request, error)
- func NewPatchAssetsAssetIDRequest(server string, assetID AssetID, params *PatchAssetsAssetIDParams, ...) (*http.Request, error)
- func NewPatchAssetsAssetIDRequestWithBody(server string, assetID AssetID, params *PatchAssetsAssetIDParams, ...) (*http.Request, error)
- func NewPatchFindingsFindingIDRequest(server string, findingID FindingID, body PatchFindingsFindingIDJSONRequestBody) (*http.Request, error)
- func NewPatchFindingsFindingIDRequestWithBody(server string, findingID FindingID, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchProvidersProviderIDRequest(server string, providerID ProviderID, params *PatchProvidersProviderIDParams, ...) (*http.Request, error)
- func NewPatchProvidersProviderIDRequestWithBody(server string, providerID ProviderID, params *PatchProvidersProviderIDParams, ...) (*http.Request, error)
- func NewPatchScanConfigsScanConfigIDRequest(server string, scanConfigID ScanConfigID, ...) (*http.Request, error)
- func NewPatchScanConfigsScanConfigIDRequestWithBody(server string, scanConfigID ScanConfigID, ...) (*http.Request, error)
- func NewPatchScanEstimationsScanEstimationIDRequest(server string, scanEstimationID ScanEstimationID, ...) (*http.Request, error)
- func NewPatchScanEstimationsScanEstimationIDRequestWithBody(server string, scanEstimationID ScanEstimationID, ...) (*http.Request, error)
- func NewPatchScansScanIDRequest(server string, scanID ScanID, params *PatchScansScanIDParams, ...) (*http.Request, error)
- func NewPatchScansScanIDRequestWithBody(server string, scanID ScanID, params *PatchScansScanIDParams, ...) (*http.Request, error)
- func NewPostAssetFindingsRequest(server string, body PostAssetFindingsJSONRequestBody) (*http.Request, error)
- func NewPostAssetFindingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAssetScanEstimationsRequest(server string, body PostAssetScanEstimationsJSONRequestBody) (*http.Request, error)
- func NewPostAssetScanEstimationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAssetScansRequest(server string, body PostAssetScansJSONRequestBody) (*http.Request, error)
- func NewPostAssetScansRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAssetsRequest(server string, body PostAssetsJSONRequestBody) (*http.Request, error)
- func NewPostAssetsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostFindingsRequest(server string, body PostFindingsJSONRequestBody) (*http.Request, error)
- func NewPostFindingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostProvidersRequest(server string, body PostProvidersJSONRequestBody) (*http.Request, error)
- func NewPostProvidersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostScanConfigsRequest(server string, body PostScanConfigsJSONRequestBody) (*http.Request, error)
- func NewPostScanConfigsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostScanEstimationsRequest(server string, body PostScanEstimationsJSONRequestBody) (*http.Request, error)
- func NewPostScanEstimationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostScansRequest(server string, body PostScansJSONRequestBody) (*http.Request, error)
- func NewPostScansRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutAssetFindingsAssetFindingIDRequest(server string, assetFindingID AssetFindingID, ...) (*http.Request, error)
- func NewPutAssetFindingsAssetFindingIDRequestWithBody(server string, assetFindingID AssetFindingID, ...) (*http.Request, error)
- func NewPutAssetScanEstimationsAssetScanEstimationIDRequest(server string, assetScanEstimationID AssetScanEstimationID, ...) (*http.Request, error)
- func NewPutAssetScanEstimationsAssetScanEstimationIDRequestWithBody(server string, assetScanEstimationID AssetScanEstimationID, ...) (*http.Request, error)
- func NewPutAssetScansAssetScanIDRequest(server string, assetScanID AssetScanID, params *PutAssetScansAssetScanIDParams, ...) (*http.Request, error)
- func NewPutAssetScansAssetScanIDRequestWithBody(server string, assetScanID AssetScanID, params *PutAssetScansAssetScanIDParams, ...) (*http.Request, error)
- func NewPutAssetsAssetIDRequest(server string, assetID AssetID, params *PutAssetsAssetIDParams, ...) (*http.Request, error)
- func NewPutAssetsAssetIDRequestWithBody(server string, assetID AssetID, params *PutAssetsAssetIDParams, ...) (*http.Request, error)
- func NewPutFindingsFindingIDRequest(server string, findingID FindingID, body PutFindingsFindingIDJSONRequestBody) (*http.Request, error)
- func NewPutFindingsFindingIDRequestWithBody(server string, findingID FindingID, contentType string, body io.Reader) (*http.Request, error)
- func NewPutProvidersProviderIDRequest(server string, providerID ProviderID, params *PutProvidersProviderIDParams, ...) (*http.Request, error)
- func NewPutProvidersProviderIDRequestWithBody(server string, providerID ProviderID, params *PutProvidersProviderIDParams, ...) (*http.Request, error)
- func NewPutScanConfigsScanConfigIDRequest(server string, scanConfigID ScanConfigID, ...) (*http.Request, error)
- func NewPutScanConfigsScanConfigIDRequestWithBody(server string, scanConfigID ScanConfigID, ...) (*http.Request, error)
- func NewPutScanEstimationsScanEstimationIDRequest(server string, scanEstimationID ScanEstimationID, ...) (*http.Request, error)
- func NewPutScanEstimationsScanEstimationIDRequestWithBody(server string, scanEstimationID ScanEstimationID, ...) (*http.Request, error)
- func NewPutScansScanIDRequest(server string, scanID ScanID, params *PutScansScanIDParams, ...) (*http.Request, error)
- func NewPutScansScanIDRequestWithBody(server string, scanID ScanID, params *PutScansScanIDParams, contentType string, ...) (*http.Request, error)
- type Client
- func (c *Client) DeleteAssetFindingsAssetFindingID(ctx context.Context, assetFindingID AssetFindingID, ...) (*http.Response, error)
- func (c *Client) DeleteAssetScanEstimationsAssetScanEstimationID(ctx context.Context, assetScanEstimationID AssetScanEstimationID, ...) (*http.Response, error)
- func (c *Client) DeleteAssetsAssetID(ctx context.Context, assetID AssetID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteFindingsFindingID(ctx context.Context, findingID FindingID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteProvidersProviderID(ctx context.Context, providerID ProviderID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteScanConfigsScanConfigID(ctx context.Context, scanConfigID ScanConfigID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteScanEstimationsScanEstimationID(ctx context.Context, scanEstimationID ScanEstimationID, ...) (*http.Response, error)
- func (c *Client) DeleteScansScanID(ctx context.Context, scanID ScanID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAssetFindings(ctx context.Context, params *GetAssetFindingsParams, ...) (*http.Response, error)
- func (c *Client) GetAssetFindingsAssetFindingID(ctx context.Context, assetFindingID AssetFindingID, ...) (*http.Response, error)
- func (c *Client) GetAssetScanEstimations(ctx context.Context, params *GetAssetScanEstimationsParams, ...) (*http.Response, error)
- func (c *Client) GetAssetScanEstimationsAssetScanEstimationID(ctx context.Context, assetScanEstimationID AssetScanEstimationID, ...) (*http.Response, error)
- func (c *Client) GetAssetScans(ctx context.Context, params *GetAssetScansParams, ...) (*http.Response, error)
- func (c *Client) GetAssetScansAssetScanID(ctx context.Context, assetScanID AssetScanID, ...) (*http.Response, error)
- func (c *Client) GetAssets(ctx context.Context, params *GetAssetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAssetsAssetID(ctx context.Context, assetID AssetID, params *GetAssetsAssetIDParams, ...) (*http.Response, error)
- func (c *Client) GetFindings(ctx context.Context, params *GetFindingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFindingsFindingID(ctx context.Context, findingID FindingID, params *GetFindingsFindingIDParams, ...) (*http.Response, error)
- func (c *Client) GetOpenAPISpec(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProviders(ctx context.Context, params *GetProvidersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProvidersProviderID(ctx context.Context, providerID ProviderID, ...) (*http.Response, error)
- func (c *Client) GetScanConfigs(ctx context.Context, params *GetScanConfigsParams, ...) (*http.Response, error)
- func (c *Client) GetScanConfigsScanConfigID(ctx context.Context, scanConfigID ScanConfigID, ...) (*http.Response, error)
- func (c *Client) GetScanEstimations(ctx context.Context, params *GetScanEstimationsParams, ...) (*http.Response, error)
- func (c *Client) GetScanEstimationsScanEstimationID(ctx context.Context, scanEstimationID ScanEstimationID, ...) (*http.Response, error)
- func (c *Client) GetScans(ctx context.Context, params *GetScansParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetScansScanID(ctx context.Context, scanID ScanID, params *GetScansScanIDParams, ...) (*http.Response, error)
- func (c *Client) PatchAssetFindingsAssetFindingID(ctx context.Context, assetFindingID AssetFindingID, ...) (*http.Response, error)
- func (c *Client) PatchAssetFindingsAssetFindingIDWithBody(ctx context.Context, assetFindingID AssetFindingID, ...) (*http.Response, error)
- func (c *Client) PatchAssetScanEstimationsAssetScanEstimationID(ctx context.Context, assetScanEstimationID AssetScanEstimationID, ...) (*http.Response, error)
- func (c *Client) PatchAssetScanEstimationsAssetScanEstimationIDWithBody(ctx context.Context, assetScanEstimationID AssetScanEstimationID, ...) (*http.Response, error)
- func (c *Client) PatchAssetScansAssetScanID(ctx context.Context, assetScanID AssetScanID, ...) (*http.Response, error)
- func (c *Client) PatchAssetScansAssetScanIDWithBody(ctx context.Context, assetScanID AssetScanID, ...) (*http.Response, error)
- func (c *Client) PatchAssetsAssetID(ctx context.Context, assetID AssetID, params *PatchAssetsAssetIDParams, ...) (*http.Response, error)
- func (c *Client) PatchAssetsAssetIDWithBody(ctx context.Context, assetID AssetID, params *PatchAssetsAssetIDParams, ...) (*http.Response, error)
- func (c *Client) PatchFindingsFindingID(ctx context.Context, findingID FindingID, ...) (*http.Response, error)
- func (c *Client) PatchFindingsFindingIDWithBody(ctx context.Context, findingID FindingID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchProvidersProviderID(ctx context.Context, providerID ProviderID, ...) (*http.Response, error)
- func (c *Client) PatchProvidersProviderIDWithBody(ctx context.Context, providerID ProviderID, ...) (*http.Response, error)
- func (c *Client) PatchScanConfigsScanConfigID(ctx context.Context, scanConfigID ScanConfigID, ...) (*http.Response, error)
- func (c *Client) PatchScanConfigsScanConfigIDWithBody(ctx context.Context, scanConfigID ScanConfigID, ...) (*http.Response, error)
- func (c *Client) PatchScanEstimationsScanEstimationID(ctx context.Context, scanEstimationID ScanEstimationID, ...) (*http.Response, error)
- func (c *Client) PatchScanEstimationsScanEstimationIDWithBody(ctx context.Context, scanEstimationID ScanEstimationID, ...) (*http.Response, error)
- func (c *Client) PatchScansScanID(ctx context.Context, scanID ScanID, params *PatchScansScanIDParams, ...) (*http.Response, error)
- func (c *Client) PatchScansScanIDWithBody(ctx context.Context, scanID ScanID, params *PatchScansScanIDParams, ...) (*http.Response, error)
- func (c *Client) PostAssetFindings(ctx context.Context, body PostAssetFindingsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAssetFindingsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAssetScanEstimations(ctx context.Context, body PostAssetScanEstimationsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAssetScanEstimationsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAssetScans(ctx context.Context, body PostAssetScansJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAssetScansWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAssets(ctx context.Context, body PostAssetsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAssetsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostFindings(ctx context.Context, body PostFindingsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostFindingsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostProviders(ctx context.Context, body PostProvidersJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostProvidersWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostScanConfigs(ctx context.Context, body PostScanConfigsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostScanConfigsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostScanEstimations(ctx context.Context, body PostScanEstimationsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostScanEstimationsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostScans(ctx context.Context, body PostScansJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostScansWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutAssetFindingsAssetFindingID(ctx context.Context, assetFindingID AssetFindingID, ...) (*http.Response, error)
- func (c *Client) PutAssetFindingsAssetFindingIDWithBody(ctx context.Context, assetFindingID AssetFindingID, ...) (*http.Response, error)
- func (c *Client) PutAssetScanEstimationsAssetScanEstimationID(ctx context.Context, assetScanEstimationID AssetScanEstimationID, ...) (*http.Response, error)
- func (c *Client) PutAssetScanEstimationsAssetScanEstimationIDWithBody(ctx context.Context, assetScanEstimationID AssetScanEstimationID, ...) (*http.Response, error)
- func (c *Client) PutAssetScansAssetScanID(ctx context.Context, assetScanID AssetScanID, ...) (*http.Response, error)
- func (c *Client) PutAssetScansAssetScanIDWithBody(ctx context.Context, assetScanID AssetScanID, ...) (*http.Response, error)
- func (c *Client) PutAssetsAssetID(ctx context.Context, assetID AssetID, params *PutAssetsAssetIDParams, ...) (*http.Response, error)
- func (c *Client) PutAssetsAssetIDWithBody(ctx context.Context, assetID AssetID, params *PutAssetsAssetIDParams, ...) (*http.Response, error)
- func (c *Client) PutFindingsFindingID(ctx context.Context, findingID FindingID, ...) (*http.Response, error)
- func (c *Client) PutFindingsFindingIDWithBody(ctx context.Context, findingID FindingID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutProvidersProviderID(ctx context.Context, providerID ProviderID, ...) (*http.Response, error)
- func (c *Client) PutProvidersProviderIDWithBody(ctx context.Context, providerID ProviderID, ...) (*http.Response, error)
- func (c *Client) PutScanConfigsScanConfigID(ctx context.Context, scanConfigID ScanConfigID, ...) (*http.Response, error)
- func (c *Client) PutScanConfigsScanConfigIDWithBody(ctx context.Context, scanConfigID ScanConfigID, ...) (*http.Response, error)
- func (c *Client) PutScanEstimationsScanEstimationID(ctx context.Context, scanEstimationID ScanEstimationID, ...) (*http.Response, error)
- func (c *Client) PutScanEstimationsScanEstimationIDWithBody(ctx context.Context, scanEstimationID ScanEstimationID, ...) (*http.Response, error)
- func (c *Client) PutScansScanID(ctx context.Context, scanID ScanID, params *PutScansScanIDParams, ...) (*http.Response, error)
- func (c *Client) PutScansScanIDWithBody(ctx context.Context, scanID ScanID, params *PutScansScanIDParams, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteAssetFindingsAssetFindingIDWithResponse(ctx context.Context, assetFindingID AssetFindingID, ...) (*DeleteAssetFindingsAssetFindingIDResponse, error)
- func (c *ClientWithResponses) DeleteAssetScanEstimationsAssetScanEstimationIDWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, ...) (*DeleteAssetScanEstimationsAssetScanEstimationIDResponse, error)
- func (c *ClientWithResponses) DeleteAssetsAssetIDWithResponse(ctx context.Context, assetID AssetID, reqEditors ...RequestEditorFn) (*DeleteAssetsAssetIDResponse, error)
- func (c *ClientWithResponses) DeleteFindingsFindingIDWithResponse(ctx context.Context, findingID FindingID, reqEditors ...RequestEditorFn) (*DeleteFindingsFindingIDResponse, error)
- func (c *ClientWithResponses) DeleteProvidersProviderIDWithResponse(ctx context.Context, providerID ProviderID, reqEditors ...RequestEditorFn) (*DeleteProvidersProviderIDResponse, error)
- func (c *ClientWithResponses) DeleteScanConfigsScanConfigIDWithResponse(ctx context.Context, scanConfigID ScanConfigID, reqEditors ...RequestEditorFn) (*DeleteScanConfigsScanConfigIDResponse, error)
- func (c *ClientWithResponses) DeleteScanEstimationsScanEstimationIDWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, ...) (*DeleteScanEstimationsScanEstimationIDResponse, error)
- func (c *ClientWithResponses) DeleteScansScanIDWithResponse(ctx context.Context, scanID ScanID, reqEditors ...RequestEditorFn) (*DeleteScansScanIDResponse, error)
- func (c *ClientWithResponses) GetAssetFindingsAssetFindingIDWithResponse(ctx context.Context, assetFindingID AssetFindingID, ...) (*GetAssetFindingsAssetFindingIDResponse, error)
- func (c *ClientWithResponses) GetAssetFindingsWithResponse(ctx context.Context, params *GetAssetFindingsParams, ...) (*GetAssetFindingsResponse, error)
- func (c *ClientWithResponses) GetAssetScanEstimationsAssetScanEstimationIDWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, ...) (*GetAssetScanEstimationsAssetScanEstimationIDResponse, error)
- func (c *ClientWithResponses) GetAssetScanEstimationsWithResponse(ctx context.Context, params *GetAssetScanEstimationsParams, ...) (*GetAssetScanEstimationsResponse, error)
- func (c *ClientWithResponses) GetAssetScansAssetScanIDWithResponse(ctx context.Context, assetScanID AssetScanID, ...) (*GetAssetScansAssetScanIDResponse, error)
- func (c *ClientWithResponses) GetAssetScansWithResponse(ctx context.Context, params *GetAssetScansParams, ...) (*GetAssetScansResponse, error)
- func (c *ClientWithResponses) GetAssetsAssetIDWithResponse(ctx context.Context, assetID AssetID, params *GetAssetsAssetIDParams, ...) (*GetAssetsAssetIDResponse, error)
- func (c *ClientWithResponses) GetAssetsWithResponse(ctx context.Context, params *GetAssetsParams, reqEditors ...RequestEditorFn) (*GetAssetsResponse, error)
- func (c *ClientWithResponses) GetFindingsFindingIDWithResponse(ctx context.Context, findingID FindingID, params *GetFindingsFindingIDParams, ...) (*GetFindingsFindingIDResponse, error)
- func (c *ClientWithResponses) GetFindingsWithResponse(ctx context.Context, params *GetFindingsParams, reqEditors ...RequestEditorFn) (*GetFindingsResponse, error)
- func (c *ClientWithResponses) GetOpenAPISpecWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenAPISpecResponse, error)
- func (c *ClientWithResponses) GetProvidersProviderIDWithResponse(ctx context.Context, providerID ProviderID, ...) (*GetProvidersProviderIDResponse, error)
- func (c *ClientWithResponses) GetProvidersWithResponse(ctx context.Context, params *GetProvidersParams, reqEditors ...RequestEditorFn) (*GetProvidersResponse, error)
- func (c *ClientWithResponses) GetScanConfigsScanConfigIDWithResponse(ctx context.Context, scanConfigID ScanConfigID, ...) (*GetScanConfigsScanConfigIDResponse, error)
- func (c *ClientWithResponses) GetScanConfigsWithResponse(ctx context.Context, params *GetScanConfigsParams, ...) (*GetScanConfigsResponse, error)
- func (c *ClientWithResponses) GetScanEstimationsScanEstimationIDWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, ...) (*GetScanEstimationsScanEstimationIDResponse, error)
- func (c *ClientWithResponses) GetScanEstimationsWithResponse(ctx context.Context, params *GetScanEstimationsParams, ...) (*GetScanEstimationsResponse, error)
- func (c *ClientWithResponses) GetScansScanIDWithResponse(ctx context.Context, scanID ScanID, params *GetScansScanIDParams, ...) (*GetScansScanIDResponse, error)
- func (c *ClientWithResponses) GetScansWithResponse(ctx context.Context, params *GetScansParams, reqEditors ...RequestEditorFn) (*GetScansResponse, error)
- func (c *ClientWithResponses) PatchAssetFindingsAssetFindingIDWithBodyWithResponse(ctx context.Context, assetFindingID AssetFindingID, ...) (*PatchAssetFindingsAssetFindingIDResponse, error)
- func (c *ClientWithResponses) PatchAssetFindingsAssetFindingIDWithResponse(ctx context.Context, assetFindingID AssetFindingID, ...) (*PatchAssetFindingsAssetFindingIDResponse, error)
- func (c *ClientWithResponses) PatchAssetScanEstimationsAssetScanEstimationIDWithBodyWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, ...) (*PatchAssetScanEstimationsAssetScanEstimationIDResponse, error)
- func (c *ClientWithResponses) PatchAssetScanEstimationsAssetScanEstimationIDWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, ...) (*PatchAssetScanEstimationsAssetScanEstimationIDResponse, error)
- func (c *ClientWithResponses) PatchAssetScansAssetScanIDWithBodyWithResponse(ctx context.Context, assetScanID AssetScanID, ...) (*PatchAssetScansAssetScanIDResponse, error)
- func (c *ClientWithResponses) PatchAssetScansAssetScanIDWithResponse(ctx context.Context, assetScanID AssetScanID, ...) (*PatchAssetScansAssetScanIDResponse, error)
- func (c *ClientWithResponses) PatchAssetsAssetIDWithBodyWithResponse(ctx context.Context, assetID AssetID, params *PatchAssetsAssetIDParams, ...) (*PatchAssetsAssetIDResponse, error)
- func (c *ClientWithResponses) PatchAssetsAssetIDWithResponse(ctx context.Context, assetID AssetID, params *PatchAssetsAssetIDParams, ...) (*PatchAssetsAssetIDResponse, error)
- func (c *ClientWithResponses) PatchFindingsFindingIDWithBodyWithResponse(ctx context.Context, findingID FindingID, contentType string, body io.Reader, ...) (*PatchFindingsFindingIDResponse, error)
- func (c *ClientWithResponses) PatchFindingsFindingIDWithResponse(ctx context.Context, findingID FindingID, ...) (*PatchFindingsFindingIDResponse, error)
- func (c *ClientWithResponses) PatchProvidersProviderIDWithBodyWithResponse(ctx context.Context, providerID ProviderID, ...) (*PatchProvidersProviderIDResponse, error)
- func (c *ClientWithResponses) PatchProvidersProviderIDWithResponse(ctx context.Context, providerID ProviderID, ...) (*PatchProvidersProviderIDResponse, error)
- func (c *ClientWithResponses) PatchScanConfigsScanConfigIDWithBodyWithResponse(ctx context.Context, scanConfigID ScanConfigID, ...) (*PatchScanConfigsScanConfigIDResponse, error)
- func (c *ClientWithResponses) PatchScanConfigsScanConfigIDWithResponse(ctx context.Context, scanConfigID ScanConfigID, ...) (*PatchScanConfigsScanConfigIDResponse, error)
- func (c *ClientWithResponses) PatchScanEstimationsScanEstimationIDWithBodyWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, ...) (*PatchScanEstimationsScanEstimationIDResponse, error)
- func (c *ClientWithResponses) PatchScanEstimationsScanEstimationIDWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, ...) (*PatchScanEstimationsScanEstimationIDResponse, error)
- func (c *ClientWithResponses) PatchScansScanIDWithBodyWithResponse(ctx context.Context, scanID ScanID, params *PatchScansScanIDParams, ...) (*PatchScansScanIDResponse, error)
- func (c *ClientWithResponses) PatchScansScanIDWithResponse(ctx context.Context, scanID ScanID, params *PatchScansScanIDParams, ...) (*PatchScansScanIDResponse, error)
- func (c *ClientWithResponses) PostAssetFindingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAssetFindingsResponse, error)
- func (c *ClientWithResponses) PostAssetFindingsWithResponse(ctx context.Context, body PostAssetFindingsJSONRequestBody, ...) (*PostAssetFindingsResponse, error)
- func (c *ClientWithResponses) PostAssetScanEstimationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAssetScanEstimationsResponse, error)
- func (c *ClientWithResponses) PostAssetScanEstimationsWithResponse(ctx context.Context, body PostAssetScanEstimationsJSONRequestBody, ...) (*PostAssetScanEstimationsResponse, error)
- func (c *ClientWithResponses) PostAssetScansWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAssetScansResponse, error)
- func (c *ClientWithResponses) PostAssetScansWithResponse(ctx context.Context, body PostAssetScansJSONRequestBody, ...) (*PostAssetScansResponse, error)
- func (c *ClientWithResponses) PostAssetsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAssetsResponse, error)
- func (c *ClientWithResponses) PostAssetsWithResponse(ctx context.Context, body PostAssetsJSONRequestBody, ...) (*PostAssetsResponse, error)
- func (c *ClientWithResponses) PostFindingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostFindingsResponse, error)
- func (c *ClientWithResponses) PostFindingsWithResponse(ctx context.Context, body PostFindingsJSONRequestBody, ...) (*PostFindingsResponse, error)
- func (c *ClientWithResponses) PostProvidersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostProvidersResponse, error)
- func (c *ClientWithResponses) PostProvidersWithResponse(ctx context.Context, body PostProvidersJSONRequestBody, ...) (*PostProvidersResponse, error)
- func (c *ClientWithResponses) PostScanConfigsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostScanConfigsResponse, error)
- func (c *ClientWithResponses) PostScanConfigsWithResponse(ctx context.Context, body PostScanConfigsJSONRequestBody, ...) (*PostScanConfigsResponse, error)
- func (c *ClientWithResponses) PostScanEstimationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostScanEstimationsResponse, error)
- func (c *ClientWithResponses) PostScanEstimationsWithResponse(ctx context.Context, body PostScanEstimationsJSONRequestBody, ...) (*PostScanEstimationsResponse, error)
- func (c *ClientWithResponses) PostScansWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostScansResponse, error)
- func (c *ClientWithResponses) PostScansWithResponse(ctx context.Context, body PostScansJSONRequestBody, ...) (*PostScansResponse, error)
- func (c *ClientWithResponses) PutAssetFindingsAssetFindingIDWithBodyWithResponse(ctx context.Context, assetFindingID AssetFindingID, ...) (*PutAssetFindingsAssetFindingIDResponse, error)
- func (c *ClientWithResponses) PutAssetFindingsAssetFindingIDWithResponse(ctx context.Context, assetFindingID AssetFindingID, ...) (*PutAssetFindingsAssetFindingIDResponse, error)
- func (c *ClientWithResponses) PutAssetScanEstimationsAssetScanEstimationIDWithBodyWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, ...) (*PutAssetScanEstimationsAssetScanEstimationIDResponse, error)
- func (c *ClientWithResponses) PutAssetScanEstimationsAssetScanEstimationIDWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, ...) (*PutAssetScanEstimationsAssetScanEstimationIDResponse, error)
- func (c *ClientWithResponses) PutAssetScansAssetScanIDWithBodyWithResponse(ctx context.Context, assetScanID AssetScanID, ...) (*PutAssetScansAssetScanIDResponse, error)
- func (c *ClientWithResponses) PutAssetScansAssetScanIDWithResponse(ctx context.Context, assetScanID AssetScanID, ...) (*PutAssetScansAssetScanIDResponse, error)
- func (c *ClientWithResponses) PutAssetsAssetIDWithBodyWithResponse(ctx context.Context, assetID AssetID, params *PutAssetsAssetIDParams, ...) (*PutAssetsAssetIDResponse, error)
- func (c *ClientWithResponses) PutAssetsAssetIDWithResponse(ctx context.Context, assetID AssetID, params *PutAssetsAssetIDParams, ...) (*PutAssetsAssetIDResponse, error)
- func (c *ClientWithResponses) PutFindingsFindingIDWithBodyWithResponse(ctx context.Context, findingID FindingID, contentType string, body io.Reader, ...) (*PutFindingsFindingIDResponse, error)
- func (c *ClientWithResponses) PutFindingsFindingIDWithResponse(ctx context.Context, findingID FindingID, ...) (*PutFindingsFindingIDResponse, error)
- func (c *ClientWithResponses) PutProvidersProviderIDWithBodyWithResponse(ctx context.Context, providerID ProviderID, ...) (*PutProvidersProviderIDResponse, error)
- func (c *ClientWithResponses) PutProvidersProviderIDWithResponse(ctx context.Context, providerID ProviderID, ...) (*PutProvidersProviderIDResponse, error)
- func (c *ClientWithResponses) PutScanConfigsScanConfigIDWithBodyWithResponse(ctx context.Context, scanConfigID ScanConfigID, ...) (*PutScanConfigsScanConfigIDResponse, error)
- func (c *ClientWithResponses) PutScanConfigsScanConfigIDWithResponse(ctx context.Context, scanConfigID ScanConfigID, ...) (*PutScanConfigsScanConfigIDResponse, error)
- func (c *ClientWithResponses) PutScanEstimationsScanEstimationIDWithBodyWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, ...) (*PutScanEstimationsScanEstimationIDResponse, error)
- func (c *ClientWithResponses) PutScanEstimationsScanEstimationIDWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, ...) (*PutScanEstimationsScanEstimationIDResponse, error)
- func (c *ClientWithResponses) PutScansScanIDWithBodyWithResponse(ctx context.Context, scanID ScanID, params *PutScansScanIDParams, ...) (*PutScansScanIDResponse, error)
- func (c *ClientWithResponses) PutScansScanIDWithResponse(ctx context.Context, scanID ScanID, params *PutScansScanIDParams, ...) (*PutScansScanIDResponse, error)
- type ClientWithResponsesInterface
- type DeleteAssetFindingsAssetFindingIDResponse
- type DeleteAssetScanEstimationsAssetScanEstimationIDResponse
- type DeleteAssetsAssetIDResponse
- type DeleteFindingsFindingIDResponse
- type DeleteProvidersProviderIDResponse
- type DeleteScanConfigsScanConfigIDResponse
- type DeleteScanEstimationsScanEstimationIDResponse
- type DeleteScansScanIDResponse
- type GetAssetFindingsAssetFindingIDResponse
- type GetAssetFindingsResponse
- type GetAssetScanEstimationsAssetScanEstimationIDResponse
- type GetAssetScanEstimationsResponse
- type GetAssetScansAssetScanIDResponse
- type GetAssetScansResponse
- type GetAssetsAssetIDResponse
- type GetAssetsResponse
- type GetFindingsFindingIDResponse
- type GetFindingsResponse
- type GetOpenAPISpecResponse
- type GetProvidersProviderIDResponse
- type GetProvidersResponse
- type GetScanConfigsResponse
- type GetScanConfigsScanConfigIDResponse
- type GetScanEstimationsResponse
- type GetScanEstimationsScanEstimationIDResponse
- type GetScansResponse
- type GetScansScanIDResponse
- type HttpRequestDoer
- type PatchAssetFindingsAssetFindingIDResponse
- type PatchAssetScanEstimationsAssetScanEstimationIDResponse
- type PatchAssetScansAssetScanIDResponse
- type PatchAssetsAssetIDResponse
- type PatchFindingsFindingIDResponse
- type PatchProvidersProviderIDResponse
- type PatchScanConfigsScanConfigIDResponse
- type PatchScanEstimationsScanEstimationIDResponse
- type PatchScansScanIDResponse
- type PostAssetFindingsResponse
- type PostAssetScanEstimationsResponse
- type PostAssetScansResponse
- type PostAssetsResponse
- type PostFindingsResponse
- type PostProvidersResponse
- type PostScanConfigsResponse
- type PostScanEstimationsResponse
- type PostScansResponse
- type PutAssetFindingsAssetFindingIDResponse
- type PutAssetScanEstimationsAssetScanEstimationIDResponse
- type PutAssetScansAssetScanIDResponse
- type PutAssetsAssetIDResponse
- type PutFindingsFindingIDResponse
- type PutProvidersProviderIDResponse
- type PutScanConfigsScanConfigIDResponse
- type PutScanEstimationsScanEstimationIDResponse
- type PutScansScanIDResponse
- type RequestEditorFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeleteAssetFindingsAssetFindingIDRequest ¶ added in v0.7.2
func NewDeleteAssetFindingsAssetFindingIDRequest(server string, assetFindingID AssetFindingID) (*http.Request, error)
NewDeleteAssetFindingsAssetFindingIDRequest generates requests for DeleteAssetFindingsAssetFindingID
func NewDeleteAssetScanEstimationsAssetScanEstimationIDRequest ¶
func NewDeleteAssetScanEstimationsAssetScanEstimationIDRequest(server string, assetScanEstimationID AssetScanEstimationID) (*http.Request, error)
NewDeleteAssetScanEstimationsAssetScanEstimationIDRequest generates requests for DeleteAssetScanEstimationsAssetScanEstimationID
func NewDeleteAssetsAssetIDRequest ¶
NewDeleteAssetsAssetIDRequest generates requests for DeleteAssetsAssetID
func NewDeleteFindingsFindingIDRequest ¶
NewDeleteFindingsFindingIDRequest generates requests for DeleteFindingsFindingID
func NewDeleteProvidersProviderIDRequest ¶
func NewDeleteProvidersProviderIDRequest(server string, providerID ProviderID) (*http.Request, error)
NewDeleteProvidersProviderIDRequest generates requests for DeleteProvidersProviderID
func NewDeleteScanConfigsScanConfigIDRequest ¶
func NewDeleteScanConfigsScanConfigIDRequest(server string, scanConfigID ScanConfigID) (*http.Request, error)
NewDeleteScanConfigsScanConfigIDRequest generates requests for DeleteScanConfigsScanConfigID
func NewDeleteScanEstimationsScanEstimationIDRequest ¶
func NewDeleteScanEstimationsScanEstimationIDRequest(server string, scanEstimationID ScanEstimationID) (*http.Request, error)
NewDeleteScanEstimationsScanEstimationIDRequest generates requests for DeleteScanEstimationsScanEstimationID
func NewDeleteScansScanIDRequest ¶
NewDeleteScansScanIDRequest generates requests for DeleteScansScanID
func NewGetAssetFindingsAssetFindingIDRequest ¶ added in v0.7.2
func NewGetAssetFindingsAssetFindingIDRequest(server string, assetFindingID AssetFindingID, params *GetAssetFindingsAssetFindingIDParams) (*http.Request, error)
NewGetAssetFindingsAssetFindingIDRequest generates requests for GetAssetFindingsAssetFindingID
func NewGetAssetFindingsRequest ¶ added in v0.7.2
func NewGetAssetFindingsRequest(server string, params *GetAssetFindingsParams) (*http.Request, error)
NewGetAssetFindingsRequest generates requests for GetAssetFindings
func NewGetAssetScanEstimationsAssetScanEstimationIDRequest ¶
func NewGetAssetScanEstimationsAssetScanEstimationIDRequest(server string, assetScanEstimationID AssetScanEstimationID, params *GetAssetScanEstimationsAssetScanEstimationIDParams) (*http.Request, error)
NewGetAssetScanEstimationsAssetScanEstimationIDRequest generates requests for GetAssetScanEstimationsAssetScanEstimationID
func NewGetAssetScanEstimationsRequest ¶
func NewGetAssetScanEstimationsRequest(server string, params *GetAssetScanEstimationsParams) (*http.Request, error)
NewGetAssetScanEstimationsRequest generates requests for GetAssetScanEstimations
func NewGetAssetScansAssetScanIDRequest ¶
func NewGetAssetScansAssetScanIDRequest(server string, assetScanID AssetScanID, params *GetAssetScansAssetScanIDParams) (*http.Request, error)
NewGetAssetScansAssetScanIDRequest generates requests for GetAssetScansAssetScanID
func NewGetAssetScansRequest ¶
NewGetAssetScansRequest generates requests for GetAssetScans
func NewGetAssetsAssetIDRequest ¶
func NewGetAssetsAssetIDRequest(server string, assetID AssetID, params *GetAssetsAssetIDParams) (*http.Request, error)
NewGetAssetsAssetIDRequest generates requests for GetAssetsAssetID
func NewGetAssetsRequest ¶
NewGetAssetsRequest generates requests for GetAssets
func NewGetFindingsFindingIDRequest ¶
func NewGetFindingsFindingIDRequest(server string, findingID FindingID, params *GetFindingsFindingIDParams) (*http.Request, error)
NewGetFindingsFindingIDRequest generates requests for GetFindingsFindingID
func NewGetFindingsRequest ¶
NewGetFindingsRequest generates requests for GetFindings
func NewGetOpenAPISpecRequest ¶
NewGetOpenAPISpecRequest generates requests for GetOpenAPISpec
func NewGetProvidersProviderIDRequest ¶
func NewGetProvidersProviderIDRequest(server string, providerID ProviderID, params *GetProvidersProviderIDParams) (*http.Request, error)
NewGetProvidersProviderIDRequest generates requests for GetProvidersProviderID
func NewGetProvidersRequest ¶
NewGetProvidersRequest generates requests for GetProviders
func NewGetScanConfigsRequest ¶
NewGetScanConfigsRequest generates requests for GetScanConfigs
func NewGetScanConfigsScanConfigIDRequest ¶
func NewGetScanConfigsScanConfigIDRequest(server string, scanConfigID ScanConfigID, params *GetScanConfigsScanConfigIDParams) (*http.Request, error)
NewGetScanConfigsScanConfigIDRequest generates requests for GetScanConfigsScanConfigID
func NewGetScanEstimationsRequest ¶
func NewGetScanEstimationsRequest(server string, params *GetScanEstimationsParams) (*http.Request, error)
NewGetScanEstimationsRequest generates requests for GetScanEstimations
func NewGetScanEstimationsScanEstimationIDRequest ¶
func NewGetScanEstimationsScanEstimationIDRequest(server string, scanEstimationID ScanEstimationID, params *GetScanEstimationsScanEstimationIDParams) (*http.Request, error)
NewGetScanEstimationsScanEstimationIDRequest generates requests for GetScanEstimationsScanEstimationID
func NewGetScansRequest ¶
NewGetScansRequest generates requests for GetScans
func NewGetScansScanIDRequest ¶
func NewGetScansScanIDRequest(server string, scanID ScanID, params *GetScansScanIDParams) (*http.Request, error)
NewGetScansScanIDRequest generates requests for GetScansScanID
func NewPatchAssetFindingsAssetFindingIDRequest ¶ added in v0.7.2
func NewPatchAssetFindingsAssetFindingIDRequest(server string, assetFindingID AssetFindingID, params *PatchAssetFindingsAssetFindingIDParams, body PatchAssetFindingsAssetFindingIDJSONRequestBody) (*http.Request, error)
NewPatchAssetFindingsAssetFindingIDRequest calls the generic PatchAssetFindingsAssetFindingID builder with application/json body
func NewPatchAssetFindingsAssetFindingIDRequestWithBody ¶ added in v0.7.2
func NewPatchAssetFindingsAssetFindingIDRequestWithBody(server string, assetFindingID AssetFindingID, params *PatchAssetFindingsAssetFindingIDParams, contentType string, body io.Reader) (*http.Request, error)
NewPatchAssetFindingsAssetFindingIDRequestWithBody generates requests for PatchAssetFindingsAssetFindingID with any type of body
func NewPatchAssetScanEstimationsAssetScanEstimationIDRequest ¶
func NewPatchAssetScanEstimationsAssetScanEstimationIDRequest(server string, assetScanEstimationID AssetScanEstimationID, params *PatchAssetScanEstimationsAssetScanEstimationIDParams, body PatchAssetScanEstimationsAssetScanEstimationIDJSONRequestBody) (*http.Request, error)
NewPatchAssetScanEstimationsAssetScanEstimationIDRequest calls the generic PatchAssetScanEstimationsAssetScanEstimationID builder with application/json body
func NewPatchAssetScanEstimationsAssetScanEstimationIDRequestWithBody ¶
func NewPatchAssetScanEstimationsAssetScanEstimationIDRequestWithBody(server string, assetScanEstimationID AssetScanEstimationID, params *PatchAssetScanEstimationsAssetScanEstimationIDParams, contentType string, body io.Reader) (*http.Request, error)
NewPatchAssetScanEstimationsAssetScanEstimationIDRequestWithBody generates requests for PatchAssetScanEstimationsAssetScanEstimationID with any type of body
func NewPatchAssetScansAssetScanIDRequest ¶
func NewPatchAssetScansAssetScanIDRequest(server string, assetScanID AssetScanID, params *PatchAssetScansAssetScanIDParams, body PatchAssetScansAssetScanIDJSONRequestBody) (*http.Request, error)
NewPatchAssetScansAssetScanIDRequest calls the generic PatchAssetScansAssetScanID builder with application/json body
func NewPatchAssetScansAssetScanIDRequestWithBody ¶
func NewPatchAssetScansAssetScanIDRequestWithBody(server string, assetScanID AssetScanID, params *PatchAssetScansAssetScanIDParams, contentType string, body io.Reader) (*http.Request, error)
NewPatchAssetScansAssetScanIDRequestWithBody generates requests for PatchAssetScansAssetScanID with any type of body
func NewPatchAssetsAssetIDRequest ¶
func NewPatchAssetsAssetIDRequest(server string, assetID AssetID, params *PatchAssetsAssetIDParams, body PatchAssetsAssetIDJSONRequestBody) (*http.Request, error)
NewPatchAssetsAssetIDRequest calls the generic PatchAssetsAssetID builder with application/json body
func NewPatchAssetsAssetIDRequestWithBody ¶
func NewPatchAssetsAssetIDRequestWithBody(server string, assetID AssetID, params *PatchAssetsAssetIDParams, contentType string, body io.Reader) (*http.Request, error)
NewPatchAssetsAssetIDRequestWithBody generates requests for PatchAssetsAssetID with any type of body
func NewPatchFindingsFindingIDRequest ¶
func NewPatchFindingsFindingIDRequest(server string, findingID FindingID, body PatchFindingsFindingIDJSONRequestBody) (*http.Request, error)
NewPatchFindingsFindingIDRequest calls the generic PatchFindingsFindingID builder with application/json body
func NewPatchFindingsFindingIDRequestWithBody ¶
func NewPatchFindingsFindingIDRequestWithBody(server string, findingID FindingID, contentType string, body io.Reader) (*http.Request, error)
NewPatchFindingsFindingIDRequestWithBody generates requests for PatchFindingsFindingID with any type of body
func NewPatchProvidersProviderIDRequest ¶
func NewPatchProvidersProviderIDRequest(server string, providerID ProviderID, params *PatchProvidersProviderIDParams, body PatchProvidersProviderIDJSONRequestBody) (*http.Request, error)
NewPatchProvidersProviderIDRequest calls the generic PatchProvidersProviderID builder with application/json body
func NewPatchProvidersProviderIDRequestWithBody ¶
func NewPatchProvidersProviderIDRequestWithBody(server string, providerID ProviderID, params *PatchProvidersProviderIDParams, contentType string, body io.Reader) (*http.Request, error)
NewPatchProvidersProviderIDRequestWithBody generates requests for PatchProvidersProviderID with any type of body
func NewPatchScanConfigsScanConfigIDRequest ¶
func NewPatchScanConfigsScanConfigIDRequest(server string, scanConfigID ScanConfigID, params *PatchScanConfigsScanConfigIDParams, body PatchScanConfigsScanConfigIDJSONRequestBody) (*http.Request, error)
NewPatchScanConfigsScanConfigIDRequest calls the generic PatchScanConfigsScanConfigID builder with application/json body
func NewPatchScanConfigsScanConfigIDRequestWithBody ¶
func NewPatchScanConfigsScanConfigIDRequestWithBody(server string, scanConfigID ScanConfigID, params *PatchScanConfigsScanConfigIDParams, contentType string, body io.Reader) (*http.Request, error)
NewPatchScanConfigsScanConfigIDRequestWithBody generates requests for PatchScanConfigsScanConfigID with any type of body
func NewPatchScanEstimationsScanEstimationIDRequest ¶
func NewPatchScanEstimationsScanEstimationIDRequest(server string, scanEstimationID ScanEstimationID, params *PatchScanEstimationsScanEstimationIDParams, body PatchScanEstimationsScanEstimationIDJSONRequestBody) (*http.Request, error)
NewPatchScanEstimationsScanEstimationIDRequest calls the generic PatchScanEstimationsScanEstimationID builder with application/json body
func NewPatchScanEstimationsScanEstimationIDRequestWithBody ¶
func NewPatchScanEstimationsScanEstimationIDRequestWithBody(server string, scanEstimationID ScanEstimationID, params *PatchScanEstimationsScanEstimationIDParams, contentType string, body io.Reader) (*http.Request, error)
NewPatchScanEstimationsScanEstimationIDRequestWithBody generates requests for PatchScanEstimationsScanEstimationID with any type of body
func NewPatchScansScanIDRequest ¶
func NewPatchScansScanIDRequest(server string, scanID ScanID, params *PatchScansScanIDParams, body PatchScansScanIDJSONRequestBody) (*http.Request, error)
NewPatchScansScanIDRequest calls the generic PatchScansScanID builder with application/json body
func NewPatchScansScanIDRequestWithBody ¶
func NewPatchScansScanIDRequestWithBody(server string, scanID ScanID, params *PatchScansScanIDParams, contentType string, body io.Reader) (*http.Request, error)
NewPatchScansScanIDRequestWithBody generates requests for PatchScansScanID with any type of body
func NewPostAssetFindingsRequest ¶ added in v0.7.2
func NewPostAssetFindingsRequest(server string, body PostAssetFindingsJSONRequestBody) (*http.Request, error)
NewPostAssetFindingsRequest calls the generic PostAssetFindings builder with application/json body
func NewPostAssetFindingsRequestWithBody ¶ added in v0.7.2
func NewPostAssetFindingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostAssetFindingsRequestWithBody generates requests for PostAssetFindings with any type of body
func NewPostAssetScanEstimationsRequest ¶
func NewPostAssetScanEstimationsRequest(server string, body PostAssetScanEstimationsJSONRequestBody) (*http.Request, error)
NewPostAssetScanEstimationsRequest calls the generic PostAssetScanEstimations builder with application/json body
func NewPostAssetScanEstimationsRequestWithBody ¶
func NewPostAssetScanEstimationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostAssetScanEstimationsRequestWithBody generates requests for PostAssetScanEstimations with any type of body
func NewPostAssetScansRequest ¶
func NewPostAssetScansRequest(server string, body PostAssetScansJSONRequestBody) (*http.Request, error)
NewPostAssetScansRequest calls the generic PostAssetScans builder with application/json body
func NewPostAssetScansRequestWithBody ¶
func NewPostAssetScansRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostAssetScansRequestWithBody generates requests for PostAssetScans with any type of body
func NewPostAssetsRequest ¶
NewPostAssetsRequest calls the generic PostAssets builder with application/json body
func NewPostAssetsRequestWithBody ¶
func NewPostAssetsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostAssetsRequestWithBody generates requests for PostAssets with any type of body
func NewPostFindingsRequest ¶
NewPostFindingsRequest calls the generic PostFindings builder with application/json body
func NewPostFindingsRequestWithBody ¶
func NewPostFindingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostFindingsRequestWithBody generates requests for PostFindings with any type of body
func NewPostProvidersRequest ¶
func NewPostProvidersRequest(server string, body PostProvidersJSONRequestBody) (*http.Request, error)
NewPostProvidersRequest calls the generic PostProviders builder with application/json body
func NewPostProvidersRequestWithBody ¶
func NewPostProvidersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostProvidersRequestWithBody generates requests for PostProviders with any type of body
func NewPostScanConfigsRequest ¶
func NewPostScanConfigsRequest(server string, body PostScanConfigsJSONRequestBody) (*http.Request, error)
NewPostScanConfigsRequest calls the generic PostScanConfigs builder with application/json body
func NewPostScanConfigsRequestWithBody ¶
func NewPostScanConfigsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostScanConfigsRequestWithBody generates requests for PostScanConfigs with any type of body
func NewPostScanEstimationsRequest ¶
func NewPostScanEstimationsRequest(server string, body PostScanEstimationsJSONRequestBody) (*http.Request, error)
NewPostScanEstimationsRequest calls the generic PostScanEstimations builder with application/json body
func NewPostScanEstimationsRequestWithBody ¶
func NewPostScanEstimationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostScanEstimationsRequestWithBody generates requests for PostScanEstimations with any type of body
func NewPostScansRequest ¶
NewPostScansRequest calls the generic PostScans builder with application/json body
func NewPostScansRequestWithBody ¶
func NewPostScansRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostScansRequestWithBody generates requests for PostScans with any type of body
func NewPutAssetFindingsAssetFindingIDRequest ¶ added in v0.7.2
func NewPutAssetFindingsAssetFindingIDRequest(server string, assetFindingID AssetFindingID, params *PutAssetFindingsAssetFindingIDParams, body PutAssetFindingsAssetFindingIDJSONRequestBody) (*http.Request, error)
NewPutAssetFindingsAssetFindingIDRequest calls the generic PutAssetFindingsAssetFindingID builder with application/json body
func NewPutAssetFindingsAssetFindingIDRequestWithBody ¶ added in v0.7.2
func NewPutAssetFindingsAssetFindingIDRequestWithBody(server string, assetFindingID AssetFindingID, params *PutAssetFindingsAssetFindingIDParams, contentType string, body io.Reader) (*http.Request, error)
NewPutAssetFindingsAssetFindingIDRequestWithBody generates requests for PutAssetFindingsAssetFindingID with any type of body
func NewPutAssetScanEstimationsAssetScanEstimationIDRequest ¶
func NewPutAssetScanEstimationsAssetScanEstimationIDRequest(server string, assetScanEstimationID AssetScanEstimationID, params *PutAssetScanEstimationsAssetScanEstimationIDParams, body PutAssetScanEstimationsAssetScanEstimationIDJSONRequestBody) (*http.Request, error)
NewPutAssetScanEstimationsAssetScanEstimationIDRequest calls the generic PutAssetScanEstimationsAssetScanEstimationID builder with application/json body
func NewPutAssetScanEstimationsAssetScanEstimationIDRequestWithBody ¶
func NewPutAssetScanEstimationsAssetScanEstimationIDRequestWithBody(server string, assetScanEstimationID AssetScanEstimationID, params *PutAssetScanEstimationsAssetScanEstimationIDParams, contentType string, body io.Reader) (*http.Request, error)
NewPutAssetScanEstimationsAssetScanEstimationIDRequestWithBody generates requests for PutAssetScanEstimationsAssetScanEstimationID with any type of body
func NewPutAssetScansAssetScanIDRequest ¶
func NewPutAssetScansAssetScanIDRequest(server string, assetScanID AssetScanID, params *PutAssetScansAssetScanIDParams, body PutAssetScansAssetScanIDJSONRequestBody) (*http.Request, error)
NewPutAssetScansAssetScanIDRequest calls the generic PutAssetScansAssetScanID builder with application/json body
func NewPutAssetScansAssetScanIDRequestWithBody ¶
func NewPutAssetScansAssetScanIDRequestWithBody(server string, assetScanID AssetScanID, params *PutAssetScansAssetScanIDParams, contentType string, body io.Reader) (*http.Request, error)
NewPutAssetScansAssetScanIDRequestWithBody generates requests for PutAssetScansAssetScanID with any type of body
func NewPutAssetsAssetIDRequest ¶
func NewPutAssetsAssetIDRequest(server string, assetID AssetID, params *PutAssetsAssetIDParams, body PutAssetsAssetIDJSONRequestBody) (*http.Request, error)
NewPutAssetsAssetIDRequest calls the generic PutAssetsAssetID builder with application/json body
func NewPutAssetsAssetIDRequestWithBody ¶
func NewPutAssetsAssetIDRequestWithBody(server string, assetID AssetID, params *PutAssetsAssetIDParams, contentType string, body io.Reader) (*http.Request, error)
NewPutAssetsAssetIDRequestWithBody generates requests for PutAssetsAssetID with any type of body
func NewPutFindingsFindingIDRequest ¶
func NewPutFindingsFindingIDRequest(server string, findingID FindingID, body PutFindingsFindingIDJSONRequestBody) (*http.Request, error)
NewPutFindingsFindingIDRequest calls the generic PutFindingsFindingID builder with application/json body
func NewPutFindingsFindingIDRequestWithBody ¶
func NewPutFindingsFindingIDRequestWithBody(server string, findingID FindingID, contentType string, body io.Reader) (*http.Request, error)
NewPutFindingsFindingIDRequestWithBody generates requests for PutFindingsFindingID with any type of body
func NewPutProvidersProviderIDRequest ¶
func NewPutProvidersProviderIDRequest(server string, providerID ProviderID, params *PutProvidersProviderIDParams, body PutProvidersProviderIDJSONRequestBody) (*http.Request, error)
NewPutProvidersProviderIDRequest calls the generic PutProvidersProviderID builder with application/json body
func NewPutProvidersProviderIDRequestWithBody ¶
func NewPutProvidersProviderIDRequestWithBody(server string, providerID ProviderID, params *PutProvidersProviderIDParams, contentType string, body io.Reader) (*http.Request, error)
NewPutProvidersProviderIDRequestWithBody generates requests for PutProvidersProviderID with any type of body
func NewPutScanConfigsScanConfigIDRequest ¶
func NewPutScanConfigsScanConfigIDRequest(server string, scanConfigID ScanConfigID, params *PutScanConfigsScanConfigIDParams, body PutScanConfigsScanConfigIDJSONRequestBody) (*http.Request, error)
NewPutScanConfigsScanConfigIDRequest calls the generic PutScanConfigsScanConfigID builder with application/json body
func NewPutScanConfigsScanConfigIDRequestWithBody ¶
func NewPutScanConfigsScanConfigIDRequestWithBody(server string, scanConfigID ScanConfigID, params *PutScanConfigsScanConfigIDParams, contentType string, body io.Reader) (*http.Request, error)
NewPutScanConfigsScanConfigIDRequestWithBody generates requests for PutScanConfigsScanConfigID with any type of body
func NewPutScanEstimationsScanEstimationIDRequest ¶
func NewPutScanEstimationsScanEstimationIDRequest(server string, scanEstimationID ScanEstimationID, params *PutScanEstimationsScanEstimationIDParams, body PutScanEstimationsScanEstimationIDJSONRequestBody) (*http.Request, error)
NewPutScanEstimationsScanEstimationIDRequest calls the generic PutScanEstimationsScanEstimationID builder with application/json body
func NewPutScanEstimationsScanEstimationIDRequestWithBody ¶
func NewPutScanEstimationsScanEstimationIDRequestWithBody(server string, scanEstimationID ScanEstimationID, params *PutScanEstimationsScanEstimationIDParams, contentType string, body io.Reader) (*http.Request, error)
NewPutScanEstimationsScanEstimationIDRequestWithBody generates requests for PutScanEstimationsScanEstimationID with any type of body
Types ¶
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeleteAssetFindingsAssetFindingID ¶ added in v0.7.2
func (*Client) DeleteAssetScanEstimationsAssetScanEstimationID ¶
func (*Client) DeleteAssetsAssetID ¶
func (*Client) DeleteFindingsFindingID ¶
func (*Client) DeleteProvidersProviderID ¶
func (*Client) DeleteScanConfigsScanConfigID ¶
func (*Client) DeleteScanEstimationsScanEstimationID ¶
func (*Client) DeleteScansScanID ¶
func (*Client) GetAssetFindings ¶ added in v0.7.2
func (*Client) GetAssetFindingsAssetFindingID ¶ added in v0.7.2
func (*Client) GetAssetScanEstimations ¶
func (*Client) GetAssetScanEstimationsAssetScanEstimationID ¶
func (*Client) GetAssetScans ¶
func (*Client) GetAssetScansAssetScanID ¶
func (*Client) GetAssetsAssetID ¶
func (*Client) GetFindings ¶
func (*Client) GetFindingsFindingID ¶
func (*Client) GetOpenAPISpec ¶
func (*Client) GetProviders ¶
func (*Client) GetProvidersProviderID ¶
func (*Client) GetScanConfigs ¶
func (*Client) GetScanConfigsScanConfigID ¶
func (*Client) GetScanEstimations ¶
func (*Client) GetScanEstimationsScanEstimationID ¶
func (*Client) GetScansScanID ¶
func (*Client) PatchAssetFindingsAssetFindingID ¶ added in v0.7.2
func (*Client) PatchAssetFindingsAssetFindingIDWithBody ¶ added in v0.7.2
func (*Client) PatchAssetScanEstimationsAssetScanEstimationID ¶
func (c *Client) PatchAssetScanEstimationsAssetScanEstimationID(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *PatchAssetScanEstimationsAssetScanEstimationIDParams, body PatchAssetScanEstimationsAssetScanEstimationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchAssetScanEstimationsAssetScanEstimationIDWithBody ¶
func (*Client) PatchAssetScansAssetScanID ¶
func (*Client) PatchAssetScansAssetScanIDWithBody ¶
func (*Client) PatchAssetsAssetID ¶
func (*Client) PatchAssetsAssetIDWithBody ¶
func (*Client) PatchFindingsFindingID ¶
func (*Client) PatchFindingsFindingIDWithBody ¶
func (*Client) PatchProvidersProviderID ¶
func (*Client) PatchProvidersProviderIDWithBody ¶
func (*Client) PatchScanConfigsScanConfigID ¶
func (*Client) PatchScanConfigsScanConfigIDWithBody ¶
func (*Client) PatchScanEstimationsScanEstimationID ¶
func (*Client) PatchScanEstimationsScanEstimationIDWithBody ¶
func (*Client) PatchScansScanID ¶
func (*Client) PatchScansScanIDWithBody ¶
func (*Client) PostAssetFindings ¶ added in v0.7.2
func (*Client) PostAssetFindingsWithBody ¶ added in v0.7.2
func (*Client) PostAssetScanEstimations ¶
func (*Client) PostAssetScanEstimationsWithBody ¶
func (*Client) PostAssetScans ¶
func (*Client) PostAssetScansWithBody ¶
func (*Client) PostAssets ¶
func (*Client) PostAssetsWithBody ¶
func (*Client) PostFindings ¶
func (*Client) PostFindingsWithBody ¶
func (*Client) PostProviders ¶
func (*Client) PostProvidersWithBody ¶
func (*Client) PostScanConfigs ¶
func (*Client) PostScanConfigsWithBody ¶
func (*Client) PostScanEstimations ¶
func (*Client) PostScanEstimationsWithBody ¶
func (*Client) PostScansWithBody ¶
func (*Client) PutAssetFindingsAssetFindingID ¶ added in v0.7.2
func (*Client) PutAssetFindingsAssetFindingIDWithBody ¶ added in v0.7.2
func (*Client) PutAssetScanEstimationsAssetScanEstimationID ¶
func (c *Client) PutAssetScanEstimationsAssetScanEstimationID(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *PutAssetScanEstimationsAssetScanEstimationIDParams, body PutAssetScanEstimationsAssetScanEstimationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutAssetScanEstimationsAssetScanEstimationIDWithBody ¶
func (*Client) PutAssetScansAssetScanID ¶
func (*Client) PutAssetScansAssetScanIDWithBody ¶
func (*Client) PutAssetsAssetID ¶
func (*Client) PutAssetsAssetIDWithBody ¶
func (*Client) PutFindingsFindingID ¶
func (*Client) PutFindingsFindingIDWithBody ¶
func (*Client) PutProvidersProviderID ¶
func (*Client) PutProvidersProviderIDWithBody ¶
func (*Client) PutScanConfigsScanConfigID ¶
func (*Client) PutScanConfigsScanConfigIDWithBody ¶
func (*Client) PutScanEstimationsScanEstimationID ¶
func (*Client) PutScanEstimationsScanEstimationIDWithBody ¶
func (*Client) PutScansScanID ¶
type ClientInterface ¶
type ClientInterface interface {
// GetAssetFindings request
GetAssetFindings(ctx context.Context, params *GetAssetFindingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAssetFindingsWithBody request with any body
PostAssetFindingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostAssetFindings(ctx context.Context, body PostAssetFindingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAssetFindingsAssetFindingID request
DeleteAssetFindingsAssetFindingID(ctx context.Context, assetFindingID AssetFindingID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAssetFindingsAssetFindingID request
GetAssetFindingsAssetFindingID(ctx context.Context, assetFindingID AssetFindingID, params *GetAssetFindingsAssetFindingIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchAssetFindingsAssetFindingIDWithBody request with any body
PatchAssetFindingsAssetFindingIDWithBody(ctx context.Context, assetFindingID AssetFindingID, params *PatchAssetFindingsAssetFindingIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchAssetFindingsAssetFindingID(ctx context.Context, assetFindingID AssetFindingID, params *PatchAssetFindingsAssetFindingIDParams, body PatchAssetFindingsAssetFindingIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutAssetFindingsAssetFindingIDWithBody request with any body
PutAssetFindingsAssetFindingIDWithBody(ctx context.Context, assetFindingID AssetFindingID, params *PutAssetFindingsAssetFindingIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutAssetFindingsAssetFindingID(ctx context.Context, assetFindingID AssetFindingID, params *PutAssetFindingsAssetFindingIDParams, body PutAssetFindingsAssetFindingIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAssetScanEstimations request
GetAssetScanEstimations(ctx context.Context, params *GetAssetScanEstimationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAssetScanEstimationsWithBody request with any body
PostAssetScanEstimationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostAssetScanEstimations(ctx context.Context, body PostAssetScanEstimationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAssetScanEstimationsAssetScanEstimationID request
DeleteAssetScanEstimationsAssetScanEstimationID(ctx context.Context, assetScanEstimationID AssetScanEstimationID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAssetScanEstimationsAssetScanEstimationID request
GetAssetScanEstimationsAssetScanEstimationID(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *GetAssetScanEstimationsAssetScanEstimationIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchAssetScanEstimationsAssetScanEstimationIDWithBody request with any body
PatchAssetScanEstimationsAssetScanEstimationIDWithBody(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *PatchAssetScanEstimationsAssetScanEstimationIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchAssetScanEstimationsAssetScanEstimationID(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *PatchAssetScanEstimationsAssetScanEstimationIDParams, body PatchAssetScanEstimationsAssetScanEstimationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutAssetScanEstimationsAssetScanEstimationIDWithBody request with any body
PutAssetScanEstimationsAssetScanEstimationIDWithBody(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *PutAssetScanEstimationsAssetScanEstimationIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutAssetScanEstimationsAssetScanEstimationID(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *PutAssetScanEstimationsAssetScanEstimationIDParams, body PutAssetScanEstimationsAssetScanEstimationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAssetScans request
GetAssetScans(ctx context.Context, params *GetAssetScansParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAssetScansWithBody request with any body
PostAssetScansWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostAssetScans(ctx context.Context, body PostAssetScansJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAssetScansAssetScanID request
GetAssetScansAssetScanID(ctx context.Context, assetScanID AssetScanID, params *GetAssetScansAssetScanIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchAssetScansAssetScanIDWithBody request with any body
PatchAssetScansAssetScanIDWithBody(ctx context.Context, assetScanID AssetScanID, params *PatchAssetScansAssetScanIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchAssetScansAssetScanID(ctx context.Context, assetScanID AssetScanID, params *PatchAssetScansAssetScanIDParams, body PatchAssetScansAssetScanIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutAssetScansAssetScanIDWithBody request with any body
PutAssetScansAssetScanIDWithBody(ctx context.Context, assetScanID AssetScanID, params *PutAssetScansAssetScanIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutAssetScansAssetScanID(ctx context.Context, assetScanID AssetScanID, params *PutAssetScansAssetScanIDParams, body PutAssetScansAssetScanIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAssets request
GetAssets(ctx context.Context, params *GetAssetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAssetsWithBody request with any body
PostAssetsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostAssets(ctx context.Context, body PostAssetsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAssetsAssetID request
DeleteAssetsAssetID(ctx context.Context, assetID AssetID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAssetsAssetID request
GetAssetsAssetID(ctx context.Context, assetID AssetID, params *GetAssetsAssetIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchAssetsAssetIDWithBody request with any body
PatchAssetsAssetIDWithBody(ctx context.Context, assetID AssetID, params *PatchAssetsAssetIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchAssetsAssetID(ctx context.Context, assetID AssetID, params *PatchAssetsAssetIDParams, body PatchAssetsAssetIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutAssetsAssetIDWithBody request with any body
PutAssetsAssetIDWithBody(ctx context.Context, assetID AssetID, params *PutAssetsAssetIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutAssetsAssetID(ctx context.Context, assetID AssetID, params *PutAssetsAssetIDParams, body PutAssetsAssetIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFindings request
GetFindings(ctx context.Context, params *GetFindingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostFindingsWithBody request with any body
PostFindingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostFindings(ctx context.Context, body PostFindingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteFindingsFindingID request
DeleteFindingsFindingID(ctx context.Context, findingID FindingID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFindingsFindingID request
GetFindingsFindingID(ctx context.Context, findingID FindingID, params *GetFindingsFindingIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchFindingsFindingIDWithBody request with any body
PatchFindingsFindingIDWithBody(ctx context.Context, findingID FindingID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchFindingsFindingID(ctx context.Context, findingID FindingID, body PatchFindingsFindingIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutFindingsFindingIDWithBody request with any body
PutFindingsFindingIDWithBody(ctx context.Context, findingID FindingID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutFindingsFindingID(ctx context.Context, findingID FindingID, body PutFindingsFindingIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOpenAPISpec request
GetOpenAPISpec(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProviders request
GetProviders(ctx context.Context, params *GetProvidersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostProvidersWithBody request with any body
PostProvidersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostProviders(ctx context.Context, body PostProvidersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteProvidersProviderID request
DeleteProvidersProviderID(ctx context.Context, providerID ProviderID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProvidersProviderID request
GetProvidersProviderID(ctx context.Context, providerID ProviderID, params *GetProvidersProviderIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchProvidersProviderIDWithBody request with any body
PatchProvidersProviderIDWithBody(ctx context.Context, providerID ProviderID, params *PatchProvidersProviderIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchProvidersProviderID(ctx context.Context, providerID ProviderID, params *PatchProvidersProviderIDParams, body PatchProvidersProviderIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutProvidersProviderIDWithBody request with any body
PutProvidersProviderIDWithBody(ctx context.Context, providerID ProviderID, params *PutProvidersProviderIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutProvidersProviderID(ctx context.Context, providerID ProviderID, params *PutProvidersProviderIDParams, body PutProvidersProviderIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetScanConfigs request
GetScanConfigs(ctx context.Context, params *GetScanConfigsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostScanConfigsWithBody request with any body
PostScanConfigsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostScanConfigs(ctx context.Context, body PostScanConfigsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteScanConfigsScanConfigID request
DeleteScanConfigsScanConfigID(ctx context.Context, scanConfigID ScanConfigID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetScanConfigsScanConfigID request
GetScanConfigsScanConfigID(ctx context.Context, scanConfigID ScanConfigID, params *GetScanConfigsScanConfigIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchScanConfigsScanConfigIDWithBody request with any body
PatchScanConfigsScanConfigIDWithBody(ctx context.Context, scanConfigID ScanConfigID, params *PatchScanConfigsScanConfigIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchScanConfigsScanConfigID(ctx context.Context, scanConfigID ScanConfigID, params *PatchScanConfigsScanConfigIDParams, body PatchScanConfigsScanConfigIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutScanConfigsScanConfigIDWithBody request with any body
PutScanConfigsScanConfigIDWithBody(ctx context.Context, scanConfigID ScanConfigID, params *PutScanConfigsScanConfigIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutScanConfigsScanConfigID(ctx context.Context, scanConfigID ScanConfigID, params *PutScanConfigsScanConfigIDParams, body PutScanConfigsScanConfigIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetScanEstimations request
GetScanEstimations(ctx context.Context, params *GetScanEstimationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostScanEstimationsWithBody request with any body
PostScanEstimationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostScanEstimations(ctx context.Context, body PostScanEstimationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteScanEstimationsScanEstimationID request
DeleteScanEstimationsScanEstimationID(ctx context.Context, scanEstimationID ScanEstimationID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetScanEstimationsScanEstimationID request
GetScanEstimationsScanEstimationID(ctx context.Context, scanEstimationID ScanEstimationID, params *GetScanEstimationsScanEstimationIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchScanEstimationsScanEstimationIDWithBody request with any body
PatchScanEstimationsScanEstimationIDWithBody(ctx context.Context, scanEstimationID ScanEstimationID, params *PatchScanEstimationsScanEstimationIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchScanEstimationsScanEstimationID(ctx context.Context, scanEstimationID ScanEstimationID, params *PatchScanEstimationsScanEstimationIDParams, body PatchScanEstimationsScanEstimationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutScanEstimationsScanEstimationIDWithBody request with any body
PutScanEstimationsScanEstimationIDWithBody(ctx context.Context, scanEstimationID ScanEstimationID, params *PutScanEstimationsScanEstimationIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutScanEstimationsScanEstimationID(ctx context.Context, scanEstimationID ScanEstimationID, params *PutScanEstimationsScanEstimationIDParams, body PutScanEstimationsScanEstimationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetScans request
GetScans(ctx context.Context, params *GetScansParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostScansWithBody request with any body
PostScansWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostScans(ctx context.Context, body PostScansJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteScansScanID request
DeleteScansScanID(ctx context.Context, scanID ScanID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetScansScanID request
GetScansScanID(ctx context.Context, scanID ScanID, params *GetScansScanIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchScansScanIDWithBody request with any body
PatchScansScanIDWithBody(ctx context.Context, scanID ScanID, params *PatchScansScanIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchScansScanID(ctx context.Context, scanID ScanID, params *PatchScansScanIDParams, body PatchScansScanIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutScansScanIDWithBody request with any body
PutScansScanIDWithBody(ctx context.Context, scanID ScanID, params *PutScansScanIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutScansScanID(ctx context.Context, scanID ScanID, params *PutScansScanIDParams, body PutScansScanIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeleteAssetFindingsAssetFindingIDWithResponse ¶ added in v0.7.2
func (c *ClientWithResponses) DeleteAssetFindingsAssetFindingIDWithResponse(ctx context.Context, assetFindingID AssetFindingID, reqEditors ...RequestEditorFn) (*DeleteAssetFindingsAssetFindingIDResponse, error)
DeleteAssetFindingsAssetFindingIDWithResponse request returning *DeleteAssetFindingsAssetFindingIDResponse
func (*ClientWithResponses) DeleteAssetScanEstimationsAssetScanEstimationIDWithResponse ¶
func (c *ClientWithResponses) DeleteAssetScanEstimationsAssetScanEstimationIDWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, reqEditors ...RequestEditorFn) (*DeleteAssetScanEstimationsAssetScanEstimationIDResponse, error)
DeleteAssetScanEstimationsAssetScanEstimationIDWithResponse request returning *DeleteAssetScanEstimationsAssetScanEstimationIDResponse
func (*ClientWithResponses) DeleteAssetsAssetIDWithResponse ¶
func (c *ClientWithResponses) DeleteAssetsAssetIDWithResponse(ctx context.Context, assetID AssetID, reqEditors ...RequestEditorFn) (*DeleteAssetsAssetIDResponse, error)
DeleteAssetsAssetIDWithResponse request returning *DeleteAssetsAssetIDResponse
func (*ClientWithResponses) DeleteFindingsFindingIDWithResponse ¶
func (c *ClientWithResponses) DeleteFindingsFindingIDWithResponse(ctx context.Context, findingID FindingID, reqEditors ...RequestEditorFn) (*DeleteFindingsFindingIDResponse, error)
DeleteFindingsFindingIDWithResponse request returning *DeleteFindingsFindingIDResponse
func (*ClientWithResponses) DeleteProvidersProviderIDWithResponse ¶
func (c *ClientWithResponses) DeleteProvidersProviderIDWithResponse(ctx context.Context, providerID ProviderID, reqEditors ...RequestEditorFn) (*DeleteProvidersProviderIDResponse, error)
DeleteProvidersProviderIDWithResponse request returning *DeleteProvidersProviderIDResponse
func (*ClientWithResponses) DeleteScanConfigsScanConfigIDWithResponse ¶
func (c *ClientWithResponses) DeleteScanConfigsScanConfigIDWithResponse(ctx context.Context, scanConfigID ScanConfigID, reqEditors ...RequestEditorFn) (*DeleteScanConfigsScanConfigIDResponse, error)
DeleteScanConfigsScanConfigIDWithResponse request returning *DeleteScanConfigsScanConfigIDResponse
func (*ClientWithResponses) DeleteScanEstimationsScanEstimationIDWithResponse ¶
func (c *ClientWithResponses) DeleteScanEstimationsScanEstimationIDWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, reqEditors ...RequestEditorFn) (*DeleteScanEstimationsScanEstimationIDResponse, error)
DeleteScanEstimationsScanEstimationIDWithResponse request returning *DeleteScanEstimationsScanEstimationIDResponse
func (*ClientWithResponses) DeleteScansScanIDWithResponse ¶
func (c *ClientWithResponses) DeleteScansScanIDWithResponse(ctx context.Context, scanID ScanID, reqEditors ...RequestEditorFn) (*DeleteScansScanIDResponse, error)
DeleteScansScanIDWithResponse request returning *DeleteScansScanIDResponse
func (*ClientWithResponses) GetAssetFindingsAssetFindingIDWithResponse ¶ added in v0.7.2
func (c *ClientWithResponses) GetAssetFindingsAssetFindingIDWithResponse(ctx context.Context, assetFindingID AssetFindingID, params *GetAssetFindingsAssetFindingIDParams, reqEditors ...RequestEditorFn) (*GetAssetFindingsAssetFindingIDResponse, error)
GetAssetFindingsAssetFindingIDWithResponse request returning *GetAssetFindingsAssetFindingIDResponse
func (*ClientWithResponses) GetAssetFindingsWithResponse ¶ added in v0.7.2
func (c *ClientWithResponses) GetAssetFindingsWithResponse(ctx context.Context, params *GetAssetFindingsParams, reqEditors ...RequestEditorFn) (*GetAssetFindingsResponse, error)
GetAssetFindingsWithResponse request returning *GetAssetFindingsResponse
func (*ClientWithResponses) GetAssetScanEstimationsAssetScanEstimationIDWithResponse ¶
func (c *ClientWithResponses) GetAssetScanEstimationsAssetScanEstimationIDWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *GetAssetScanEstimationsAssetScanEstimationIDParams, reqEditors ...RequestEditorFn) (*GetAssetScanEstimationsAssetScanEstimationIDResponse, error)
GetAssetScanEstimationsAssetScanEstimationIDWithResponse request returning *GetAssetScanEstimationsAssetScanEstimationIDResponse
func (*ClientWithResponses) GetAssetScanEstimationsWithResponse ¶
func (c *ClientWithResponses) GetAssetScanEstimationsWithResponse(ctx context.Context, params *GetAssetScanEstimationsParams, reqEditors ...RequestEditorFn) (*GetAssetScanEstimationsResponse, error)
GetAssetScanEstimationsWithResponse request returning *GetAssetScanEstimationsResponse
func (*ClientWithResponses) GetAssetScansAssetScanIDWithResponse ¶
func (c *ClientWithResponses) GetAssetScansAssetScanIDWithResponse(ctx context.Context, assetScanID AssetScanID, params *GetAssetScansAssetScanIDParams, reqEditors ...RequestEditorFn) (*GetAssetScansAssetScanIDResponse, error)
GetAssetScansAssetScanIDWithResponse request returning *GetAssetScansAssetScanIDResponse
func (*ClientWithResponses) GetAssetScansWithResponse ¶
func (c *ClientWithResponses) GetAssetScansWithResponse(ctx context.Context, params *GetAssetScansParams, reqEditors ...RequestEditorFn) (*GetAssetScansResponse, error)
GetAssetScansWithResponse request returning *GetAssetScansResponse
func (*ClientWithResponses) GetAssetsAssetIDWithResponse ¶
func (c *ClientWithResponses) GetAssetsAssetIDWithResponse(ctx context.Context, assetID AssetID, params *GetAssetsAssetIDParams, reqEditors ...RequestEditorFn) (*GetAssetsAssetIDResponse, error)
GetAssetsAssetIDWithResponse request returning *GetAssetsAssetIDResponse
func (*ClientWithResponses) GetAssetsWithResponse ¶
func (c *ClientWithResponses) GetAssetsWithResponse(ctx context.Context, params *GetAssetsParams, reqEditors ...RequestEditorFn) (*GetAssetsResponse, error)
GetAssetsWithResponse request returning *GetAssetsResponse
func (*ClientWithResponses) GetFindingsFindingIDWithResponse ¶
func (c *ClientWithResponses) GetFindingsFindingIDWithResponse(ctx context.Context, findingID FindingID, params *GetFindingsFindingIDParams, reqEditors ...RequestEditorFn) (*GetFindingsFindingIDResponse, error)
GetFindingsFindingIDWithResponse request returning *GetFindingsFindingIDResponse
func (*ClientWithResponses) GetFindingsWithResponse ¶
func (c *ClientWithResponses) GetFindingsWithResponse(ctx context.Context, params *GetFindingsParams, reqEditors ...RequestEditorFn) (*GetFindingsResponse, error)
GetFindingsWithResponse request returning *GetFindingsResponse
func (*ClientWithResponses) GetOpenAPISpecWithResponse ¶
func (c *ClientWithResponses) GetOpenAPISpecWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenAPISpecResponse, error)
GetOpenAPISpecWithResponse request returning *GetOpenAPISpecResponse
func (*ClientWithResponses) GetProvidersProviderIDWithResponse ¶
func (c *ClientWithResponses) GetProvidersProviderIDWithResponse(ctx context.Context, providerID ProviderID, params *GetProvidersProviderIDParams, reqEditors ...RequestEditorFn) (*GetProvidersProviderIDResponse, error)
GetProvidersProviderIDWithResponse request returning *GetProvidersProviderIDResponse
func (*ClientWithResponses) GetProvidersWithResponse ¶
func (c *ClientWithResponses) GetProvidersWithResponse(ctx context.Context, params *GetProvidersParams, reqEditors ...RequestEditorFn) (*GetProvidersResponse, error)
GetProvidersWithResponse request returning *GetProvidersResponse
func (*ClientWithResponses) GetScanConfigsScanConfigIDWithResponse ¶
func (c *ClientWithResponses) GetScanConfigsScanConfigIDWithResponse(ctx context.Context, scanConfigID ScanConfigID, params *GetScanConfigsScanConfigIDParams, reqEditors ...RequestEditorFn) (*GetScanConfigsScanConfigIDResponse, error)
GetScanConfigsScanConfigIDWithResponse request returning *GetScanConfigsScanConfigIDResponse
func (*ClientWithResponses) GetScanConfigsWithResponse ¶
func (c *ClientWithResponses) GetScanConfigsWithResponse(ctx context.Context, params *GetScanConfigsParams, reqEditors ...RequestEditorFn) (*GetScanConfigsResponse, error)
GetScanConfigsWithResponse request returning *GetScanConfigsResponse
func (*ClientWithResponses) GetScanEstimationsScanEstimationIDWithResponse ¶
func (c *ClientWithResponses) GetScanEstimationsScanEstimationIDWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, params *GetScanEstimationsScanEstimationIDParams, reqEditors ...RequestEditorFn) (*GetScanEstimationsScanEstimationIDResponse, error)
GetScanEstimationsScanEstimationIDWithResponse request returning *GetScanEstimationsScanEstimationIDResponse
func (*ClientWithResponses) GetScanEstimationsWithResponse ¶
func (c *ClientWithResponses) GetScanEstimationsWithResponse(ctx context.Context, params *GetScanEstimationsParams, reqEditors ...RequestEditorFn) (*GetScanEstimationsResponse, error)
GetScanEstimationsWithResponse request returning *GetScanEstimationsResponse
func (*ClientWithResponses) GetScansScanIDWithResponse ¶
func (c *ClientWithResponses) GetScansScanIDWithResponse(ctx context.Context, scanID ScanID, params *GetScansScanIDParams, reqEditors ...RequestEditorFn) (*GetScansScanIDResponse, error)
GetScansScanIDWithResponse request returning *GetScansScanIDResponse
func (*ClientWithResponses) GetScansWithResponse ¶
func (c *ClientWithResponses) GetScansWithResponse(ctx context.Context, params *GetScansParams, reqEditors ...RequestEditorFn) (*GetScansResponse, error)
GetScansWithResponse request returning *GetScansResponse
func (*ClientWithResponses) PatchAssetFindingsAssetFindingIDWithBodyWithResponse ¶ added in v0.7.2
func (c *ClientWithResponses) PatchAssetFindingsAssetFindingIDWithBodyWithResponse(ctx context.Context, assetFindingID AssetFindingID, params *PatchAssetFindingsAssetFindingIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchAssetFindingsAssetFindingIDResponse, error)
PatchAssetFindingsAssetFindingIDWithBodyWithResponse request with arbitrary body returning *PatchAssetFindingsAssetFindingIDResponse
func (*ClientWithResponses) PatchAssetFindingsAssetFindingIDWithResponse ¶ added in v0.7.2
func (c *ClientWithResponses) PatchAssetFindingsAssetFindingIDWithResponse(ctx context.Context, assetFindingID AssetFindingID, params *PatchAssetFindingsAssetFindingIDParams, body PatchAssetFindingsAssetFindingIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAssetFindingsAssetFindingIDResponse, error)
func (*ClientWithResponses) PatchAssetScanEstimationsAssetScanEstimationIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchAssetScanEstimationsAssetScanEstimationIDWithBodyWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *PatchAssetScanEstimationsAssetScanEstimationIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchAssetScanEstimationsAssetScanEstimationIDResponse, error)
PatchAssetScanEstimationsAssetScanEstimationIDWithBodyWithResponse request with arbitrary body returning *PatchAssetScanEstimationsAssetScanEstimationIDResponse
func (*ClientWithResponses) PatchAssetScanEstimationsAssetScanEstimationIDWithResponse ¶
func (c *ClientWithResponses) PatchAssetScanEstimationsAssetScanEstimationIDWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *PatchAssetScanEstimationsAssetScanEstimationIDParams, body PatchAssetScanEstimationsAssetScanEstimationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAssetScanEstimationsAssetScanEstimationIDResponse, error)
func (*ClientWithResponses) PatchAssetScansAssetScanIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchAssetScansAssetScanIDWithBodyWithResponse(ctx context.Context, assetScanID AssetScanID, params *PatchAssetScansAssetScanIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchAssetScansAssetScanIDResponse, error)
PatchAssetScansAssetScanIDWithBodyWithResponse request with arbitrary body returning *PatchAssetScansAssetScanIDResponse
func (*ClientWithResponses) PatchAssetScansAssetScanIDWithResponse ¶
func (c *ClientWithResponses) PatchAssetScansAssetScanIDWithResponse(ctx context.Context, assetScanID AssetScanID, params *PatchAssetScansAssetScanIDParams, body PatchAssetScansAssetScanIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAssetScansAssetScanIDResponse, error)
func (*ClientWithResponses) PatchAssetsAssetIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchAssetsAssetIDWithBodyWithResponse(ctx context.Context, assetID AssetID, params *PatchAssetsAssetIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchAssetsAssetIDResponse, error)
PatchAssetsAssetIDWithBodyWithResponse request with arbitrary body returning *PatchAssetsAssetIDResponse
func (*ClientWithResponses) PatchAssetsAssetIDWithResponse ¶
func (c *ClientWithResponses) PatchAssetsAssetIDWithResponse(ctx context.Context, assetID AssetID, params *PatchAssetsAssetIDParams, body PatchAssetsAssetIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAssetsAssetIDResponse, error)
func (*ClientWithResponses) PatchFindingsFindingIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchFindingsFindingIDWithBodyWithResponse(ctx context.Context, findingID FindingID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchFindingsFindingIDResponse, error)
PatchFindingsFindingIDWithBodyWithResponse request with arbitrary body returning *PatchFindingsFindingIDResponse
func (*ClientWithResponses) PatchFindingsFindingIDWithResponse ¶
func (c *ClientWithResponses) PatchFindingsFindingIDWithResponse(ctx context.Context, findingID FindingID, body PatchFindingsFindingIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchFindingsFindingIDResponse, error)
func (*ClientWithResponses) PatchProvidersProviderIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchProvidersProviderIDWithBodyWithResponse(ctx context.Context, providerID ProviderID, params *PatchProvidersProviderIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchProvidersProviderIDResponse, error)
PatchProvidersProviderIDWithBodyWithResponse request with arbitrary body returning *PatchProvidersProviderIDResponse
func (*ClientWithResponses) PatchProvidersProviderIDWithResponse ¶
func (c *ClientWithResponses) PatchProvidersProviderIDWithResponse(ctx context.Context, providerID ProviderID, params *PatchProvidersProviderIDParams, body PatchProvidersProviderIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchProvidersProviderIDResponse, error)
func (*ClientWithResponses) PatchScanConfigsScanConfigIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchScanConfigsScanConfigIDWithBodyWithResponse(ctx context.Context, scanConfigID ScanConfigID, params *PatchScanConfigsScanConfigIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchScanConfigsScanConfigIDResponse, error)
PatchScanConfigsScanConfigIDWithBodyWithResponse request with arbitrary body returning *PatchScanConfigsScanConfigIDResponse
func (*ClientWithResponses) PatchScanConfigsScanConfigIDWithResponse ¶
func (c *ClientWithResponses) PatchScanConfigsScanConfigIDWithResponse(ctx context.Context, scanConfigID ScanConfigID, params *PatchScanConfigsScanConfigIDParams, body PatchScanConfigsScanConfigIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchScanConfigsScanConfigIDResponse, error)
func (*ClientWithResponses) PatchScanEstimationsScanEstimationIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchScanEstimationsScanEstimationIDWithBodyWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, params *PatchScanEstimationsScanEstimationIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchScanEstimationsScanEstimationIDResponse, error)
PatchScanEstimationsScanEstimationIDWithBodyWithResponse request with arbitrary body returning *PatchScanEstimationsScanEstimationIDResponse
func (*ClientWithResponses) PatchScanEstimationsScanEstimationIDWithResponse ¶
func (c *ClientWithResponses) PatchScanEstimationsScanEstimationIDWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, params *PatchScanEstimationsScanEstimationIDParams, body PatchScanEstimationsScanEstimationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchScanEstimationsScanEstimationIDResponse, error)
func (*ClientWithResponses) PatchScansScanIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchScansScanIDWithBodyWithResponse(ctx context.Context, scanID ScanID, params *PatchScansScanIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchScansScanIDResponse, error)
PatchScansScanIDWithBodyWithResponse request with arbitrary body returning *PatchScansScanIDResponse
func (*ClientWithResponses) PatchScansScanIDWithResponse ¶
func (c *ClientWithResponses) PatchScansScanIDWithResponse(ctx context.Context, scanID ScanID, params *PatchScansScanIDParams, body PatchScansScanIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchScansScanIDResponse, error)
func (*ClientWithResponses) PostAssetFindingsWithBodyWithResponse ¶ added in v0.7.2
func (c *ClientWithResponses) PostAssetFindingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAssetFindingsResponse, error)
PostAssetFindingsWithBodyWithResponse request with arbitrary body returning *PostAssetFindingsResponse
func (*ClientWithResponses) PostAssetFindingsWithResponse ¶ added in v0.7.2
func (c *ClientWithResponses) PostAssetFindingsWithResponse(ctx context.Context, body PostAssetFindingsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAssetFindingsResponse, error)
func (*ClientWithResponses) PostAssetScanEstimationsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostAssetScanEstimationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAssetScanEstimationsResponse, error)
PostAssetScanEstimationsWithBodyWithResponse request with arbitrary body returning *PostAssetScanEstimationsResponse
func (*ClientWithResponses) PostAssetScanEstimationsWithResponse ¶
func (c *ClientWithResponses) PostAssetScanEstimationsWithResponse(ctx context.Context, body PostAssetScanEstimationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAssetScanEstimationsResponse, error)
func (*ClientWithResponses) PostAssetScansWithBodyWithResponse ¶
func (c *ClientWithResponses) PostAssetScansWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAssetScansResponse, error)
PostAssetScansWithBodyWithResponse request with arbitrary body returning *PostAssetScansResponse
func (*ClientWithResponses) PostAssetScansWithResponse ¶
func (c *ClientWithResponses) PostAssetScansWithResponse(ctx context.Context, body PostAssetScansJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAssetScansResponse, error)
func (*ClientWithResponses) PostAssetsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostAssetsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAssetsResponse, error)
PostAssetsWithBodyWithResponse request with arbitrary body returning *PostAssetsResponse
func (*ClientWithResponses) PostAssetsWithResponse ¶
func (c *ClientWithResponses) PostAssetsWithResponse(ctx context.Context, body PostAssetsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAssetsResponse, error)
func (*ClientWithResponses) PostFindingsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostFindingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFindingsResponse, error)
PostFindingsWithBodyWithResponse request with arbitrary body returning *PostFindingsResponse
func (*ClientWithResponses) PostFindingsWithResponse ¶
func (c *ClientWithResponses) PostFindingsWithResponse(ctx context.Context, body PostFindingsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFindingsResponse, error)
func (*ClientWithResponses) PostProvidersWithBodyWithResponse ¶
func (c *ClientWithResponses) PostProvidersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostProvidersResponse, error)
PostProvidersWithBodyWithResponse request with arbitrary body returning *PostProvidersResponse
func (*ClientWithResponses) PostProvidersWithResponse ¶
func (c *ClientWithResponses) PostProvidersWithResponse(ctx context.Context, body PostProvidersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostProvidersResponse, error)
func (*ClientWithResponses) PostScanConfigsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostScanConfigsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostScanConfigsResponse, error)
PostScanConfigsWithBodyWithResponse request with arbitrary body returning *PostScanConfigsResponse
func (*ClientWithResponses) PostScanConfigsWithResponse ¶
func (c *ClientWithResponses) PostScanConfigsWithResponse(ctx context.Context, body PostScanConfigsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostScanConfigsResponse, error)
func (*ClientWithResponses) PostScanEstimationsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostScanEstimationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostScanEstimationsResponse, error)
PostScanEstimationsWithBodyWithResponse request with arbitrary body returning *PostScanEstimationsResponse
func (*ClientWithResponses) PostScanEstimationsWithResponse ¶
func (c *ClientWithResponses) PostScanEstimationsWithResponse(ctx context.Context, body PostScanEstimationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostScanEstimationsResponse, error)
func (*ClientWithResponses) PostScansWithBodyWithResponse ¶
func (c *ClientWithResponses) PostScansWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostScansResponse, error)
PostScansWithBodyWithResponse request with arbitrary body returning *PostScansResponse
func (*ClientWithResponses) PostScansWithResponse ¶
func (c *ClientWithResponses) PostScansWithResponse(ctx context.Context, body PostScansJSONRequestBody, reqEditors ...RequestEditorFn) (*PostScansResponse, error)
func (*ClientWithResponses) PutAssetFindingsAssetFindingIDWithBodyWithResponse ¶ added in v0.7.2
func (c *ClientWithResponses) PutAssetFindingsAssetFindingIDWithBodyWithResponse(ctx context.Context, assetFindingID AssetFindingID, params *PutAssetFindingsAssetFindingIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAssetFindingsAssetFindingIDResponse, error)
PutAssetFindingsAssetFindingIDWithBodyWithResponse request with arbitrary body returning *PutAssetFindingsAssetFindingIDResponse
func (*ClientWithResponses) PutAssetFindingsAssetFindingIDWithResponse ¶ added in v0.7.2
func (c *ClientWithResponses) PutAssetFindingsAssetFindingIDWithResponse(ctx context.Context, assetFindingID AssetFindingID, params *PutAssetFindingsAssetFindingIDParams, body PutAssetFindingsAssetFindingIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAssetFindingsAssetFindingIDResponse, error)
func (*ClientWithResponses) PutAssetScanEstimationsAssetScanEstimationIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PutAssetScanEstimationsAssetScanEstimationIDWithBodyWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *PutAssetScanEstimationsAssetScanEstimationIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAssetScanEstimationsAssetScanEstimationIDResponse, error)
PutAssetScanEstimationsAssetScanEstimationIDWithBodyWithResponse request with arbitrary body returning *PutAssetScanEstimationsAssetScanEstimationIDResponse
func (*ClientWithResponses) PutAssetScanEstimationsAssetScanEstimationIDWithResponse ¶
func (c *ClientWithResponses) PutAssetScanEstimationsAssetScanEstimationIDWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *PutAssetScanEstimationsAssetScanEstimationIDParams, body PutAssetScanEstimationsAssetScanEstimationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAssetScanEstimationsAssetScanEstimationIDResponse, error)
func (*ClientWithResponses) PutAssetScansAssetScanIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PutAssetScansAssetScanIDWithBodyWithResponse(ctx context.Context, assetScanID AssetScanID, params *PutAssetScansAssetScanIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAssetScansAssetScanIDResponse, error)
PutAssetScansAssetScanIDWithBodyWithResponse request with arbitrary body returning *PutAssetScansAssetScanIDResponse
func (*ClientWithResponses) PutAssetScansAssetScanIDWithResponse ¶
func (c *ClientWithResponses) PutAssetScansAssetScanIDWithResponse(ctx context.Context, assetScanID AssetScanID, params *PutAssetScansAssetScanIDParams, body PutAssetScansAssetScanIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAssetScansAssetScanIDResponse, error)
func (*ClientWithResponses) PutAssetsAssetIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PutAssetsAssetIDWithBodyWithResponse(ctx context.Context, assetID AssetID, params *PutAssetsAssetIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAssetsAssetIDResponse, error)
PutAssetsAssetIDWithBodyWithResponse request with arbitrary body returning *PutAssetsAssetIDResponse
func (*ClientWithResponses) PutAssetsAssetIDWithResponse ¶
func (c *ClientWithResponses) PutAssetsAssetIDWithResponse(ctx context.Context, assetID AssetID, params *PutAssetsAssetIDParams, body PutAssetsAssetIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAssetsAssetIDResponse, error)
func (*ClientWithResponses) PutFindingsFindingIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PutFindingsFindingIDWithBodyWithResponse(ctx context.Context, findingID FindingID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutFindingsFindingIDResponse, error)
PutFindingsFindingIDWithBodyWithResponse request with arbitrary body returning *PutFindingsFindingIDResponse
func (*ClientWithResponses) PutFindingsFindingIDWithResponse ¶
func (c *ClientWithResponses) PutFindingsFindingIDWithResponse(ctx context.Context, findingID FindingID, body PutFindingsFindingIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutFindingsFindingIDResponse, error)
func (*ClientWithResponses) PutProvidersProviderIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PutProvidersProviderIDWithBodyWithResponse(ctx context.Context, providerID ProviderID, params *PutProvidersProviderIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutProvidersProviderIDResponse, error)
PutProvidersProviderIDWithBodyWithResponse request with arbitrary body returning *PutProvidersProviderIDResponse
func (*ClientWithResponses) PutProvidersProviderIDWithResponse ¶
func (c *ClientWithResponses) PutProvidersProviderIDWithResponse(ctx context.Context, providerID ProviderID, params *PutProvidersProviderIDParams, body PutProvidersProviderIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutProvidersProviderIDResponse, error)
func (*ClientWithResponses) PutScanConfigsScanConfigIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PutScanConfigsScanConfigIDWithBodyWithResponse(ctx context.Context, scanConfigID ScanConfigID, params *PutScanConfigsScanConfigIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutScanConfigsScanConfigIDResponse, error)
PutScanConfigsScanConfigIDWithBodyWithResponse request with arbitrary body returning *PutScanConfigsScanConfigIDResponse
func (*ClientWithResponses) PutScanConfigsScanConfigIDWithResponse ¶
func (c *ClientWithResponses) PutScanConfigsScanConfigIDWithResponse(ctx context.Context, scanConfigID ScanConfigID, params *PutScanConfigsScanConfigIDParams, body PutScanConfigsScanConfigIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutScanConfigsScanConfigIDResponse, error)
func (*ClientWithResponses) PutScanEstimationsScanEstimationIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PutScanEstimationsScanEstimationIDWithBodyWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, params *PutScanEstimationsScanEstimationIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutScanEstimationsScanEstimationIDResponse, error)
PutScanEstimationsScanEstimationIDWithBodyWithResponse request with arbitrary body returning *PutScanEstimationsScanEstimationIDResponse
func (*ClientWithResponses) PutScanEstimationsScanEstimationIDWithResponse ¶
func (c *ClientWithResponses) PutScanEstimationsScanEstimationIDWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, params *PutScanEstimationsScanEstimationIDParams, body PutScanEstimationsScanEstimationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutScanEstimationsScanEstimationIDResponse, error)
func (*ClientWithResponses) PutScansScanIDWithBodyWithResponse ¶
func (c *ClientWithResponses) PutScansScanIDWithBodyWithResponse(ctx context.Context, scanID ScanID, params *PutScansScanIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutScansScanIDResponse, error)
PutScansScanIDWithBodyWithResponse request with arbitrary body returning *PutScansScanIDResponse
func (*ClientWithResponses) PutScansScanIDWithResponse ¶
func (c *ClientWithResponses) PutScansScanIDWithResponse(ctx context.Context, scanID ScanID, params *PutScansScanIDParams, body PutScansScanIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutScansScanIDResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetAssetFindingsWithResponse request
GetAssetFindingsWithResponse(ctx context.Context, params *GetAssetFindingsParams, reqEditors ...RequestEditorFn) (*GetAssetFindingsResponse, error)
// PostAssetFindingsWithBodyWithResponse request with any body
PostAssetFindingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAssetFindingsResponse, error)
PostAssetFindingsWithResponse(ctx context.Context, body PostAssetFindingsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAssetFindingsResponse, error)
// DeleteAssetFindingsAssetFindingIDWithResponse request
DeleteAssetFindingsAssetFindingIDWithResponse(ctx context.Context, assetFindingID AssetFindingID, reqEditors ...RequestEditorFn) (*DeleteAssetFindingsAssetFindingIDResponse, error)
// GetAssetFindingsAssetFindingIDWithResponse request
GetAssetFindingsAssetFindingIDWithResponse(ctx context.Context, assetFindingID AssetFindingID, params *GetAssetFindingsAssetFindingIDParams, reqEditors ...RequestEditorFn) (*GetAssetFindingsAssetFindingIDResponse, error)
// PatchAssetFindingsAssetFindingIDWithBodyWithResponse request with any body
PatchAssetFindingsAssetFindingIDWithBodyWithResponse(ctx context.Context, assetFindingID AssetFindingID, params *PatchAssetFindingsAssetFindingIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchAssetFindingsAssetFindingIDResponse, error)
PatchAssetFindingsAssetFindingIDWithResponse(ctx context.Context, assetFindingID AssetFindingID, params *PatchAssetFindingsAssetFindingIDParams, body PatchAssetFindingsAssetFindingIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAssetFindingsAssetFindingIDResponse, error)
// PutAssetFindingsAssetFindingIDWithBodyWithResponse request with any body
PutAssetFindingsAssetFindingIDWithBodyWithResponse(ctx context.Context, assetFindingID AssetFindingID, params *PutAssetFindingsAssetFindingIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAssetFindingsAssetFindingIDResponse, error)
PutAssetFindingsAssetFindingIDWithResponse(ctx context.Context, assetFindingID AssetFindingID, params *PutAssetFindingsAssetFindingIDParams, body PutAssetFindingsAssetFindingIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAssetFindingsAssetFindingIDResponse, error)
// GetAssetScanEstimationsWithResponse request
GetAssetScanEstimationsWithResponse(ctx context.Context, params *GetAssetScanEstimationsParams, reqEditors ...RequestEditorFn) (*GetAssetScanEstimationsResponse, error)
// PostAssetScanEstimationsWithBodyWithResponse request with any body
PostAssetScanEstimationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAssetScanEstimationsResponse, error)
PostAssetScanEstimationsWithResponse(ctx context.Context, body PostAssetScanEstimationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAssetScanEstimationsResponse, error)
// DeleteAssetScanEstimationsAssetScanEstimationIDWithResponse request
DeleteAssetScanEstimationsAssetScanEstimationIDWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, reqEditors ...RequestEditorFn) (*DeleteAssetScanEstimationsAssetScanEstimationIDResponse, error)
// GetAssetScanEstimationsAssetScanEstimationIDWithResponse request
GetAssetScanEstimationsAssetScanEstimationIDWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *GetAssetScanEstimationsAssetScanEstimationIDParams, reqEditors ...RequestEditorFn) (*GetAssetScanEstimationsAssetScanEstimationIDResponse, error)
// PatchAssetScanEstimationsAssetScanEstimationIDWithBodyWithResponse request with any body
PatchAssetScanEstimationsAssetScanEstimationIDWithBodyWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *PatchAssetScanEstimationsAssetScanEstimationIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchAssetScanEstimationsAssetScanEstimationIDResponse, error)
PatchAssetScanEstimationsAssetScanEstimationIDWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *PatchAssetScanEstimationsAssetScanEstimationIDParams, body PatchAssetScanEstimationsAssetScanEstimationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAssetScanEstimationsAssetScanEstimationIDResponse, error)
// PutAssetScanEstimationsAssetScanEstimationIDWithBodyWithResponse request with any body
PutAssetScanEstimationsAssetScanEstimationIDWithBodyWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *PutAssetScanEstimationsAssetScanEstimationIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAssetScanEstimationsAssetScanEstimationIDResponse, error)
PutAssetScanEstimationsAssetScanEstimationIDWithResponse(ctx context.Context, assetScanEstimationID AssetScanEstimationID, params *PutAssetScanEstimationsAssetScanEstimationIDParams, body PutAssetScanEstimationsAssetScanEstimationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAssetScanEstimationsAssetScanEstimationIDResponse, error)
// GetAssetScansWithResponse request
GetAssetScansWithResponse(ctx context.Context, params *GetAssetScansParams, reqEditors ...RequestEditorFn) (*GetAssetScansResponse, error)
// PostAssetScansWithBodyWithResponse request with any body
PostAssetScansWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAssetScansResponse, error)
PostAssetScansWithResponse(ctx context.Context, body PostAssetScansJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAssetScansResponse, error)
// GetAssetScansAssetScanIDWithResponse request
GetAssetScansAssetScanIDWithResponse(ctx context.Context, assetScanID AssetScanID, params *GetAssetScansAssetScanIDParams, reqEditors ...RequestEditorFn) (*GetAssetScansAssetScanIDResponse, error)
// PatchAssetScansAssetScanIDWithBodyWithResponse request with any body
PatchAssetScansAssetScanIDWithBodyWithResponse(ctx context.Context, assetScanID AssetScanID, params *PatchAssetScansAssetScanIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchAssetScansAssetScanIDResponse, error)
PatchAssetScansAssetScanIDWithResponse(ctx context.Context, assetScanID AssetScanID, params *PatchAssetScansAssetScanIDParams, body PatchAssetScansAssetScanIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAssetScansAssetScanIDResponse, error)
// PutAssetScansAssetScanIDWithBodyWithResponse request with any body
PutAssetScansAssetScanIDWithBodyWithResponse(ctx context.Context, assetScanID AssetScanID, params *PutAssetScansAssetScanIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAssetScansAssetScanIDResponse, error)
PutAssetScansAssetScanIDWithResponse(ctx context.Context, assetScanID AssetScanID, params *PutAssetScansAssetScanIDParams, body PutAssetScansAssetScanIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAssetScansAssetScanIDResponse, error)
// GetAssetsWithResponse request
GetAssetsWithResponse(ctx context.Context, params *GetAssetsParams, reqEditors ...RequestEditorFn) (*GetAssetsResponse, error)
// PostAssetsWithBodyWithResponse request with any body
PostAssetsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAssetsResponse, error)
PostAssetsWithResponse(ctx context.Context, body PostAssetsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAssetsResponse, error)
// DeleteAssetsAssetIDWithResponse request
DeleteAssetsAssetIDWithResponse(ctx context.Context, assetID AssetID, reqEditors ...RequestEditorFn) (*DeleteAssetsAssetIDResponse, error)
// GetAssetsAssetIDWithResponse request
GetAssetsAssetIDWithResponse(ctx context.Context, assetID AssetID, params *GetAssetsAssetIDParams, reqEditors ...RequestEditorFn) (*GetAssetsAssetIDResponse, error)
// PatchAssetsAssetIDWithBodyWithResponse request with any body
PatchAssetsAssetIDWithBodyWithResponse(ctx context.Context, assetID AssetID, params *PatchAssetsAssetIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchAssetsAssetIDResponse, error)
PatchAssetsAssetIDWithResponse(ctx context.Context, assetID AssetID, params *PatchAssetsAssetIDParams, body PatchAssetsAssetIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAssetsAssetIDResponse, error)
// PutAssetsAssetIDWithBodyWithResponse request with any body
PutAssetsAssetIDWithBodyWithResponse(ctx context.Context, assetID AssetID, params *PutAssetsAssetIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAssetsAssetIDResponse, error)
PutAssetsAssetIDWithResponse(ctx context.Context, assetID AssetID, params *PutAssetsAssetIDParams, body PutAssetsAssetIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAssetsAssetIDResponse, error)
// GetFindingsWithResponse request
GetFindingsWithResponse(ctx context.Context, params *GetFindingsParams, reqEditors ...RequestEditorFn) (*GetFindingsResponse, error)
// PostFindingsWithBodyWithResponse request with any body
PostFindingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFindingsResponse, error)
PostFindingsWithResponse(ctx context.Context, body PostFindingsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFindingsResponse, error)
// DeleteFindingsFindingIDWithResponse request
DeleteFindingsFindingIDWithResponse(ctx context.Context, findingID FindingID, reqEditors ...RequestEditorFn) (*DeleteFindingsFindingIDResponse, error)
// GetFindingsFindingIDWithResponse request
GetFindingsFindingIDWithResponse(ctx context.Context, findingID FindingID, params *GetFindingsFindingIDParams, reqEditors ...RequestEditorFn) (*GetFindingsFindingIDResponse, error)
// PatchFindingsFindingIDWithBodyWithResponse request with any body
PatchFindingsFindingIDWithBodyWithResponse(ctx context.Context, findingID FindingID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchFindingsFindingIDResponse, error)
PatchFindingsFindingIDWithResponse(ctx context.Context, findingID FindingID, body PatchFindingsFindingIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchFindingsFindingIDResponse, error)
// PutFindingsFindingIDWithBodyWithResponse request with any body
PutFindingsFindingIDWithBodyWithResponse(ctx context.Context, findingID FindingID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutFindingsFindingIDResponse, error)
PutFindingsFindingIDWithResponse(ctx context.Context, findingID FindingID, body PutFindingsFindingIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutFindingsFindingIDResponse, error)
// GetOpenAPISpecWithResponse request
GetOpenAPISpecWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenAPISpecResponse, error)
// GetProvidersWithResponse request
GetProvidersWithResponse(ctx context.Context, params *GetProvidersParams, reqEditors ...RequestEditorFn) (*GetProvidersResponse, error)
// PostProvidersWithBodyWithResponse request with any body
PostProvidersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostProvidersResponse, error)
PostProvidersWithResponse(ctx context.Context, body PostProvidersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostProvidersResponse, error)
// DeleteProvidersProviderIDWithResponse request
DeleteProvidersProviderIDWithResponse(ctx context.Context, providerID ProviderID, reqEditors ...RequestEditorFn) (*DeleteProvidersProviderIDResponse, error)
// GetProvidersProviderIDWithResponse request
GetProvidersProviderIDWithResponse(ctx context.Context, providerID ProviderID, params *GetProvidersProviderIDParams, reqEditors ...RequestEditorFn) (*GetProvidersProviderIDResponse, error)
// PatchProvidersProviderIDWithBodyWithResponse request with any body
PatchProvidersProviderIDWithBodyWithResponse(ctx context.Context, providerID ProviderID, params *PatchProvidersProviderIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchProvidersProviderIDResponse, error)
PatchProvidersProviderIDWithResponse(ctx context.Context, providerID ProviderID, params *PatchProvidersProviderIDParams, body PatchProvidersProviderIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchProvidersProviderIDResponse, error)
// PutProvidersProviderIDWithBodyWithResponse request with any body
PutProvidersProviderIDWithBodyWithResponse(ctx context.Context, providerID ProviderID, params *PutProvidersProviderIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutProvidersProviderIDResponse, error)
PutProvidersProviderIDWithResponse(ctx context.Context, providerID ProviderID, params *PutProvidersProviderIDParams, body PutProvidersProviderIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutProvidersProviderIDResponse, error)
// GetScanConfigsWithResponse request
GetScanConfigsWithResponse(ctx context.Context, params *GetScanConfigsParams, reqEditors ...RequestEditorFn) (*GetScanConfigsResponse, error)
// PostScanConfigsWithBodyWithResponse request with any body
PostScanConfigsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostScanConfigsResponse, error)
PostScanConfigsWithResponse(ctx context.Context, body PostScanConfigsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostScanConfigsResponse, error)
// DeleteScanConfigsScanConfigIDWithResponse request
DeleteScanConfigsScanConfigIDWithResponse(ctx context.Context, scanConfigID ScanConfigID, reqEditors ...RequestEditorFn) (*DeleteScanConfigsScanConfigIDResponse, error)
// GetScanConfigsScanConfigIDWithResponse request
GetScanConfigsScanConfigIDWithResponse(ctx context.Context, scanConfigID ScanConfigID, params *GetScanConfigsScanConfigIDParams, reqEditors ...RequestEditorFn) (*GetScanConfigsScanConfigIDResponse, error)
// PatchScanConfigsScanConfigIDWithBodyWithResponse request with any body
PatchScanConfigsScanConfigIDWithBodyWithResponse(ctx context.Context, scanConfigID ScanConfigID, params *PatchScanConfigsScanConfigIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchScanConfigsScanConfigIDResponse, error)
PatchScanConfigsScanConfigIDWithResponse(ctx context.Context, scanConfigID ScanConfigID, params *PatchScanConfigsScanConfigIDParams, body PatchScanConfigsScanConfigIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchScanConfigsScanConfigIDResponse, error)
// PutScanConfigsScanConfigIDWithBodyWithResponse request with any body
PutScanConfigsScanConfigIDWithBodyWithResponse(ctx context.Context, scanConfigID ScanConfigID, params *PutScanConfigsScanConfigIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutScanConfigsScanConfigIDResponse, error)
PutScanConfigsScanConfigIDWithResponse(ctx context.Context, scanConfigID ScanConfigID, params *PutScanConfigsScanConfigIDParams, body PutScanConfigsScanConfigIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutScanConfigsScanConfigIDResponse, error)
// GetScanEstimationsWithResponse request
GetScanEstimationsWithResponse(ctx context.Context, params *GetScanEstimationsParams, reqEditors ...RequestEditorFn) (*GetScanEstimationsResponse, error)
// PostScanEstimationsWithBodyWithResponse request with any body
PostScanEstimationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostScanEstimationsResponse, error)
PostScanEstimationsWithResponse(ctx context.Context, body PostScanEstimationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostScanEstimationsResponse, error)
// DeleteScanEstimationsScanEstimationIDWithResponse request
DeleteScanEstimationsScanEstimationIDWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, reqEditors ...RequestEditorFn) (*DeleteScanEstimationsScanEstimationIDResponse, error)
// GetScanEstimationsScanEstimationIDWithResponse request
GetScanEstimationsScanEstimationIDWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, params *GetScanEstimationsScanEstimationIDParams, reqEditors ...RequestEditorFn) (*GetScanEstimationsScanEstimationIDResponse, error)
// PatchScanEstimationsScanEstimationIDWithBodyWithResponse request with any body
PatchScanEstimationsScanEstimationIDWithBodyWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, params *PatchScanEstimationsScanEstimationIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchScanEstimationsScanEstimationIDResponse, error)
PatchScanEstimationsScanEstimationIDWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, params *PatchScanEstimationsScanEstimationIDParams, body PatchScanEstimationsScanEstimationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchScanEstimationsScanEstimationIDResponse, error)
// PutScanEstimationsScanEstimationIDWithBodyWithResponse request with any body
PutScanEstimationsScanEstimationIDWithBodyWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, params *PutScanEstimationsScanEstimationIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutScanEstimationsScanEstimationIDResponse, error)
PutScanEstimationsScanEstimationIDWithResponse(ctx context.Context, scanEstimationID ScanEstimationID, params *PutScanEstimationsScanEstimationIDParams, body PutScanEstimationsScanEstimationIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutScanEstimationsScanEstimationIDResponse, error)
// GetScansWithResponse request
GetScansWithResponse(ctx context.Context, params *GetScansParams, reqEditors ...RequestEditorFn) (*GetScansResponse, error)
// PostScansWithBodyWithResponse request with any body
PostScansWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostScansResponse, error)
PostScansWithResponse(ctx context.Context, body PostScansJSONRequestBody, reqEditors ...RequestEditorFn) (*PostScansResponse, error)
// DeleteScansScanIDWithResponse request
DeleteScansScanIDWithResponse(ctx context.Context, scanID ScanID, reqEditors ...RequestEditorFn) (*DeleteScansScanIDResponse, error)
// GetScansScanIDWithResponse request
GetScansScanIDWithResponse(ctx context.Context, scanID ScanID, params *GetScansScanIDParams, reqEditors ...RequestEditorFn) (*GetScansScanIDResponse, error)
// PatchScansScanIDWithBodyWithResponse request with any body
PatchScansScanIDWithBodyWithResponse(ctx context.Context, scanID ScanID, params *PatchScansScanIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchScansScanIDResponse, error)
PatchScansScanIDWithResponse(ctx context.Context, scanID ScanID, params *PatchScansScanIDParams, body PatchScansScanIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchScansScanIDResponse, error)
// PutScansScanIDWithBodyWithResponse request with any body
PutScansScanIDWithBodyWithResponse(ctx context.Context, scanID ScanID, params *PutScansScanIDParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutScansScanIDResponse, error)
PutScansScanIDWithResponse(ctx context.Context, scanID ScanID, params *PutScansScanIDParams, body PutScansScanIDJSONRequestBody, reqEditors ...RequestEditorFn) (*PutScansScanIDResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type DeleteAssetFindingsAssetFindingIDResponse ¶ added in v0.7.2
type DeleteAssetFindingsAssetFindingIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Success
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseDeleteAssetFindingsAssetFindingIDResponse ¶ added in v0.7.2
func ParseDeleteAssetFindingsAssetFindingIDResponse(rsp *http.Response) (*DeleteAssetFindingsAssetFindingIDResponse, error)
ParseDeleteAssetFindingsAssetFindingIDResponse parses an HTTP response from a DeleteAssetFindingsAssetFindingIDWithResponse call
func (DeleteAssetFindingsAssetFindingIDResponse) Status ¶ added in v0.7.2
func (r DeleteAssetFindingsAssetFindingIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAssetFindingsAssetFindingIDResponse) StatusCode ¶ added in v0.7.2
func (r DeleteAssetFindingsAssetFindingIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAssetScanEstimationsAssetScanEstimationIDResponse ¶
type DeleteAssetScanEstimationsAssetScanEstimationIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Success
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseDeleteAssetScanEstimationsAssetScanEstimationIDResponse ¶
func ParseDeleteAssetScanEstimationsAssetScanEstimationIDResponse(rsp *http.Response) (*DeleteAssetScanEstimationsAssetScanEstimationIDResponse, error)
ParseDeleteAssetScanEstimationsAssetScanEstimationIDResponse parses an HTTP response from a DeleteAssetScanEstimationsAssetScanEstimationIDWithResponse call
func (DeleteAssetScanEstimationsAssetScanEstimationIDResponse) Status ¶
func (r DeleteAssetScanEstimationsAssetScanEstimationIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAssetScanEstimationsAssetScanEstimationIDResponse) StatusCode ¶
func (r DeleteAssetScanEstimationsAssetScanEstimationIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAssetsAssetIDResponse ¶
type DeleteAssetsAssetIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Success
JSON400 *ApiResponse
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseDeleteAssetsAssetIDResponse ¶
func ParseDeleteAssetsAssetIDResponse(rsp *http.Response) (*DeleteAssetsAssetIDResponse, error)
ParseDeleteAssetsAssetIDResponse parses an HTTP response from a DeleteAssetsAssetIDWithResponse call
func (DeleteAssetsAssetIDResponse) Status ¶
func (r DeleteAssetsAssetIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAssetsAssetIDResponse) StatusCode ¶
func (r DeleteAssetsAssetIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFindingsFindingIDResponse ¶
type DeleteFindingsFindingIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Success
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseDeleteFindingsFindingIDResponse ¶
func ParseDeleteFindingsFindingIDResponse(rsp *http.Response) (*DeleteFindingsFindingIDResponse, error)
ParseDeleteFindingsFindingIDResponse parses an HTTP response from a DeleteFindingsFindingIDWithResponse call
func (DeleteFindingsFindingIDResponse) Status ¶
func (r DeleteFindingsFindingIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFindingsFindingIDResponse) StatusCode ¶
func (r DeleteFindingsFindingIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProvidersProviderIDResponse ¶
type DeleteProvidersProviderIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Success
JSON400 *ApiResponse
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseDeleteProvidersProviderIDResponse ¶
func ParseDeleteProvidersProviderIDResponse(rsp *http.Response) (*DeleteProvidersProviderIDResponse, error)
ParseDeleteProvidersProviderIDResponse parses an HTTP response from a DeleteProvidersProviderIDWithResponse call
func (DeleteProvidersProviderIDResponse) Status ¶
func (r DeleteProvidersProviderIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteProvidersProviderIDResponse) StatusCode ¶
func (r DeleteProvidersProviderIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteScanConfigsScanConfigIDResponse ¶
type DeleteScanConfigsScanConfigIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Success
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseDeleteScanConfigsScanConfigIDResponse ¶
func ParseDeleteScanConfigsScanConfigIDResponse(rsp *http.Response) (*DeleteScanConfigsScanConfigIDResponse, error)
ParseDeleteScanConfigsScanConfigIDResponse parses an HTTP response from a DeleteScanConfigsScanConfigIDWithResponse call
func (DeleteScanConfigsScanConfigIDResponse) Status ¶
func (r DeleteScanConfigsScanConfigIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteScanConfigsScanConfigIDResponse) StatusCode ¶
func (r DeleteScanConfigsScanConfigIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteScanEstimationsScanEstimationIDResponse ¶
type DeleteScanEstimationsScanEstimationIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Success
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseDeleteScanEstimationsScanEstimationIDResponse ¶
func ParseDeleteScanEstimationsScanEstimationIDResponse(rsp *http.Response) (*DeleteScanEstimationsScanEstimationIDResponse, error)
ParseDeleteScanEstimationsScanEstimationIDResponse parses an HTTP response from a DeleteScanEstimationsScanEstimationIDWithResponse call
func (DeleteScanEstimationsScanEstimationIDResponse) Status ¶
func (r DeleteScanEstimationsScanEstimationIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteScanEstimationsScanEstimationIDResponse) StatusCode ¶
func (r DeleteScanEstimationsScanEstimationIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteScansScanIDResponse ¶
type DeleteScansScanIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Success
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseDeleteScansScanIDResponse ¶
func ParseDeleteScansScanIDResponse(rsp *http.Response) (*DeleteScansScanIDResponse, error)
ParseDeleteScansScanIDResponse parses an HTTP response from a DeleteScansScanIDWithResponse call
func (DeleteScansScanIDResponse) Status ¶
func (r DeleteScansScanIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteScansScanIDResponse) StatusCode ¶
func (r DeleteScansScanIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAssetFindingsAssetFindingIDResponse ¶ added in v0.7.2
type GetAssetFindingsAssetFindingIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AssetFinding
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseGetAssetFindingsAssetFindingIDResponse ¶ added in v0.7.2
func ParseGetAssetFindingsAssetFindingIDResponse(rsp *http.Response) (*GetAssetFindingsAssetFindingIDResponse, error)
ParseGetAssetFindingsAssetFindingIDResponse parses an HTTP response from a GetAssetFindingsAssetFindingIDWithResponse call
func (GetAssetFindingsAssetFindingIDResponse) Status ¶ added in v0.7.2
func (r GetAssetFindingsAssetFindingIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssetFindingsAssetFindingIDResponse) StatusCode ¶ added in v0.7.2
func (r GetAssetFindingsAssetFindingIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAssetFindingsResponse ¶ added in v0.7.2
type GetAssetFindingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AssetFindings
JSONDefault *UnknownError
}
func ParseGetAssetFindingsResponse ¶ added in v0.7.2
func ParseGetAssetFindingsResponse(rsp *http.Response) (*GetAssetFindingsResponse, error)
ParseGetAssetFindingsResponse parses an HTTP response from a GetAssetFindingsWithResponse call
func (GetAssetFindingsResponse) Status ¶ added in v0.7.2
func (r GetAssetFindingsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssetFindingsResponse) StatusCode ¶ added in v0.7.2
func (r GetAssetFindingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAssetScanEstimationsAssetScanEstimationIDResponse ¶
type GetAssetScanEstimationsAssetScanEstimationIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AssetScanEstimation
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseGetAssetScanEstimationsAssetScanEstimationIDResponse ¶
func ParseGetAssetScanEstimationsAssetScanEstimationIDResponse(rsp *http.Response) (*GetAssetScanEstimationsAssetScanEstimationIDResponse, error)
ParseGetAssetScanEstimationsAssetScanEstimationIDResponse parses an HTTP response from a GetAssetScanEstimationsAssetScanEstimationIDWithResponse call
func (GetAssetScanEstimationsAssetScanEstimationIDResponse) Status ¶
func (r GetAssetScanEstimationsAssetScanEstimationIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssetScanEstimationsAssetScanEstimationIDResponse) StatusCode ¶
func (r GetAssetScanEstimationsAssetScanEstimationIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAssetScanEstimationsResponse ¶
type GetAssetScanEstimationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AssetScanEstimations
JSONDefault *UnknownError
}
func ParseGetAssetScanEstimationsResponse ¶
func ParseGetAssetScanEstimationsResponse(rsp *http.Response) (*GetAssetScanEstimationsResponse, error)
ParseGetAssetScanEstimationsResponse parses an HTTP response from a GetAssetScanEstimationsWithResponse call
func (GetAssetScanEstimationsResponse) Status ¶
func (r GetAssetScanEstimationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssetScanEstimationsResponse) StatusCode ¶
func (r GetAssetScanEstimationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAssetScansAssetScanIDResponse ¶
type GetAssetScansAssetScanIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AssetScan
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseGetAssetScansAssetScanIDResponse ¶
func ParseGetAssetScansAssetScanIDResponse(rsp *http.Response) (*GetAssetScansAssetScanIDResponse, error)
ParseGetAssetScansAssetScanIDResponse parses an HTTP response from a GetAssetScansAssetScanIDWithResponse call
func (GetAssetScansAssetScanIDResponse) Status ¶
func (r GetAssetScansAssetScanIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssetScansAssetScanIDResponse) StatusCode ¶
func (r GetAssetScansAssetScanIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAssetScansResponse ¶
type GetAssetScansResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AssetScans
JSONDefault *UnknownError
}
func ParseGetAssetScansResponse ¶
func ParseGetAssetScansResponse(rsp *http.Response) (*GetAssetScansResponse, error)
ParseGetAssetScansResponse parses an HTTP response from a GetAssetScansWithResponse call
func (GetAssetScansResponse) Status ¶
func (r GetAssetScansResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssetScansResponse) StatusCode ¶
func (r GetAssetScansResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAssetsAssetIDResponse ¶
type GetAssetsAssetIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Asset
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseGetAssetsAssetIDResponse ¶
func ParseGetAssetsAssetIDResponse(rsp *http.Response) (*GetAssetsAssetIDResponse, error)
ParseGetAssetsAssetIDResponse parses an HTTP response from a GetAssetsAssetIDWithResponse call
func (GetAssetsAssetIDResponse) Status ¶
func (r GetAssetsAssetIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssetsAssetIDResponse) StatusCode ¶
func (r GetAssetsAssetIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAssetsResponse ¶
type GetAssetsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Assets
JSONDefault *UnknownError
}
func ParseGetAssetsResponse ¶
func ParseGetAssetsResponse(rsp *http.Response) (*GetAssetsResponse, error)
ParseGetAssetsResponse parses an HTTP response from a GetAssetsWithResponse call
func (GetAssetsResponse) Status ¶
func (r GetAssetsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssetsResponse) StatusCode ¶
func (r GetAssetsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFindingsFindingIDResponse ¶
type GetFindingsFindingIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Finding
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseGetFindingsFindingIDResponse ¶
func ParseGetFindingsFindingIDResponse(rsp *http.Response) (*GetFindingsFindingIDResponse, error)
ParseGetFindingsFindingIDResponse parses an HTTP response from a GetFindingsFindingIDWithResponse call
func (GetFindingsFindingIDResponse) Status ¶
func (r GetFindingsFindingIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetFindingsFindingIDResponse) StatusCode ¶
func (r GetFindingsFindingIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFindingsResponse ¶
type GetFindingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Findings
JSONDefault *UnknownError
}
func ParseGetFindingsResponse ¶
func ParseGetFindingsResponse(rsp *http.Response) (*GetFindingsResponse, error)
ParseGetFindingsResponse parses an HTTP response from a GetFindingsWithResponse call
func (GetFindingsResponse) Status ¶
func (r GetFindingsResponse) Status() string
Status returns HTTPResponse.Status
func (GetFindingsResponse) StatusCode ¶
func (r GetFindingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOpenAPISpecResponse ¶
type GetOpenAPISpecResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *json.RawMessage
JSONDefault *UnknownError
}
func ParseGetOpenAPISpecResponse ¶
func ParseGetOpenAPISpecResponse(rsp *http.Response) (*GetOpenAPISpecResponse, error)
ParseGetOpenAPISpecResponse parses an HTTP response from a GetOpenAPISpecWithResponse call
func (GetOpenAPISpecResponse) Status ¶
func (r GetOpenAPISpecResponse) Status() string
Status returns HTTPResponse.Status
func (GetOpenAPISpecResponse) StatusCode ¶
func (r GetOpenAPISpecResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProvidersProviderIDResponse ¶
type GetProvidersProviderIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Provider
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseGetProvidersProviderIDResponse ¶
func ParseGetProvidersProviderIDResponse(rsp *http.Response) (*GetProvidersProviderIDResponse, error)
ParseGetProvidersProviderIDResponse parses an HTTP response from a GetProvidersProviderIDWithResponse call
func (GetProvidersProviderIDResponse) Status ¶
func (r GetProvidersProviderIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetProvidersProviderIDResponse) StatusCode ¶
func (r GetProvidersProviderIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProvidersResponse ¶
type GetProvidersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Providers
JSONDefault *UnknownError
}
func ParseGetProvidersResponse ¶
func ParseGetProvidersResponse(rsp *http.Response) (*GetProvidersResponse, error)
ParseGetProvidersResponse parses an HTTP response from a GetProvidersWithResponse call
func (GetProvidersResponse) Status ¶
func (r GetProvidersResponse) Status() string
Status returns HTTPResponse.Status
func (GetProvidersResponse) StatusCode ¶
func (r GetProvidersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetScanConfigsResponse ¶
type GetScanConfigsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScanConfigs
JSONDefault *UnknownError
}
func ParseGetScanConfigsResponse ¶
func ParseGetScanConfigsResponse(rsp *http.Response) (*GetScanConfigsResponse, error)
ParseGetScanConfigsResponse parses an HTTP response from a GetScanConfigsWithResponse call
func (GetScanConfigsResponse) Status ¶
func (r GetScanConfigsResponse) Status() string
Status returns HTTPResponse.Status
func (GetScanConfigsResponse) StatusCode ¶
func (r GetScanConfigsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetScanConfigsScanConfigIDResponse ¶
type GetScanConfigsScanConfigIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScanConfig
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseGetScanConfigsScanConfigIDResponse ¶
func ParseGetScanConfigsScanConfigIDResponse(rsp *http.Response) (*GetScanConfigsScanConfigIDResponse, error)
ParseGetScanConfigsScanConfigIDResponse parses an HTTP response from a GetScanConfigsScanConfigIDWithResponse call
func (GetScanConfigsScanConfigIDResponse) Status ¶
func (r GetScanConfigsScanConfigIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetScanConfigsScanConfigIDResponse) StatusCode ¶
func (r GetScanConfigsScanConfigIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetScanEstimationsResponse ¶
type GetScanEstimationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScanEstimations
JSONDefault *UnknownError
}
func ParseGetScanEstimationsResponse ¶
func ParseGetScanEstimationsResponse(rsp *http.Response) (*GetScanEstimationsResponse, error)
ParseGetScanEstimationsResponse parses an HTTP response from a GetScanEstimationsWithResponse call
func (GetScanEstimationsResponse) Status ¶
func (r GetScanEstimationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetScanEstimationsResponse) StatusCode ¶
func (r GetScanEstimationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetScanEstimationsScanEstimationIDResponse ¶
type GetScanEstimationsScanEstimationIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScanEstimation
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseGetScanEstimationsScanEstimationIDResponse ¶
func ParseGetScanEstimationsScanEstimationIDResponse(rsp *http.Response) (*GetScanEstimationsScanEstimationIDResponse, error)
ParseGetScanEstimationsScanEstimationIDResponse parses an HTTP response from a GetScanEstimationsScanEstimationIDWithResponse call
func (GetScanEstimationsScanEstimationIDResponse) Status ¶
func (r GetScanEstimationsScanEstimationIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetScanEstimationsScanEstimationIDResponse) StatusCode ¶
func (r GetScanEstimationsScanEstimationIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetScansResponse ¶
type GetScansResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Scans
JSONDefault *UnknownError
}
func ParseGetScansResponse ¶
func ParseGetScansResponse(rsp *http.Response) (*GetScansResponse, error)
ParseGetScansResponse parses an HTTP response from a GetScansWithResponse call
func (GetScansResponse) Status ¶
func (r GetScansResponse) Status() string
Status returns HTTPResponse.Status
func (GetScansResponse) StatusCode ¶
func (r GetScansResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetScansScanIDResponse ¶
type GetScansScanIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Scan
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParseGetScansScanIDResponse ¶
func ParseGetScansScanIDResponse(rsp *http.Response) (*GetScansScanIDResponse, error)
ParseGetScansScanIDResponse parses an HTTP response from a GetScansScanIDWithResponse call
func (GetScansScanIDResponse) Status ¶
func (r GetScansScanIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetScansScanIDResponse) StatusCode ¶
func (r GetScansScanIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type PatchAssetFindingsAssetFindingIDResponse ¶ added in v0.7.2
type PatchAssetFindingsAssetFindingIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AssetFinding
JSON400 *ApiResponse
JSON404 *ApiResponse
JSON409 *AssetFindingExists
JSONDefault *UnknownError
}
func ParsePatchAssetFindingsAssetFindingIDResponse ¶ added in v0.7.2
func ParsePatchAssetFindingsAssetFindingIDResponse(rsp *http.Response) (*PatchAssetFindingsAssetFindingIDResponse, error)
ParsePatchAssetFindingsAssetFindingIDResponse parses an HTTP response from a PatchAssetFindingsAssetFindingIDWithResponse call
func (PatchAssetFindingsAssetFindingIDResponse) Status ¶ added in v0.7.2
func (r PatchAssetFindingsAssetFindingIDResponse) Status() string
Status returns HTTPResponse.Status
func (PatchAssetFindingsAssetFindingIDResponse) StatusCode ¶ added in v0.7.2
func (r PatchAssetFindingsAssetFindingIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchAssetScanEstimationsAssetScanEstimationIDResponse ¶
type PatchAssetScanEstimationsAssetScanEstimationIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AssetScanEstimation
JSON400 *ApiResponse
JSON404 *ApiResponse
JSON409 *AssetScanEstimationExists
JSON412 *ApiResponse
JSONDefault *UnknownError
}
func ParsePatchAssetScanEstimationsAssetScanEstimationIDResponse ¶
func ParsePatchAssetScanEstimationsAssetScanEstimationIDResponse(rsp *http.Response) (*PatchAssetScanEstimationsAssetScanEstimationIDResponse, error)
ParsePatchAssetScanEstimationsAssetScanEstimationIDResponse parses an HTTP response from a PatchAssetScanEstimationsAssetScanEstimationIDWithResponse call
func (PatchAssetScanEstimationsAssetScanEstimationIDResponse) Status ¶
func (r PatchAssetScanEstimationsAssetScanEstimationIDResponse) Status() string
Status returns HTTPResponse.Status
func (PatchAssetScanEstimationsAssetScanEstimationIDResponse) StatusCode ¶
func (r PatchAssetScanEstimationsAssetScanEstimationIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchAssetScansAssetScanIDResponse ¶
type PatchAssetScansAssetScanIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AssetScan
JSON400 *ApiResponse
JSON404 *ApiResponse
JSON409 *AssetScanExists
JSON412 *ApiResponse
JSONDefault *UnknownError
}
func ParsePatchAssetScansAssetScanIDResponse ¶
func ParsePatchAssetScansAssetScanIDResponse(rsp *http.Response) (*PatchAssetScansAssetScanIDResponse, error)
ParsePatchAssetScansAssetScanIDResponse parses an HTTP response from a PatchAssetScansAssetScanIDWithResponse call
func (PatchAssetScansAssetScanIDResponse) Status ¶
func (r PatchAssetScansAssetScanIDResponse) Status() string
Status returns HTTPResponse.Status
func (PatchAssetScansAssetScanIDResponse) StatusCode ¶
func (r PatchAssetScansAssetScanIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchAssetsAssetIDResponse ¶
type PatchAssetsAssetIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Asset
JSON404 *ApiResponse
JSON409 *AssetExists
JSON412 *ApiResponse
JSONDefault *UnknownError
}
func ParsePatchAssetsAssetIDResponse ¶
func ParsePatchAssetsAssetIDResponse(rsp *http.Response) (*PatchAssetsAssetIDResponse, error)
ParsePatchAssetsAssetIDResponse parses an HTTP response from a PatchAssetsAssetIDWithResponse call
func (PatchAssetsAssetIDResponse) Status ¶
func (r PatchAssetsAssetIDResponse) Status() string
Status returns HTTPResponse.Status
func (PatchAssetsAssetIDResponse) StatusCode ¶
func (r PatchAssetsAssetIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchFindingsFindingIDResponse ¶
type PatchFindingsFindingIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Finding
JSON400 *ApiResponse
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParsePatchFindingsFindingIDResponse ¶
func ParsePatchFindingsFindingIDResponse(rsp *http.Response) (*PatchFindingsFindingIDResponse, error)
ParsePatchFindingsFindingIDResponse parses an HTTP response from a PatchFindingsFindingIDWithResponse call
func (PatchFindingsFindingIDResponse) Status ¶
func (r PatchFindingsFindingIDResponse) Status() string
Status returns HTTPResponse.Status
func (PatchFindingsFindingIDResponse) StatusCode ¶
func (r PatchFindingsFindingIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchProvidersProviderIDResponse ¶
type PatchProvidersProviderIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Provider
JSON400 *ApiResponse
JSON404 *ApiResponse
JSON409 *ProviderExists
JSON412 *ApiResponse
JSONDefault *UnknownError
}
func ParsePatchProvidersProviderIDResponse ¶
func ParsePatchProvidersProviderIDResponse(rsp *http.Response) (*PatchProvidersProviderIDResponse, error)
ParsePatchProvidersProviderIDResponse parses an HTTP response from a PatchProvidersProviderIDWithResponse call
func (PatchProvidersProviderIDResponse) Status ¶
func (r PatchProvidersProviderIDResponse) Status() string
Status returns HTTPResponse.Status
func (PatchProvidersProviderIDResponse) StatusCode ¶
func (r PatchProvidersProviderIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchScanConfigsScanConfigIDResponse ¶
type PatchScanConfigsScanConfigIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScanConfig
JSON400 *ApiResponse
JSON404 *ApiResponse
JSON409 *ScanConfigExists
JSON412 *ApiResponse
JSONDefault *UnknownError
}
func ParsePatchScanConfigsScanConfigIDResponse ¶
func ParsePatchScanConfigsScanConfigIDResponse(rsp *http.Response) (*PatchScanConfigsScanConfigIDResponse, error)
ParsePatchScanConfigsScanConfigIDResponse parses an HTTP response from a PatchScanConfigsScanConfigIDWithResponse call
func (PatchScanConfigsScanConfigIDResponse) Status ¶
func (r PatchScanConfigsScanConfigIDResponse) Status() string
Status returns HTTPResponse.Status
func (PatchScanConfigsScanConfigIDResponse) StatusCode ¶
func (r PatchScanConfigsScanConfigIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchScanEstimationsScanEstimationIDResponse ¶
type PatchScanEstimationsScanEstimationIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScanEstimation
JSON400 *ApiResponse
JSON404 *ApiResponse
JSON412 *ApiResponse
JSONDefault *UnknownError
}
func ParsePatchScanEstimationsScanEstimationIDResponse ¶
func ParsePatchScanEstimationsScanEstimationIDResponse(rsp *http.Response) (*PatchScanEstimationsScanEstimationIDResponse, error)
ParsePatchScanEstimationsScanEstimationIDResponse parses an HTTP response from a PatchScanEstimationsScanEstimationIDWithResponse call
func (PatchScanEstimationsScanEstimationIDResponse) Status ¶
func (r PatchScanEstimationsScanEstimationIDResponse) Status() string
Status returns HTTPResponse.Status
func (PatchScanEstimationsScanEstimationIDResponse) StatusCode ¶
func (r PatchScanEstimationsScanEstimationIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchScansScanIDResponse ¶
type PatchScansScanIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Scan
JSON400 *ApiResponse
JSON404 *ApiResponse
JSON409 *ScanExists
JSON412 *ApiResponse
JSONDefault *UnknownError
}
func ParsePatchScansScanIDResponse ¶
func ParsePatchScansScanIDResponse(rsp *http.Response) (*PatchScansScanIDResponse, error)
ParsePatchScansScanIDResponse parses an HTTP response from a PatchScansScanIDWithResponse call
func (PatchScansScanIDResponse) Status ¶
func (r PatchScansScanIDResponse) Status() string
Status returns HTTPResponse.Status
func (PatchScansScanIDResponse) StatusCode ¶
func (r PatchScansScanIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAssetFindingsResponse ¶ added in v0.7.2
type PostAssetFindingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *AssetFinding
JSON400 *ApiResponse
JSON409 *AssetFindingExists
JSONDefault *UnknownError
}
func ParsePostAssetFindingsResponse ¶ added in v0.7.2
func ParsePostAssetFindingsResponse(rsp *http.Response) (*PostAssetFindingsResponse, error)
ParsePostAssetFindingsResponse parses an HTTP response from a PostAssetFindingsWithResponse call
func (PostAssetFindingsResponse) Status ¶ added in v0.7.2
func (r PostAssetFindingsResponse) Status() string
Status returns HTTPResponse.Status
func (PostAssetFindingsResponse) StatusCode ¶ added in v0.7.2
func (r PostAssetFindingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAssetScanEstimationsResponse ¶
type PostAssetScanEstimationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *AssetScanEstimation
JSON400 *ApiResponse
JSON409 *AssetScanEstimationExists
JSONDefault *UnknownError
}
func ParsePostAssetScanEstimationsResponse ¶
func ParsePostAssetScanEstimationsResponse(rsp *http.Response) (*PostAssetScanEstimationsResponse, error)
ParsePostAssetScanEstimationsResponse parses an HTTP response from a PostAssetScanEstimationsWithResponse call
func (PostAssetScanEstimationsResponse) Status ¶
func (r PostAssetScanEstimationsResponse) Status() string
Status returns HTTPResponse.Status
func (PostAssetScanEstimationsResponse) StatusCode ¶
func (r PostAssetScanEstimationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAssetScansResponse ¶
type PostAssetScansResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *AssetScan
JSON400 *ApiResponse
JSON409 *AssetScanExists
JSONDefault *UnknownError
}
func ParsePostAssetScansResponse ¶
func ParsePostAssetScansResponse(rsp *http.Response) (*PostAssetScansResponse, error)
ParsePostAssetScansResponse parses an HTTP response from a PostAssetScansWithResponse call
func (PostAssetScansResponse) Status ¶
func (r PostAssetScansResponse) Status() string
Status returns HTTPResponse.Status
func (PostAssetScansResponse) StatusCode ¶
func (r PostAssetScansResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAssetsResponse ¶
type PostAssetsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *Asset
JSON400 *ApiResponse
JSON409 *AssetExists
JSONDefault *UnknownError
}
func ParsePostAssetsResponse ¶
func ParsePostAssetsResponse(rsp *http.Response) (*PostAssetsResponse, error)
ParsePostAssetsResponse parses an HTTP response from a PostAssetsWithResponse call
func (PostAssetsResponse) Status ¶
func (r PostAssetsResponse) Status() string
Status returns HTTPResponse.Status
func (PostAssetsResponse) StatusCode ¶
func (r PostAssetsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostFindingsResponse ¶
type PostFindingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *Finding
JSON400 *ApiResponse
JSON409 *FindingExists
JSONDefault *UnknownError
}
func ParsePostFindingsResponse ¶
func ParsePostFindingsResponse(rsp *http.Response) (*PostFindingsResponse, error)
ParsePostFindingsResponse parses an HTTP response from a PostFindingsWithResponse call
func (PostFindingsResponse) Status ¶
func (r PostFindingsResponse) Status() string
Status returns HTTPResponse.Status
func (PostFindingsResponse) StatusCode ¶
func (r PostFindingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostProvidersResponse ¶
type PostProvidersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *Provider
JSON400 *ApiResponse
JSON409 *ProviderExists
JSONDefault *UnknownError
}
func ParsePostProvidersResponse ¶
func ParsePostProvidersResponse(rsp *http.Response) (*PostProvidersResponse, error)
ParsePostProvidersResponse parses an HTTP response from a PostProvidersWithResponse call
func (PostProvidersResponse) Status ¶
func (r PostProvidersResponse) Status() string
Status returns HTTPResponse.Status
func (PostProvidersResponse) StatusCode ¶
func (r PostProvidersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostScanConfigsResponse ¶
type PostScanConfigsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ScanConfig
JSON400 *ApiResponse
JSON409 *ScanConfigExists
JSONDefault *UnknownError
}
func ParsePostScanConfigsResponse ¶
func ParsePostScanConfigsResponse(rsp *http.Response) (*PostScanConfigsResponse, error)
ParsePostScanConfigsResponse parses an HTTP response from a PostScanConfigsWithResponse call
func (PostScanConfigsResponse) Status ¶
func (r PostScanConfigsResponse) Status() string
Status returns HTTPResponse.Status
func (PostScanConfigsResponse) StatusCode ¶
func (r PostScanConfigsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostScanEstimationsResponse ¶
type PostScanEstimationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ScanEstimation
JSON400 *ApiResponse
JSONDefault *UnknownError
}
func ParsePostScanEstimationsResponse ¶
func ParsePostScanEstimationsResponse(rsp *http.Response) (*PostScanEstimationsResponse, error)
ParsePostScanEstimationsResponse parses an HTTP response from a PostScanEstimationsWithResponse call
func (PostScanEstimationsResponse) Status ¶
func (r PostScanEstimationsResponse) Status() string
Status returns HTTPResponse.Status
func (PostScanEstimationsResponse) StatusCode ¶
func (r PostScanEstimationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostScansResponse ¶
type PostScansResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *Scan
JSON400 *ApiResponse
JSON409 *ScanExists
JSONDefault *UnknownError
}
func ParsePostScansResponse ¶
func ParsePostScansResponse(rsp *http.Response) (*PostScansResponse, error)
ParsePostScansResponse parses an HTTP response from a PostScansWithResponse call
func (PostScansResponse) Status ¶
func (r PostScansResponse) Status() string
Status returns HTTPResponse.Status
func (PostScansResponse) StatusCode ¶
func (r PostScansResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutAssetFindingsAssetFindingIDResponse ¶ added in v0.7.2
type PutAssetFindingsAssetFindingIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AssetFinding
JSON400 *ApiResponse
JSON404 *ApiResponse
JSON409 *AssetFindingExists
JSONDefault *UnknownError
}
func ParsePutAssetFindingsAssetFindingIDResponse ¶ added in v0.7.2
func ParsePutAssetFindingsAssetFindingIDResponse(rsp *http.Response) (*PutAssetFindingsAssetFindingIDResponse, error)
ParsePutAssetFindingsAssetFindingIDResponse parses an HTTP response from a PutAssetFindingsAssetFindingIDWithResponse call
func (PutAssetFindingsAssetFindingIDResponse) Status ¶ added in v0.7.2
func (r PutAssetFindingsAssetFindingIDResponse) Status() string
Status returns HTTPResponse.Status
func (PutAssetFindingsAssetFindingIDResponse) StatusCode ¶ added in v0.7.2
func (r PutAssetFindingsAssetFindingIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutAssetScanEstimationsAssetScanEstimationIDResponse ¶
type PutAssetScanEstimationsAssetScanEstimationIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AssetScanEstimation
JSON400 *ApiResponse
JSON404 *ApiResponse
JSON409 *AssetScanEstimationExists
JSON412 *ApiResponse
JSONDefault *UnknownError
}
func ParsePutAssetScanEstimationsAssetScanEstimationIDResponse ¶
func ParsePutAssetScanEstimationsAssetScanEstimationIDResponse(rsp *http.Response) (*PutAssetScanEstimationsAssetScanEstimationIDResponse, error)
ParsePutAssetScanEstimationsAssetScanEstimationIDResponse parses an HTTP response from a PutAssetScanEstimationsAssetScanEstimationIDWithResponse call
func (PutAssetScanEstimationsAssetScanEstimationIDResponse) Status ¶
func (r PutAssetScanEstimationsAssetScanEstimationIDResponse) Status() string
Status returns HTTPResponse.Status
func (PutAssetScanEstimationsAssetScanEstimationIDResponse) StatusCode ¶
func (r PutAssetScanEstimationsAssetScanEstimationIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutAssetScansAssetScanIDResponse ¶
type PutAssetScansAssetScanIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AssetScan
JSON400 *ApiResponse
JSON404 *ApiResponse
JSON409 *AssetScanExists
JSON412 *ApiResponse
JSONDefault *UnknownError
}
func ParsePutAssetScansAssetScanIDResponse ¶
func ParsePutAssetScansAssetScanIDResponse(rsp *http.Response) (*PutAssetScansAssetScanIDResponse, error)
ParsePutAssetScansAssetScanIDResponse parses an HTTP response from a PutAssetScansAssetScanIDWithResponse call
func (PutAssetScansAssetScanIDResponse) Status ¶
func (r PutAssetScansAssetScanIDResponse) Status() string
Status returns HTTPResponse.Status
func (PutAssetScansAssetScanIDResponse) StatusCode ¶
func (r PutAssetScansAssetScanIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutAssetsAssetIDResponse ¶
type PutAssetsAssetIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Asset
JSON400 *ApiResponse
JSON404 *ApiResponse
JSON409 *AssetExists
JSON412 *ApiResponse
JSONDefault *UnknownError
}
func ParsePutAssetsAssetIDResponse ¶
func ParsePutAssetsAssetIDResponse(rsp *http.Response) (*PutAssetsAssetIDResponse, error)
ParsePutAssetsAssetIDResponse parses an HTTP response from a PutAssetsAssetIDWithResponse call
func (PutAssetsAssetIDResponse) Status ¶
func (r PutAssetsAssetIDResponse) Status() string
Status returns HTTPResponse.Status
func (PutAssetsAssetIDResponse) StatusCode ¶
func (r PutAssetsAssetIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutFindingsFindingIDResponse ¶
type PutFindingsFindingIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Finding
JSON400 *ApiResponse
JSON404 *ApiResponse
JSONDefault *UnknownError
}
func ParsePutFindingsFindingIDResponse ¶
func ParsePutFindingsFindingIDResponse(rsp *http.Response) (*PutFindingsFindingIDResponse, error)
ParsePutFindingsFindingIDResponse parses an HTTP response from a PutFindingsFindingIDWithResponse call
func (PutFindingsFindingIDResponse) Status ¶
func (r PutFindingsFindingIDResponse) Status() string
Status returns HTTPResponse.Status
func (PutFindingsFindingIDResponse) StatusCode ¶
func (r PutFindingsFindingIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutProvidersProviderIDResponse ¶
type PutProvidersProviderIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Provider
JSON400 *ApiResponse
JSON404 *ApiResponse
JSON409 *ProviderExists
JSON412 *ApiResponse
JSONDefault *UnknownError
}
func ParsePutProvidersProviderIDResponse ¶
func ParsePutProvidersProviderIDResponse(rsp *http.Response) (*PutProvidersProviderIDResponse, error)
ParsePutProvidersProviderIDResponse parses an HTTP response from a PutProvidersProviderIDWithResponse call
func (PutProvidersProviderIDResponse) Status ¶
func (r PutProvidersProviderIDResponse) Status() string
Status returns HTTPResponse.Status
func (PutProvidersProviderIDResponse) StatusCode ¶
func (r PutProvidersProviderIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutScanConfigsScanConfigIDResponse ¶
type PutScanConfigsScanConfigIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScanConfig
JSON400 *ApiResponse
JSON404 *ApiResponse
JSON409 *ScanConfigExists
JSON412 *ApiResponse
JSONDefault *UnknownError
}
func ParsePutScanConfigsScanConfigIDResponse ¶
func ParsePutScanConfigsScanConfigIDResponse(rsp *http.Response) (*PutScanConfigsScanConfigIDResponse, error)
ParsePutScanConfigsScanConfigIDResponse parses an HTTP response from a PutScanConfigsScanConfigIDWithResponse call
func (PutScanConfigsScanConfigIDResponse) Status ¶
func (r PutScanConfigsScanConfigIDResponse) Status() string
Status returns HTTPResponse.Status
func (PutScanConfigsScanConfigIDResponse) StatusCode ¶
func (r PutScanConfigsScanConfigIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutScanEstimationsScanEstimationIDResponse ¶
type PutScanEstimationsScanEstimationIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScanEstimation
JSON400 *ApiResponse
JSON404 *ApiResponse
JSON412 *ApiResponse
JSONDefault *UnknownError
}
func ParsePutScanEstimationsScanEstimationIDResponse ¶
func ParsePutScanEstimationsScanEstimationIDResponse(rsp *http.Response) (*PutScanEstimationsScanEstimationIDResponse, error)
ParsePutScanEstimationsScanEstimationIDResponse parses an HTTP response from a PutScanEstimationsScanEstimationIDWithResponse call
func (PutScanEstimationsScanEstimationIDResponse) Status ¶
func (r PutScanEstimationsScanEstimationIDResponse) Status() string
Status returns HTTPResponse.Status
func (PutScanEstimationsScanEstimationIDResponse) StatusCode ¶
func (r PutScanEstimationsScanEstimationIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutScansScanIDResponse ¶
type PutScansScanIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Scan
JSON400 *ApiResponse
JSON404 *ApiResponse
JSON409 *ScanExists
JSON412 *ApiResponse
JSONDefault *UnknownError
}
func ParsePutScansScanIDResponse ¶
func ParsePutScansScanIDResponse(rsp *http.Response) (*PutScansScanIDResponse, error)
ParsePutScansScanIDResponse parses an HTTP response from a PutScansScanIDWithResponse call
func (PutScansScanIDResponse) Status ¶
func (r PutScansScanIDResponse) Status() string
Status returns HTTPResponse.Status
func (PutScansScanIDResponse) StatusCode ¶
func (r PutScansScanIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode