v20240216

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package v20240216 provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.16.3 DO NOT EDIT.

Index

Constants

View Source
const (
	BearerAuthScopes = "bearerAuth.Scopes"
)

Variables

This section is empty.

Functions

func NewCreateFindingsUrlRequestWithApplicationVndAPIPlusJSONBody added in v1.7.0

func NewCreateFindingsUrlRequestWithApplicationVndAPIPlusJSONBody(server string, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *CreateFindingsUrlParams, body CreateFindingsUrlApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewCreateFindingsUrlRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateFindingsUrl builder with application/vnd.api+json body

func NewCreateFindingsUrlRequestWithBody added in v1.7.0

func NewCreateFindingsUrlRequestWithBody(server string, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *CreateFindingsUrlParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateFindingsUrlRequestWithBody generates requests for CreateFindingsUrl with any type of body

func NewCreateScanWorkspaceJobForUserRequestWithApplicationVndAPIPlusJSONBody

func NewCreateScanWorkspaceJobForUserRequestWithApplicationVndAPIPlusJSONBody(server string, orgId externalRef1.OrgId, params *CreateScanWorkspaceJobForUserParams, body CreateScanWorkspaceJobForUserApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewCreateScanWorkspaceJobForUserRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateScanWorkspaceJobForUser builder with application/vnd.api+json body

func NewCreateScanWorkspaceJobForUserRequestWithBody

func NewCreateScanWorkspaceJobForUserRequestWithBody(server string, orgId externalRef1.OrgId, params *CreateScanWorkspaceJobForUserParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateScanWorkspaceJobForUserRequestWithBody generates requests for CreateScanWorkspaceJobForUser with any type of body

func NewCreateScanWorkspaceJobInternalRequestWithApplicationVndAPIPlusJSONBody

func NewCreateScanWorkspaceJobInternalRequestWithApplicationVndAPIPlusJSONBody(server string, orgId externalRef1.OrgId, params *CreateScanWorkspaceJobInternalParams, body CreateScanWorkspaceJobInternalApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewCreateScanWorkspaceJobInternalRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateScanWorkspaceJobInternal builder with application/vnd.api+json body

func NewCreateScanWorkspaceJobInternalRequestWithBody

func NewCreateScanWorkspaceJobInternalRequestWithBody(server string, orgId externalRef1.OrgId, params *CreateScanWorkspaceJobInternalParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateScanWorkspaceJobInternalRequestWithBody generates requests for CreateScanWorkspaceJobInternal with any type of body

func NewGetScanWorkspaceJobForUserRequest

func NewGetScanWorkspaceJobForUserRequest(server string, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *GetScanWorkspaceJobForUserParams) (*http.Request, error)

NewGetScanWorkspaceJobForUserRequest generates requests for GetScanWorkspaceJobForUser

func NewGetScanWorkspaceJobInternalRequest

func NewGetScanWorkspaceJobInternalRequest(server string, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *GetScanWorkspaceJobInternalParams) (*http.Request, error)

NewGetScanWorkspaceJobInternalRequest generates requests for GetScanWorkspaceJobInternal

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) CreateFindingsUrlWithApplicationVndAPIPlusJSONBody added in v1.7.0

func (c *Client) CreateFindingsUrlWithApplicationVndAPIPlusJSONBody(ctx context.Context, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *CreateFindingsUrlParams, body CreateFindingsUrlApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateFindingsUrlWithBody added in v1.7.0

func (c *Client) CreateFindingsUrlWithBody(ctx context.Context, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *CreateFindingsUrlParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateScanWorkspaceJobForUserWithBody

func (c *Client) CreateScanWorkspaceJobForUserWithBody(ctx context.Context, orgId externalRef1.OrgId, params *CreateScanWorkspaceJobForUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateScanWorkspaceJobInternalWithBody

func (c *Client) CreateScanWorkspaceJobInternalWithBody(ctx context.Context, orgId externalRef1.OrgId, params *CreateScanWorkspaceJobInternalParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetScanWorkspaceJobForUser

func (c *Client) GetScanWorkspaceJobForUser(ctx context.Context, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *GetScanWorkspaceJobForUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetScanWorkspaceJobInternal

func (c *Client) GetScanWorkspaceJobInternal(ctx context.Context, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *GetScanWorkspaceJobInternalParams, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// CreateScanWorkspaceJobInternalWithBody request with any body
	CreateScanWorkspaceJobInternalWithBody(ctx context.Context, orgId externalRef1.OrgId, params *CreateScanWorkspaceJobInternalParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateScanWorkspaceJobInternalWithApplicationVndAPIPlusJSONBody(ctx context.Context, orgId externalRef1.OrgId, params *CreateScanWorkspaceJobInternalParams, body CreateScanWorkspaceJobInternalApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetScanWorkspaceJobInternal request
	GetScanWorkspaceJobInternal(ctx context.Context, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *GetScanWorkspaceJobInternalParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateFindingsUrlWithBody request with any body
	CreateFindingsUrlWithBody(ctx context.Context, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *CreateFindingsUrlParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateFindingsUrlWithApplicationVndAPIPlusJSONBody(ctx context.Context, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *CreateFindingsUrlParams, body CreateFindingsUrlApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateScanWorkspaceJobForUserWithBody request with any body
	CreateScanWorkspaceJobForUserWithBody(ctx context.Context, orgId externalRef1.OrgId, params *CreateScanWorkspaceJobForUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateScanWorkspaceJobForUserWithApplicationVndAPIPlusJSONBody(ctx context.Context, orgId externalRef1.OrgId, params *CreateScanWorkspaceJobForUserParams, body CreateScanWorkspaceJobForUserApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetScanWorkspaceJobForUser request
	GetScanWorkspaceJobForUser(ctx context.Context, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *GetScanWorkspaceJobForUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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) CreateFindingsUrlWithApplicationVndAPIPlusJSONBodyWithResponse added in v1.7.0

func (c *ClientWithResponses) CreateFindingsUrlWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *CreateFindingsUrlParams, body CreateFindingsUrlApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFindingsUrlResponse, error)

func (*ClientWithResponses) CreateFindingsUrlWithBodyWithResponse added in v1.7.0

func (c *ClientWithResponses) CreateFindingsUrlWithBodyWithResponse(ctx context.Context, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *CreateFindingsUrlParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFindingsUrlResponse, error)

CreateFindingsUrlWithBodyWithResponse request with arbitrary body returning *CreateFindingsUrlResponse

func (*ClientWithResponses) CreateScanWorkspaceJobForUserWithBodyWithResponse

func (c *ClientWithResponses) CreateScanWorkspaceJobForUserWithBodyWithResponse(ctx context.Context, orgId externalRef1.OrgId, params *CreateScanWorkspaceJobForUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateScanWorkspaceJobForUserResponse, error)

CreateScanWorkspaceJobForUserWithBodyWithResponse request with arbitrary body returning *CreateScanWorkspaceJobForUserResponse

func (*ClientWithResponses) CreateScanWorkspaceJobInternalWithBodyWithResponse

func (c *ClientWithResponses) CreateScanWorkspaceJobInternalWithBodyWithResponse(ctx context.Context, orgId externalRef1.OrgId, params *CreateScanWorkspaceJobInternalParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateScanWorkspaceJobInternalResponse, error)

CreateScanWorkspaceJobInternalWithBodyWithResponse request with arbitrary body returning *CreateScanWorkspaceJobInternalResponse

func (*ClientWithResponses) GetScanWorkspaceJobForUserWithResponse

func (c *ClientWithResponses) GetScanWorkspaceJobForUserWithResponse(ctx context.Context, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *GetScanWorkspaceJobForUserParams, reqEditors ...RequestEditorFn) (*GetScanWorkspaceJobForUserResponse, error)

GetScanWorkspaceJobForUserWithResponse request returning *GetScanWorkspaceJobForUserResponse

func (*ClientWithResponses) GetScanWorkspaceJobInternalWithResponse

func (c *ClientWithResponses) GetScanWorkspaceJobInternalWithResponse(ctx context.Context, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *GetScanWorkspaceJobInternalParams, reqEditors ...RequestEditorFn) (*GetScanWorkspaceJobInternalResponse, error)

GetScanWorkspaceJobInternalWithResponse request returning *GetScanWorkspaceJobInternalResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// CreateScanWorkspaceJobInternalWithBodyWithResponse request with any body
	CreateScanWorkspaceJobInternalWithBodyWithResponse(ctx context.Context, orgId externalRef1.OrgId, params *CreateScanWorkspaceJobInternalParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateScanWorkspaceJobInternalResponse, error)

	CreateScanWorkspaceJobInternalWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, orgId externalRef1.OrgId, params *CreateScanWorkspaceJobInternalParams, body CreateScanWorkspaceJobInternalApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateScanWorkspaceJobInternalResponse, error)

	// GetScanWorkspaceJobInternalWithResponse request
	GetScanWorkspaceJobInternalWithResponse(ctx context.Context, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *GetScanWorkspaceJobInternalParams, reqEditors ...RequestEditorFn) (*GetScanWorkspaceJobInternalResponse, error)

	// CreateFindingsUrlWithBodyWithResponse request with any body
	CreateFindingsUrlWithBodyWithResponse(ctx context.Context, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *CreateFindingsUrlParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFindingsUrlResponse, error)

	CreateFindingsUrlWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *CreateFindingsUrlParams, body CreateFindingsUrlApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFindingsUrlResponse, error)

	// CreateScanWorkspaceJobForUserWithBodyWithResponse request with any body
	CreateScanWorkspaceJobForUserWithBodyWithResponse(ctx context.Context, orgId externalRef1.OrgId, params *CreateScanWorkspaceJobForUserParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateScanWorkspaceJobForUserResponse, error)

	CreateScanWorkspaceJobForUserWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, orgId externalRef1.OrgId, params *CreateScanWorkspaceJobForUserParams, body CreateScanWorkspaceJobForUserApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateScanWorkspaceJobForUserResponse, error)

	// GetScanWorkspaceJobForUserWithResponse request
	GetScanWorkspaceJobForUserWithResponse(ctx context.Context, orgId externalRef1.OrgId, scanjobId externalRef1.ScanJobId, params *GetScanWorkspaceJobForUserParams, reqEditors ...RequestEditorFn) (*GetScanWorkspaceJobForUserResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateFindingsUrlApplicationVndAPIPlusJSONRequestBody added in v1.7.0

type CreateFindingsUrlApplicationVndAPIPlusJSONRequestBody = externalRef2.PostFindingsUrlRequest

CreateFindingsUrlApplicationVndAPIPlusJSONRequestBody defines body for CreateFindingsUrl for application/vnd.api+json ContentType.

type CreateFindingsUrlParams added in v1.7.0

type CreateFindingsUrlParams struct {
	// Version The requested version of the endpoint to process the request
	Version externalRef0.Version `form:"version" json:"version"`
}

CreateFindingsUrlParams defines parameters for CreateFindingsUrl.

type CreateFindingsUrlResponse added in v1.7.0

type CreateFindingsUrlResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON201 *externalRef2.PostFindingsUrlResponse
	ApplicationvndApiJSON400 *externalRef0.N400
	ApplicationvndApiJSON401 *externalRef0.N401
	ApplicationvndApiJSON403 *externalRef0.N403
	ApplicationvndApiJSON404 *externalRef0.N404
	ApplicationvndApiJSON409 *externalRef0.N409
	ApplicationvndApiJSON429 *externalRef0.ErrorDocument
	ApplicationvndApiJSON500 *externalRef0.N500
}

func ParseCreateFindingsUrlResponse added in v1.7.0

func ParseCreateFindingsUrlResponse(rsp *http.Response) (*CreateFindingsUrlResponse, error)

ParseCreateFindingsUrlResponse parses an HTTP response from a CreateFindingsUrlWithResponse call

func (CreateFindingsUrlResponse) Status added in v1.7.0

func (r CreateFindingsUrlResponse) Status() string

Status returns HTTPResponse.Status

func (CreateFindingsUrlResponse) StatusCode added in v1.7.0

func (r CreateFindingsUrlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateScanWorkspaceJobForUserApplicationVndAPIPlusJSONRequestBody

type CreateScanWorkspaceJobForUserApplicationVndAPIPlusJSONRequestBody = externalRef2.PostScanRequest

CreateScanWorkspaceJobForUserApplicationVndAPIPlusJSONRequestBody defines body for CreateScanWorkspaceJobForUser for application/vnd.api+json ContentType.

type CreateScanWorkspaceJobForUserParams

type CreateScanWorkspaceJobForUserParams struct {
	// Version The requested version of the endpoint to process the request
	Version externalRef0.Version `form:"version" json:"version"`
}

CreateScanWorkspaceJobForUserParams defines parameters for CreateScanWorkspaceJobForUser.

type CreateScanWorkspaceJobForUserResponse

type CreateScanWorkspaceJobForUserResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON201 *externalRef2.ScanResponse
	ApplicationvndApiJSON400 *externalRef0.N400
	ApplicationvndApiJSON401 *externalRef0.N401
	ApplicationvndApiJSON403 *externalRef0.N403
	ApplicationvndApiJSON404 *externalRef0.N404
	ApplicationvndApiJSON409 *externalRef0.N409
	ApplicationvndApiJSON429 *externalRef0.ErrorDocument
	ApplicationvndApiJSON500 *externalRef0.N500
}

func ParseCreateScanWorkspaceJobForUserResponse

func ParseCreateScanWorkspaceJobForUserResponse(rsp *http.Response) (*CreateScanWorkspaceJobForUserResponse, error)

ParseCreateScanWorkspaceJobForUserResponse parses an HTTP response from a CreateScanWorkspaceJobForUserWithResponse call

func (CreateScanWorkspaceJobForUserResponse) Status

Status returns HTTPResponse.Status

func (CreateScanWorkspaceJobForUserResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateScanWorkspaceJobInternalApplicationVndAPIPlusJSONRequestBody

type CreateScanWorkspaceJobInternalApplicationVndAPIPlusJSONRequestBody = externalRef2.PostScanRequestWithUser

CreateScanWorkspaceJobInternalApplicationVndAPIPlusJSONRequestBody defines body for CreateScanWorkspaceJobInternal for application/vnd.api+json ContentType.

type CreateScanWorkspaceJobInternalParams

type CreateScanWorkspaceJobInternalParams struct {
	// Version The requested version of the endpoint to process the request
	Version externalRef0.Version `form:"version" json:"version"`
}

CreateScanWorkspaceJobInternalParams defines parameters for CreateScanWorkspaceJobInternal.

type CreateScanWorkspaceJobInternalResponse

type CreateScanWorkspaceJobInternalResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON201 *externalRef2.ScanResponse
	ApplicationvndApiJSON400 *externalRef0.N400
	ApplicationvndApiJSON401 *externalRef0.N401
	ApplicationvndApiJSON403 *externalRef0.N403
	ApplicationvndApiJSON404 *externalRef0.N404
	ApplicationvndApiJSON409 *externalRef0.N409
	ApplicationvndApiJSON429 *externalRef0.ErrorDocument
	ApplicationvndApiJSON500 *externalRef0.N500
}

func ParseCreateScanWorkspaceJobInternalResponse

func ParseCreateScanWorkspaceJobInternalResponse(rsp *http.Response) (*CreateScanWorkspaceJobInternalResponse, error)

ParseCreateScanWorkspaceJobInternalResponse parses an HTTP response from a CreateScanWorkspaceJobInternalWithResponse call

func (CreateScanWorkspaceJobInternalResponse) Status

Status returns HTTPResponse.Status

func (CreateScanWorkspaceJobInternalResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetScanWorkspaceJobForUserParams

type GetScanWorkspaceJobForUserParams struct {
	// Version The requested version of the endpoint to process the request
	Version externalRef0.Version `form:"version" json:"version"`
}

GetScanWorkspaceJobForUserParams defines parameters for GetScanWorkspaceJobForUser.

type GetScanWorkspaceJobForUserResponse

type GetScanWorkspaceJobForUserResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *externalRef2.ScanResultsResponse
	ApplicationvndApiJSON400 *externalRef0.N400
	ApplicationvndApiJSON401 *externalRef0.N401
	ApplicationvndApiJSON403 *externalRef0.N403
	ApplicationvndApiJSON404 *externalRef0.N404
	ApplicationvndApiJSON429 *externalRef0.ErrorDocument
	ApplicationvndApiJSON500 *externalRef0.N500
}

func ParseGetScanWorkspaceJobForUserResponse

func ParseGetScanWorkspaceJobForUserResponse(rsp *http.Response) (*GetScanWorkspaceJobForUserResponse, error)

ParseGetScanWorkspaceJobForUserResponse parses an HTTP response from a GetScanWorkspaceJobForUserWithResponse call

func (GetScanWorkspaceJobForUserResponse) Status

Status returns HTTPResponse.Status

func (GetScanWorkspaceJobForUserResponse) StatusCode

func (r GetScanWorkspaceJobForUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetScanWorkspaceJobInternalParams

type GetScanWorkspaceJobInternalParams struct {
	// Version The requested version of the endpoint to process the request
	Version externalRef0.Version `form:"version" json:"version"`
}

GetScanWorkspaceJobInternalParams defines parameters for GetScanWorkspaceJobInternal.

type GetScanWorkspaceJobInternalResponse

type GetScanWorkspaceJobInternalResponse struct {
	Body                     []byte
	HTTPResponse             *http.Response
	ApplicationvndApiJSON200 *externalRef2.ScanResultsResponse
	ApplicationvndApiJSON400 *externalRef0.N400
	ApplicationvndApiJSON401 *externalRef0.N401
	ApplicationvndApiJSON403 *externalRef0.N403
	ApplicationvndApiJSON404 *externalRef0.N404
	ApplicationvndApiJSON429 *externalRef0.ErrorDocument
	ApplicationvndApiJSON500 *externalRef0.N500
}

func ParseGetScanWorkspaceJobInternalResponse

func ParseGetScanWorkspaceJobInternalResponse(rsp *http.Response) (*GetScanWorkspaceJobInternalResponse, error)

ParseGetScanWorkspaceJobInternalResponse parses an HTTP response from a GetScanWorkspaceJobInternalWithResponse call

func (GetScanWorkspaceJobInternalResponse) Status

Status returns HTTPResponse.Status

func (GetScanWorkspaceJobInternalResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

Directories

Path Synopsis
Package v20240216 provides primitives to interact with the openapi HTTP API.
Package v20240216 provides primitives to interact with the openapi HTTP API.
Package v20240216 provides primitives to interact with the openapi HTTP API.
Package v20240216 provides primitives to interact with the openapi HTTP API.
Package v20240216 provides primitives to interact with the openapi HTTP API.
Package v20240216 provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL