api

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

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

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Index

Constants

View Source
const (
	ApiKeyScopes = "apiKey.Scopes"
)

Variables

This section is empty.

Functions

func NewDeleteV1IntegrationsIdRequest

func NewDeleteV1IntegrationsIdRequest(server string, id string) (*http.Request, error)

NewDeleteV1IntegrationsIdRequest generates requests for DeleteV1IntegrationsId

func NewDeleteV1LocationsIdRequest

func NewDeleteV1LocationsIdRequest(server string, id string) (*http.Request, error)

NewDeleteV1LocationsIdRequest generates requests for DeleteV1LocationsId

func NewGetApplicationIdRequest

func NewGetApplicationIdRequest(server string, id openapi_types.UUID) (*http.Request, error)

NewGetApplicationIdRequest generates requests for GetApplicationId

func NewGetOrganizationIdApplicationsRequest

func NewGetOrganizationIdApplicationsRequest(server string, id openapi_types.UUID) (*http.Request, error)

NewGetOrganizationIdApplicationsRequest generates requests for GetOrganizationIdApplications

func NewGetOrganizationIdApplicationsSearchRequest

func NewGetOrganizationIdApplicationsSearchRequest(server string, id openapi_types.UUID, params *GetOrganizationIdApplicationsSearchParams) (*http.Request, error)

NewGetOrganizationIdApplicationsSearchRequest generates requests for GetOrganizationIdApplicationsSearch

func NewGetScansIdRequest

func NewGetScansIdRequest(server string, id openapi_types.UUID) (*http.Request, error)

NewGetScansIdRequest generates requests for GetScansId

func NewGetV1IntegrationsIdRequest

func NewGetV1IntegrationsIdRequest(server string, id string) (*http.Request, error)

NewGetV1IntegrationsIdRequest generates requests for GetV1IntegrationsId

func NewGetV1IntegrationsRequest

func NewGetV1IntegrationsRequest(server string) (*http.Request, error)

NewGetV1IntegrationsRequest generates requests for GetV1Integrations

func NewGetV1LocationsIdRequest

func NewGetV1LocationsIdRequest(server string, id string) (*http.Request, error)

NewGetV1LocationsIdRequest generates requests for GetV1LocationsId

func NewGetV1LocationsRequest

func NewGetV1LocationsRequest(server string) (*http.Request, error)

NewGetV1LocationsRequest generates requests for GetV1Locations

func NewGetV1OrganizationIdSchemasRequest

func NewGetV1OrganizationIdSchemasRequest(server string, id openapi_types.UUID, params *GetV1OrganizationIdSchemasParams) (*http.Request, error)

NewGetV1OrganizationIdSchemasRequest generates requests for GetV1OrganizationIdSchemas

func NewGetV1OrganizationIdSchemasSchemaIdRequest

func NewGetV1OrganizationIdSchemasSchemaIdRequest(server string, id openapi_types.UUID, schemaId openapi_types.UUID) (*http.Request, error)

NewGetV1OrganizationIdSchemasSchemaIdRequest generates requests for GetV1OrganizationIdSchemasSchemaId

func NewGetV1OrganizationIdServicesRequest

func NewGetV1OrganizationIdServicesRequest(server string, id openapi_types.UUID) (*http.Request, error)

NewGetV1OrganizationIdServicesRequest generates requests for GetV1OrganizationIdServices

func NewPostApplicationsIdStartScanRequest

func NewPostApplicationsIdStartScanRequest(server string, id openapi_types.UUID, params *PostApplicationsIdStartScanParams, body PostApplicationsIdStartScanJSONRequestBody) (*http.Request, error)

NewPostApplicationsIdStartScanRequest calls the generic PostApplicationsIdStartScan builder with application/json body

func NewPostApplicationsIdStartScanRequestWithBody

func NewPostApplicationsIdStartScanRequestWithBody(server string, id openapi_types.UUID, params *PostApplicationsIdStartScanParams, contentType string, body io.Reader) (*http.Request, error)

NewPostApplicationsIdStartScanRequestWithBody generates requests for PostApplicationsIdStartScan with any type of body

func NewPostApplicationsIdUploadSchemaRequest

func NewPostApplicationsIdUploadSchemaRequest(server string, id openapi_types.UUID, params *PostApplicationsIdUploadSchemaParams, body PostApplicationsIdUploadSchemaJSONRequestBody) (*http.Request, error)

NewPostApplicationsIdUploadSchemaRequest calls the generic PostApplicationsIdUploadSchema builder with application/json body

func NewPostApplicationsIdUploadSchemaRequestWithBody

func NewPostApplicationsIdUploadSchemaRequestWithBody(server string, id openapi_types.UUID, params *PostApplicationsIdUploadSchemaParams, contentType string, body io.Reader) (*http.Request, error)

NewPostApplicationsIdUploadSchemaRequestWithBody generates requests for PostApplicationsIdUploadSchema with any type of body

func NewPostCreateApplicationRequest

func NewPostCreateApplicationRequest(server string, params *PostCreateApplicationParams, body PostCreateApplicationJSONRequestBody) (*http.Request, error)

NewPostCreateApplicationRequest calls the generic PostCreateApplication builder with application/json body

func NewPostCreateApplicationRequestWithBody

func NewPostCreateApplicationRequestWithBody(server string, params *PostCreateApplicationParams, contentType string, body io.Reader) (*http.Request, error)

NewPostCreateApplicationRequestWithBody generates requests for PostCreateApplication with any type of body

func NewPostV1IntegrationsRequest

func NewPostV1IntegrationsRequest(server string, body PostV1IntegrationsJSONRequestBody) (*http.Request, error)

NewPostV1IntegrationsRequest calls the generic PostV1Integrations builder with application/json body

func NewPostV1IntegrationsRequestWithBody

func NewPostV1IntegrationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV1IntegrationsRequestWithBody generates requests for PostV1Integrations with any type of body

func NewPostV1LocationsRequest

func NewPostV1LocationsRequest(server string, body PostV1LocationsJSONRequestBody) (*http.Request, error)

NewPostV1LocationsRequest calls the generic PostV1Locations builder with application/json body

func NewPostV1LocationsRequestWithBody

func NewPostV1LocationsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV1LocationsRequestWithBody generates requests for PostV1Locations 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) DeleteV1IntegrationsId

func (c *Client) DeleteV1IntegrationsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteV1LocationsId

func (c *Client) DeleteV1LocationsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApplicationId

func (c *Client) GetApplicationId(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOrganizationIdApplications

func (c *Client) GetOrganizationIdApplications(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOrganizationIdApplicationsSearch

func (c *Client) GetOrganizationIdApplicationsSearch(ctx context.Context, id openapi_types.UUID, params *GetOrganizationIdApplicationsSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetScansId

func (c *Client) GetScansId(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Integrations

func (c *Client) GetV1Integrations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1IntegrationsId

func (c *Client) GetV1IntegrationsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Locations

func (c *Client) GetV1Locations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1LocationsId

func (c *Client) GetV1LocationsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1OrganizationIdSchemas

func (c *Client) GetV1OrganizationIdSchemas(ctx context.Context, id openapi_types.UUID, params *GetV1OrganizationIdSchemasParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1OrganizationIdSchemasSchemaId

func (c *Client) GetV1OrganizationIdSchemasSchemaId(ctx context.Context, id openapi_types.UUID, schemaId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1OrganizationIdServices

func (c *Client) GetV1OrganizationIdServices(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApplicationsIdStartScanWithBody

func (c *Client) PostApplicationsIdStartScanWithBody(ctx context.Context, id openapi_types.UUID, params *PostApplicationsIdStartScanParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostApplicationsIdUploadSchemaWithBody

func (c *Client) PostApplicationsIdUploadSchemaWithBody(ctx context.Context, id openapi_types.UUID, params *PostApplicationsIdUploadSchemaParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCreateApplication

func (c *Client) PostCreateApplication(ctx context.Context, params *PostCreateApplicationParams, body PostCreateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostCreateApplicationWithBody

func (c *Client) PostCreateApplicationWithBody(ctx context.Context, params *PostCreateApplicationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1Integrations

func (c *Client) PostV1Integrations(ctx context.Context, body PostV1IntegrationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1IntegrationsWithBody

func (c *Client) PostV1IntegrationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1Locations

func (c *Client) PostV1Locations(ctx context.Context, body PostV1LocationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1LocationsWithBody

func (c *Client) PostV1LocationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetApplicationId request
	GetApplicationId(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApplicationsIdStartScanWithBody request with any body
	PostApplicationsIdStartScanWithBody(ctx context.Context, id openapi_types.UUID, params *PostApplicationsIdStartScanParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostApplicationsIdStartScan(ctx context.Context, id openapi_types.UUID, params *PostApplicationsIdStartScanParams, body PostApplicationsIdStartScanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostApplicationsIdUploadSchemaWithBody request with any body
	PostApplicationsIdUploadSchemaWithBody(ctx context.Context, id openapi_types.UUID, params *PostApplicationsIdUploadSchemaParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostApplicationsIdUploadSchema(ctx context.Context, id openapi_types.UUID, params *PostApplicationsIdUploadSchemaParams, body PostApplicationsIdUploadSchemaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCreateApplicationWithBody request with any body
	PostCreateApplicationWithBody(ctx context.Context, params *PostCreateApplicationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostCreateApplication(ctx context.Context, params *PostCreateApplicationParams, body PostCreateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrganizationIdApplications request
	GetOrganizationIdApplications(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrganizationIdApplicationsSearch request
	GetOrganizationIdApplicationsSearch(ctx context.Context, id openapi_types.UUID, params *GetOrganizationIdApplicationsSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetScansId request
	GetScansId(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Integrations request
	GetV1Integrations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1IntegrationsWithBody request with any body
	PostV1IntegrationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV1Integrations(ctx context.Context, body PostV1IntegrationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV1IntegrationsId request
	DeleteV1IntegrationsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1IntegrationsId request
	GetV1IntegrationsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Locations request
	GetV1Locations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1LocationsWithBody request with any body
	PostV1LocationsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV1Locations(ctx context.Context, body PostV1LocationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteV1LocationsId request
	DeleteV1LocationsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1LocationsId request
	GetV1LocationsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1OrganizationIdSchemas request
	GetV1OrganizationIdSchemas(ctx context.Context, id openapi_types.UUID, params *GetV1OrganizationIdSchemasParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1OrganizationIdSchemasSchemaId request
	GetV1OrganizationIdSchemasSchemaId(ctx context.Context, id openapi_types.UUID, schemaId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1OrganizationIdServices request
	GetV1OrganizationIdServices(ctx context.Context, id openapi_types.UUID, 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) DeleteV1IntegrationsIdWithResponse

func (c *ClientWithResponses) DeleteV1IntegrationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteV1IntegrationsIdResponse, error)

DeleteV1IntegrationsIdWithResponse request returning *DeleteV1IntegrationsIdResponse

func (*ClientWithResponses) DeleteV1LocationsIdWithResponse

func (c *ClientWithResponses) DeleteV1LocationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteV1LocationsIdResponse, error)

DeleteV1LocationsIdWithResponse request returning *DeleteV1LocationsIdResponse

func (*ClientWithResponses) GetApplicationIdWithResponse

func (c *ClientWithResponses) GetApplicationIdWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetApplicationIdResponse, error)

GetApplicationIdWithResponse request returning *GetApplicationIdResponse

func (*ClientWithResponses) GetOrganizationIdApplicationsSearchWithResponse

func (c *ClientWithResponses) GetOrganizationIdApplicationsSearchWithResponse(ctx context.Context, id openapi_types.UUID, params *GetOrganizationIdApplicationsSearchParams, reqEditors ...RequestEditorFn) (*GetOrganizationIdApplicationsSearchResponse, error)

GetOrganizationIdApplicationsSearchWithResponse request returning *GetOrganizationIdApplicationsSearchResponse

func (*ClientWithResponses) GetOrganizationIdApplicationsWithResponse

func (c *ClientWithResponses) GetOrganizationIdApplicationsWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetOrganizationIdApplicationsResponse, error)

GetOrganizationIdApplicationsWithResponse request returning *GetOrganizationIdApplicationsResponse

func (*ClientWithResponses) GetScansIdWithResponse

func (c *ClientWithResponses) GetScansIdWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetScansIdResponse, error)

GetScansIdWithResponse request returning *GetScansIdResponse

func (*ClientWithResponses) GetV1IntegrationsIdWithResponse

func (c *ClientWithResponses) GetV1IntegrationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV1IntegrationsIdResponse, error)

GetV1IntegrationsIdWithResponse request returning *GetV1IntegrationsIdResponse

func (*ClientWithResponses) GetV1IntegrationsWithResponse

func (c *ClientWithResponses) GetV1IntegrationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1IntegrationsResponse, error)

GetV1IntegrationsWithResponse request returning *GetV1IntegrationsResponse

func (*ClientWithResponses) GetV1LocationsIdWithResponse

func (c *ClientWithResponses) GetV1LocationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV1LocationsIdResponse, error)

GetV1LocationsIdWithResponse request returning *GetV1LocationsIdResponse

func (*ClientWithResponses) GetV1LocationsWithResponse

func (c *ClientWithResponses) GetV1LocationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1LocationsResponse, error)

GetV1LocationsWithResponse request returning *GetV1LocationsResponse

func (*ClientWithResponses) GetV1OrganizationIdSchemasSchemaIdWithResponse

func (c *ClientWithResponses) GetV1OrganizationIdSchemasSchemaIdWithResponse(ctx context.Context, id openapi_types.UUID, schemaId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetV1OrganizationIdSchemasSchemaIdResponse, error)

GetV1OrganizationIdSchemasSchemaIdWithResponse request returning *GetV1OrganizationIdSchemasSchemaIdResponse

func (*ClientWithResponses) GetV1OrganizationIdSchemasWithResponse

func (c *ClientWithResponses) GetV1OrganizationIdSchemasWithResponse(ctx context.Context, id openapi_types.UUID, params *GetV1OrganizationIdSchemasParams, reqEditors ...RequestEditorFn) (*GetV1OrganizationIdSchemasResponse, error)

GetV1OrganizationIdSchemasWithResponse request returning *GetV1OrganizationIdSchemasResponse

func (*ClientWithResponses) GetV1OrganizationIdServicesWithResponse

func (c *ClientWithResponses) GetV1OrganizationIdServicesWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetV1OrganizationIdServicesResponse, error)

GetV1OrganizationIdServicesWithResponse request returning *GetV1OrganizationIdServicesResponse

func (*ClientWithResponses) PostApplicationsIdStartScanWithBodyWithResponse

func (c *ClientWithResponses) PostApplicationsIdStartScanWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *PostApplicationsIdStartScanParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApplicationsIdStartScanResponse, error)

PostApplicationsIdStartScanWithBodyWithResponse request with arbitrary body returning *PostApplicationsIdStartScanResponse

func (*ClientWithResponses) PostApplicationsIdUploadSchemaWithBodyWithResponse

func (c *ClientWithResponses) PostApplicationsIdUploadSchemaWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *PostApplicationsIdUploadSchemaParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApplicationsIdUploadSchemaResponse, error)

PostApplicationsIdUploadSchemaWithBodyWithResponse request with arbitrary body returning *PostApplicationsIdUploadSchemaResponse

func (*ClientWithResponses) PostCreateApplicationWithBodyWithResponse

func (c *ClientWithResponses) PostCreateApplicationWithBodyWithResponse(ctx context.Context, params *PostCreateApplicationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCreateApplicationResponse, error)

PostCreateApplicationWithBodyWithResponse request with arbitrary body returning *PostCreateApplicationResponse

func (*ClientWithResponses) PostCreateApplicationWithResponse

func (*ClientWithResponses) PostV1IntegrationsWithBodyWithResponse

func (c *ClientWithResponses) PostV1IntegrationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1IntegrationsResponse, error)

PostV1IntegrationsWithBodyWithResponse request with arbitrary body returning *PostV1IntegrationsResponse

func (*ClientWithResponses) PostV1IntegrationsWithResponse

func (c *ClientWithResponses) PostV1IntegrationsWithResponse(ctx context.Context, body PostV1IntegrationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1IntegrationsResponse, error)

func (*ClientWithResponses) PostV1LocationsWithBodyWithResponse

func (c *ClientWithResponses) PostV1LocationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1LocationsResponse, error)

PostV1LocationsWithBodyWithResponse request with arbitrary body returning *PostV1LocationsResponse

func (*ClientWithResponses) PostV1LocationsWithResponse

func (c *ClientWithResponses) PostV1LocationsWithResponse(ctx context.Context, body PostV1LocationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1LocationsResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetApplicationIdWithResponse request
	GetApplicationIdWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetApplicationIdResponse, error)

	// PostApplicationsIdStartScanWithBodyWithResponse request with any body
	PostApplicationsIdStartScanWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *PostApplicationsIdStartScanParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApplicationsIdStartScanResponse, error)

	PostApplicationsIdStartScanWithResponse(ctx context.Context, id openapi_types.UUID, params *PostApplicationsIdStartScanParams, body PostApplicationsIdStartScanJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApplicationsIdStartScanResponse, error)

	// PostApplicationsIdUploadSchemaWithBodyWithResponse request with any body
	PostApplicationsIdUploadSchemaWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *PostApplicationsIdUploadSchemaParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostApplicationsIdUploadSchemaResponse, error)

	PostApplicationsIdUploadSchemaWithResponse(ctx context.Context, id openapi_types.UUID, params *PostApplicationsIdUploadSchemaParams, body PostApplicationsIdUploadSchemaJSONRequestBody, reqEditors ...RequestEditorFn) (*PostApplicationsIdUploadSchemaResponse, error)

	// PostCreateApplicationWithBodyWithResponse request with any body
	PostCreateApplicationWithBodyWithResponse(ctx context.Context, params *PostCreateApplicationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCreateApplicationResponse, error)

	PostCreateApplicationWithResponse(ctx context.Context, params *PostCreateApplicationParams, body PostCreateApplicationJSONRequestBody, reqEditors ...RequestEditorFn) (*PostCreateApplicationResponse, error)

	// GetOrganizationIdApplicationsWithResponse request
	GetOrganizationIdApplicationsWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetOrganizationIdApplicationsResponse, error)

	// GetOrganizationIdApplicationsSearchWithResponse request
	GetOrganizationIdApplicationsSearchWithResponse(ctx context.Context, id openapi_types.UUID, params *GetOrganizationIdApplicationsSearchParams, reqEditors ...RequestEditorFn) (*GetOrganizationIdApplicationsSearchResponse, error)

	// GetScansIdWithResponse request
	GetScansIdWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetScansIdResponse, error)

	// GetV1IntegrationsWithResponse request
	GetV1IntegrationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1IntegrationsResponse, error)

	// PostV1IntegrationsWithBodyWithResponse request with any body
	PostV1IntegrationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1IntegrationsResponse, error)

	PostV1IntegrationsWithResponse(ctx context.Context, body PostV1IntegrationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1IntegrationsResponse, error)

	// DeleteV1IntegrationsIdWithResponse request
	DeleteV1IntegrationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteV1IntegrationsIdResponse, error)

	// GetV1IntegrationsIdWithResponse request
	GetV1IntegrationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV1IntegrationsIdResponse, error)

	// GetV1LocationsWithResponse request
	GetV1LocationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1LocationsResponse, error)

	// PostV1LocationsWithBodyWithResponse request with any body
	PostV1LocationsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1LocationsResponse, error)

	PostV1LocationsWithResponse(ctx context.Context, body PostV1LocationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1LocationsResponse, error)

	// DeleteV1LocationsIdWithResponse request
	DeleteV1LocationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteV1LocationsIdResponse, error)

	// GetV1LocationsIdWithResponse request
	GetV1LocationsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV1LocationsIdResponse, error)

	// GetV1OrganizationIdSchemasWithResponse request
	GetV1OrganizationIdSchemasWithResponse(ctx context.Context, id openapi_types.UUID, params *GetV1OrganizationIdSchemasParams, reqEditors ...RequestEditorFn) (*GetV1OrganizationIdSchemasResponse, error)

	// GetV1OrganizationIdSchemasSchemaIdWithResponse request
	GetV1OrganizationIdSchemasSchemaIdWithResponse(ctx context.Context, id openapi_types.UUID, schemaId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetV1OrganizationIdSchemasSchemaIdResponse, error)

	// GetV1OrganizationIdServicesWithResponse request
	GetV1OrganizationIdServicesWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetV1OrganizationIdServicesResponse, error)
}

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

type DeleteV1IntegrationsIdResponse

type DeleteV1IntegrationsIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Id string `json:"id"`
	}
	JSON404 *struct {
		Message string `json:"message"`
		Name    string `json:"name"`
	}
	JSON500 *struct {
		Message string `json:"message"`
		Name    string `json:"name"`
	}
}

func ParseDeleteV1IntegrationsIdResponse

func ParseDeleteV1IntegrationsIdResponse(rsp *http.Response) (*DeleteV1IntegrationsIdResponse, error)

ParseDeleteV1IntegrationsIdResponse parses an HTTP response from a DeleteV1IntegrationsIdWithResponse call

func (DeleteV1IntegrationsIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV1IntegrationsIdResponse) StatusCode

func (r DeleteV1IntegrationsIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteV1LocationsIdResponse

type DeleteV1LocationsIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Success bool `json:"success"`
	}
	JSON400 *struct {
		Message string `json:"message"`
		Name    string `json:"name"`
	}
	JSON404 *struct {
		Message string `json:"message"`
		Name    string `json:"name"`
	}
}

func ParseDeleteV1LocationsIdResponse

func ParseDeleteV1LocationsIdResponse(rsp *http.Response) (*DeleteV1LocationsIdResponse, error)

ParseDeleteV1LocationsIdResponse parses an HTTP response from a DeleteV1LocationsIdWithResponse call

func (DeleteV1LocationsIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteV1LocationsIdResponse) StatusCode

func (r DeleteV1LocationsIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetApplicationId200ScansStatus

type GetApplicationId200ScansStatus string

type GetApplicationIdResponse

type GetApplicationIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		AutogeneratedFromInventory bool               `json:"autogeneratedFromInventory"`
		CreatedAt                  time.Time          `json:"createdAt"`
		Cron                       *string            `json:"cron"`
		HasCI                      bool               `json:"hasCI"`
		Id                         openapi_types.UUID `json:"id"`
		LastSuccessfulScan         *struct {
			AlertCounts struct {
				HIGH   float32 `json:"HIGH"`
				INFO   float32 `json:"INFO"`
				LOW    float32 `json:"LOW"`
				MEDIUM float32 `json:"MEDIUM"`
			} `json:"alertCounts"`
			CommitHash             *string            `json:"commitHash"`
			Coverage               *float32           `json:"coverage"`
			CreatedAt              time.Time          `json:"createdAt"`
			Id                     openapi_types.UUID `json:"id"`
			Score                  *float32           `json:"score"`
			SecurityTestCategories []struct {
				Category string  `json:"category"`
				Count    float32 `json:"count"`
				Severity string  `json:"severity"`
			} `json:"securityTestCategories"`
		} `json:"lastSuccessfulScan"`
		Name  string `json:"name"`
		Scans []struct {
			AlertCounts struct {
				HIGH   float32 `json:"HIGH"`
				INFO   float32 `json:"INFO"`
				LOW    float32 `json:"LOW"`
				MEDIUM float32 `json:"MEDIUM"`
			} `json:"alertCounts"`
			CommitHash             *string            `json:"commitHash"`
			Coverage               *float32           `json:"coverage"`
			CreatedAt              time.Time          `json:"createdAt"`
			Id                     openapi_types.UUID `json:"id"`
			Score                  *float32           `json:"score"`
			SecurityTestCategories []struct {
				Category string  `json:"category"`
				Count    float32 `json:"count"`
				Severity string  `json:"severity"`
			} `json:"securityTestCategories"`
			Status GetApplicationId200ScansStatus `json:"status"`
		} `json:"scans"`
		Service struct {
			Tags []struct {
				Color string `json:"color"`
				Name  string `json:"name"`
			} `json:"tags"`
			Url string `json:"url"`
		} `json:"service"`
	}
	JSON400 *struct {
		Error   string         `json:"error"`
		Events  *[]interface{} `json:"events,omitempty"`
		Message string         `json:"message"`
	}
	JSON500 *struct {
		Message string `json:"message"`
	}
}

func ParseGetApplicationIdResponse

func ParseGetApplicationIdResponse(rsp *http.Response) (*GetApplicationIdResponse, error)

ParseGetApplicationIdResponse parses an HTTP response from a GetApplicationIdWithResponse call

func (GetApplicationIdResponse) Status

func (r GetApplicationIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetApplicationIdResponse) StatusCode

func (r GetApplicationIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationIdApplications200ScansStatus

type GetOrganizationIdApplications200ScansStatus string

type GetOrganizationIdApplicationsResponse

type GetOrganizationIdApplicationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		AutogeneratedFromInventory bool               `json:"autogeneratedFromInventory"`
		CreatedAt                  time.Time          `json:"createdAt"`
		Cron                       *string            `json:"cron"`
		HasCI                      bool               `json:"hasCI"`
		Id                         openapi_types.UUID `json:"id"`
		LastSuccessfulScan         *struct {
			AlertCounts struct {
				HIGH   float32 `json:"HIGH"`
				INFO   float32 `json:"INFO"`
				LOW    float32 `json:"LOW"`
				MEDIUM float32 `json:"MEDIUM"`
			} `json:"alertCounts"`
			CommitHash             *string            `json:"commitHash"`
			Coverage               *float32           `json:"coverage"`
			CreatedAt              time.Time          `json:"createdAt"`
			Id                     openapi_types.UUID `json:"id"`
			Score                  *float32           `json:"score"`
			SecurityTestCategories []struct {
				Category string  `json:"category"`
				Count    float32 `json:"count"`
				Severity string  `json:"severity"`
			} `json:"securityTestCategories"`
		} `json:"lastSuccessfulScan"`
		Name  string `json:"name"`
		Scans []struct {
			AlertCounts struct {
				HIGH   float32 `json:"HIGH"`
				INFO   float32 `json:"INFO"`
				LOW    float32 `json:"LOW"`
				MEDIUM float32 `json:"MEDIUM"`
			} `json:"alertCounts"`
			CommitHash             *string            `json:"commitHash"`
			Coverage               *float32           `json:"coverage"`
			CreatedAt              time.Time          `json:"createdAt"`
			Id                     openapi_types.UUID `json:"id"`
			Score                  *float32           `json:"score"`
			SecurityTestCategories []struct {
				Category string  `json:"category"`
				Count    float32 `json:"count"`
				Severity string  `json:"severity"`
			} `json:"securityTestCategories"`
			Status GetOrganizationIdApplications200ScansStatus `json:"status"`
		} `json:"scans"`
		Service struct {
			Tags []struct {
				Color string `json:"color"`
				Name  string `json:"name"`
			} `json:"tags"`
			Url string `json:"url"`
		} `json:"service"`
	}
}

func ParseGetOrganizationIdApplicationsResponse

func ParseGetOrganizationIdApplicationsResponse(rsp *http.Response) (*GetOrganizationIdApplicationsResponse, error)

ParseGetOrganizationIdApplicationsResponse parses an HTTP response from a GetOrganizationIdApplicationsWithResponse call

func (GetOrganizationIdApplicationsResponse) Status

Status returns HTTPResponse.Status

func (GetOrganizationIdApplicationsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationIdApplicationsSearchParams

type GetOrganizationIdApplicationsSearchParams struct {
	Search *string `form:"search,omitempty" json:"search,omitempty"`
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}

GetOrganizationIdApplicationsSearchParams defines parameters for GetOrganizationIdApplicationsSearch.

type GetOrganizationIdApplicationsSearchResponse

type GetOrganizationIdApplicationsSearchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Cursor *string `json:"cursor"`
		Data   []struct {
			AutogeneratedFromInventory bool               `json:"autogeneratedFromInventory"`
			CreatedAt                  time.Time          `json:"createdAt"`
			Cron                       *string            `json:"cron"`
			HasCI                      bool               `json:"hasCI"`
			Id                         openapi_types.UUID `json:"id"`
			Name                       string             `json:"name"`
			Service                    struct {
				Tags []struct {
					Color string `json:"color"`
					Name  string `json:"name"`
				} `json:"tags"`
				Url string `json:"url"`
			} `json:"service"`
		} `json:"data"`
	}
}

func ParseGetOrganizationIdApplicationsSearchResponse

func ParseGetOrganizationIdApplicationsSearchResponse(rsp *http.Response) (*GetOrganizationIdApplicationsSearchResponse, error)

ParseGetOrganizationIdApplicationsSearchResponse parses an HTTP response from a GetOrganizationIdApplicationsSearchWithResponse call

func (GetOrganizationIdApplicationsSearchResponse) Status

Status returns HTTPResponse.Status

func (GetOrganizationIdApplicationsSearchResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetScansId200SecurityTestsAlertsSeverity

type GetScansId200SecurityTestsAlertsSeverity string

type GetScansId200SecurityTestsSeverity

type GetScansId200SecurityTestsSeverity string

type GetScansId200Status

type GetScansId200Status string

type GetScansIdResponse

type GetScansIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Application struct {
			ActiveSchema struct {
				ApplicationId openapi_types.UUID `json:"applicationId"`
				CreatedAt     time.Time          `json:"createdAt"`
				Id            openapi_types.UUID `json:"id"`
			} `json:"activeSchema"`
			CreatedAt time.Time          `json:"createdAt"`
			Id        openapi_types.UUID `json:"id"`
			Name      string             `json:"name"`
			Service   struct {
				Framework string `json:"framework"`
			} `json:"service"`
			UpdatedAt time.Time `json:"updatedAt"`
		} `json:"application"`
		CommitHash      *string `json:"commitHash"`
		CompletionRatio float32 `json:"completionRatio"`
		Configuration   struct {
			AuthenticationUsers *[]struct {
				HeaderName  string `json:"headerName"`
				HeaderValue string `json:"headerValue"`
				Name        string `json:"name"`
			} `json:"authenticationUsers"`
			Content               *interface{} `json:"content"`
			CreatedAt             time.Time    `json:"createdAt"`
			IsAuthenticationValid bool         `json:"isAuthenticationValid"`
			IsConfigurationValid  bool         `json:"isConfigurationValid"`
			ReadWrite             bool         `json:"readWrite"`
			UpdatedAt             time.Time    `json:"updatedAt"`
		} `json:"configuration"`
		CreatedAt     time.Time          `json:"createdAt"`
		Id            openapi_types.UUID `json:"id"`
		SecurityTests []struct {
			Alerts []struct {
				Context   string `json:"context"`
				Exchanges []struct {
					Curl string `json:"curl"`
				} `json:"exchanges"`
				Id       openapi_types.UUID                       `json:"id"`
				Path     []string                                 `json:"path"`
				Risks    map[string]*interface{}                  `json:"risks"`
				Severity GetScansId200SecurityTestsAlertsSeverity `json:"severity"`
			} `json:"alerts"`
			Category   string `json:"category"`
			Compliance []struct {
				Name  string `json:"name"`
				Value string `json:"value"`
			} `json:"compliance"`
			Description     string                             `json:"description"`
			FailureName     string                             `json:"failureName"`
			Remediation     string                             `json:"remediation"`
			SecurityTestUid string                             `json:"securityTestUid"`
			Severity        GetScansId200SecurityTestsSeverity `json:"severity"`
		} `json:"securityTests"`
		Status GetScansId200Status `json:"status"`
	}
}

func ParseGetScansIdResponse

func ParseGetScansIdResponse(rsp *http.Response) (*GetScansIdResponse, error)

ParseGetScansIdResponse parses an HTTP response from a GetScansIdWithResponse call

func (GetScansIdResponse) Status

func (r GetScansIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetScansIdResponse) StatusCode

func (r GetScansIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1IntegrationsId2000

type GetV1IntegrationsId2000 struct {
	Kind       GetV1IntegrationsId2000Kind `json:"kind"`
	Parameters struct {
		AccessToken  string `json:"access_token"`
		ClientSecret string `json:"client_secret"`
		ClientToken  string `json:"client_token"`
		Host         string `json:"host"`
	} `json:"parameters"`
}

type GetV1IntegrationsId2000Kind

type GetV1IntegrationsId2000Kind string

type GetV1IntegrationsId2001

type GetV1IntegrationsId2001 struct {
	Kind       GetV1IntegrationsId2001Kind `json:"kind"`
	Parameters struct {
		AuthProviderX509CertUrl string `json:"auth_provider_x509_cert_url"`
		AuthUri                 string `json:"auth_uri"`
		ClientEmail             string `json:"client_email"`
		ClientId                string `json:"client_id"`
		ClientX509CertUrl       string `json:"client_x509_cert_url"`
		PrivateKey              string `json:"private_key"`
		PrivateKeyId            string `json:"private_key_id"`
		ProjectId               string `json:"project_id"`
		TokenUri                string `json:"token_uri"`
		Type                    string `json:"type"`
		UniverseDomain          string `json:"universe_domain"`
	} `json:"parameters"`
}

type GetV1IntegrationsId20010

type GetV1IntegrationsId20010 struct {
	Kind       GetV1IntegrationsId20010Kind `json:"kind"`
	Parameters struct {
		ApiKey string `json:"api_key"`
	} `json:"parameters"`
}

type GetV1IntegrationsId20010Kind

type GetV1IntegrationsId20010Kind string

type GetV1IntegrationsId20011

type GetV1IntegrationsId20011 struct {
	Kind       GetV1IntegrationsId20011Kind `json:"kind"`
	Parameters struct {
		ApiKey      string  `json:"api_key"`
		InstanceUrl *string `json:"instance_url,omitempty"`
	} `json:"parameters"`
}

type GetV1IntegrationsId20011Kind

type GetV1IntegrationsId20011Kind string

type GetV1IntegrationsId20012

type GetV1IntegrationsId20012 struct {
	Kind       GetV1IntegrationsId20012Kind `json:"kind"`
	Parameters struct {
		AccessToken  string  `json:"access_token"`
		ApiKey       string  `json:"api_key"`
		InstanceUrl  string  `json:"instance_url"`
		RefreshToken *string `json:"refresh_token,omitempty"`
	} `json:"parameters"`
}

type GetV1IntegrationsId20012Kind

type GetV1IntegrationsId20012Kind string

type GetV1IntegrationsId20013

type GetV1IntegrationsId20013 struct {
	Kind       GetV1IntegrationsId20013Kind `json:"kind"`
	Parameters struct {
		AdminApiUrl string `json:"admin_api_url"`
		ApiKey      string `json:"api_key"`
	} `json:"parameters"`
}

type GetV1IntegrationsId20013Kind

type GetV1IntegrationsId20013Kind string

type GetV1IntegrationsId20014

type GetV1IntegrationsId20014 struct {
	Kind       GetV1IntegrationsId20014Kind `json:"kind"`
	Parameters struct {
		Region             GetV1IntegrationsId20014ParametersRegion `json:"region"`
		SystemAccountToken string                                   `json:"system_account_token"`
	} `json:"parameters"`
}

type GetV1IntegrationsId20014Kind

type GetV1IntegrationsId20014Kind string

type GetV1IntegrationsId20014ParametersRegion

type GetV1IntegrationsId20014ParametersRegion string

type GetV1IntegrationsId20015

type GetV1IntegrationsId20015 struct {
	Kind       GetV1IntegrationsId20015Kind `json:"kind"`
	Parameters struct {
		Blacklist struct {
			Namespaces *[]string `json:"namespaces,omitempty"`
		} `json:"blacklist"`
		Tags struct {
			Labels     *[]string `json:"labels,omitempty"`
			Namespaces *bool     `json:"namespaces,omitempty"`
		} `json:"tags"`
	} `json:"parameters"`
}

type GetV1IntegrationsId20015Kind

type GetV1IntegrationsId20015Kind string

type GetV1IntegrationsId20016

type GetV1IntegrationsId20016 struct {
	Kind       GetV1IntegrationsId20016Kind `json:"kind"`
	Parameters struct {
		ApiKey string `json:"api_key"`
	} `json:"parameters"`
}

type GetV1IntegrationsId20016Kind

type GetV1IntegrationsId20016Kind string

type GetV1IntegrationsId20017

type GetV1IntegrationsId20017 struct {
	Kind       GetV1IntegrationsId20017Kind `json:"kind"`
	Parameters map[string]interface{}       `json:"parameters"`
}

type GetV1IntegrationsId20017Kind

type GetV1IntegrationsId20017Kind string

type GetV1IntegrationsId20018

type GetV1IntegrationsId20018 struct {
	Kind       GetV1IntegrationsId20018Kind `json:"kind"`
	Parameters map[string]interface{}       `json:"parameters"`
}

type GetV1IntegrationsId20018Kind

type GetV1IntegrationsId20018Kind string

type GetV1IntegrationsId20019

type GetV1IntegrationsId20019 struct {
	Kind       GetV1IntegrationsId20019Kind `json:"kind"`
	Parameters map[string]interface{}       `json:"parameters"`
}

type GetV1IntegrationsId20019Kind

type GetV1IntegrationsId20019Kind string

type GetV1IntegrationsId2001Kind

type GetV1IntegrationsId2001Kind string

type GetV1IntegrationsId2002

type GetV1IntegrationsId2002 struct {
	Kind       GetV1IntegrationsId2002Kind `json:"kind"`
	Parameters struct {
		PrivKey string `json:"priv_key"`
		PubKey  string `json:"pub_key"`
	} `json:"parameters"`
}

type GetV1IntegrationsId20020

type GetV1IntegrationsId20020 struct {
	Kind       GetV1IntegrationsId20020Kind `json:"kind"`
	Parameters struct {
		ApiEndpoint  string `json:"api_endpoint"`
		ClientId     string `json:"client_id"`
		ClientSecret string `json:"client_secret"`
		TokenUri     string `json:"token_uri"`
	} `json:"parameters"`
}

type GetV1IntegrationsId20020Kind

type GetV1IntegrationsId20020Kind string

type GetV1IntegrationsId2002Kind

type GetV1IntegrationsId2002Kind string

type GetV1IntegrationsId2003

type GetV1IntegrationsId2003 struct {
	Kind       GetV1IntegrationsId2003Kind `json:"kind"`
	Parameters struct {
		ClientId       string  `json:"client_id"`
		ClientSecret   string  `json:"client_secret"`
		SubscriptionId *string `json:"subscription_id,omitempty"`
		TenantId       string  `json:"tenant_id"`
	} `json:"parameters"`
}

type GetV1IntegrationsId2003Kind

type GetV1IntegrationsId2003Kind string

type GetV1IntegrationsId2004

type GetV1IntegrationsId2004 struct {
	Kind       GetV1IntegrationsId2004Kind `json:"kind"`
	Parameters struct {
		ApiKey      string `json:"api_key"`
		InstanceUrl string `json:"instance_url"`
	} `json:"parameters"`
}

type GetV1IntegrationsId2004Kind

type GetV1IntegrationsId2004Kind string

type GetV1IntegrationsId2005

type GetV1IntegrationsId2005 struct {
	Kind       GetV1IntegrationsId2005Kind `json:"kind"`
	Parameters struct {
		ApiKey         string  `json:"api_key"`
		InstanceUrl    *string `json:"instance_url,omitempty"`
		RepositoryName string  `json:"repository_name"`
		Username       *string `json:"username,omitempty"`
		WorkspaceName  string  `json:"workspace_name"`
	} `json:"parameters"`
}

type GetV1IntegrationsId2005Kind

type GetV1IntegrationsId2005Kind string

type GetV1IntegrationsId2006

type GetV1IntegrationsId2006 struct {
	Kind       GetV1IntegrationsId2006Kind `json:"kind"`
	Parameters struct {
		ApiKey string `json:"api_key"`
	} `json:"parameters"`
}

type GetV1IntegrationsId2006Kind

type GetV1IntegrationsId2006Kind string

type GetV1IntegrationsId2007

type GetV1IntegrationsId2007 struct {
	Kind       GetV1IntegrationsId2007Kind `json:"kind"`
	Parameters map[string]interface{}      `json:"parameters"`
}

type GetV1IntegrationsId2007Kind

type GetV1IntegrationsId2007Kind string

type GetV1IntegrationsId2008

type GetV1IntegrationsId2008 struct {
	Kind       GetV1IntegrationsId2008Kind `json:"kind"`
	Parameters map[string]interface{}      `json:"parameters"`
}

type GetV1IntegrationsId2008Kind

type GetV1IntegrationsId2008Kind string

type GetV1IntegrationsId2009

type GetV1IntegrationsId2009 struct {
	Kind       GetV1IntegrationsId2009Kind `json:"kind"`
	Parameters struct {
		AuthProviderX509CertUrl string `json:"auth_provider_x509_cert_url"`
		AuthUri                 string `json:"auth_uri"`
		ClientEmail             string `json:"client_email"`
		ClientId                string `json:"client_id"`
		ClientX509CertUrl       string `json:"client_x509_cert_url"`
		PrivateKey              string `json:"private_key"`
		PrivateKeyId            string `json:"private_key_id"`
		ProjectId               string `json:"project_id"`
		TokenUri                string `json:"token_uri"`
		Type                    string `json:"type"`
		UniverseDomain          string `json:"universe_domain"`
	} `json:"parameters"`
}

type GetV1IntegrationsId2009Kind

type GetV1IntegrationsId2009Kind string

type GetV1IntegrationsIdResponse

type GetV1IntegrationsIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		LocationId *openapi_types.UUID `json:"locationId"`
		Name       string              `json:"name"`
		// contains filtered or unexported fields
	}
	JSON404 *struct {
		Message string `json:"message"`
		Name    string `json:"name"`
	}
	JSON500 *struct {
		Message string `json:"message"`
		Name    string `json:"name"`
	}
}

func ParseGetV1IntegrationsIdResponse

func ParseGetV1IntegrationsIdResponse(rsp *http.Response) (*GetV1IntegrationsIdResponse, error)

ParseGetV1IntegrationsIdResponse parses an HTTP response from a GetV1IntegrationsIdWithResponse call

func (GetV1IntegrationsIdResponse) Status

Status returns HTTPResponse.Status

func (GetV1IntegrationsIdResponse) StatusCode

func (r GetV1IntegrationsIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1IntegrationsResponse

type GetV1IntegrationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Id         string              `json:"id"`
		Kind       string              `json:"kind"`
		LocationId *openapi_types.UUID `json:"locationId"`
		Name       string              `json:"name"`
	}
}

func ParseGetV1IntegrationsResponse

func ParseGetV1IntegrationsResponse(rsp *http.Response) (*GetV1IntegrationsResponse, error)

ParseGetV1IntegrationsResponse parses an HTTP response from a GetV1IntegrationsWithResponse call

func (GetV1IntegrationsResponse) Status

func (r GetV1IntegrationsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1IntegrationsResponse) StatusCode

func (r GetV1IntegrationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1LocationsIdResponse

type GetV1LocationsIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Location struct {
			Id   string `json:"id"`
			Name string `json:"name"`
			Tags []struct {
				Name string `json:"name"`
			} `json:"tags"`
			Type string `json:"type"`
		} `json:"location"`
	}
	JSON404 *struct {
		Message string `json:"message"`
		Name    string `json:"name"`
	}
}

func ParseGetV1LocationsIdResponse

func ParseGetV1LocationsIdResponse(rsp *http.Response) (*GetV1LocationsIdResponse, error)

ParseGetV1LocationsIdResponse parses an HTTP response from a GetV1LocationsIdWithResponse call

func (GetV1LocationsIdResponse) Status

func (r GetV1LocationsIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1LocationsIdResponse) StatusCode

func (r GetV1LocationsIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1LocationsResponse

type GetV1LocationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Locations []struct {
			Id   string `json:"id"`
			Name string `json:"name"`
			Tags []struct {
				Name string `json:"name"`
			} `json:"tags"`
			Type string `json:"type"`
		} `json:"locations"`
	}
}

func ParseGetV1LocationsResponse

func ParseGetV1LocationsResponse(rsp *http.Response) (*GetV1LocationsResponse, error)

ParseGetV1LocationsResponse parses an HTTP response from a GetV1LocationsWithResponse call

func (GetV1LocationsResponse) Status

func (r GetV1LocationsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1LocationsResponse) StatusCode

func (r GetV1LocationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1OrganizationIdSchemasParams

type GetV1OrganizationIdSchemasParams struct {
	After string `form:"after" json:"after"`
}

GetV1OrganizationIdSchemasParams defines parameters for GetV1OrganizationIdSchemas.

type GetV1OrganizationIdSchemasResponse

type GetV1OrganizationIdSchemasResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Edges []struct {
			Node struct {
				BlobUrl     *string            `json:"blobUrl"`
				Consumer    *string            `json:"consumer"`
				CreatedAt   time.Time          `json:"createdAt"`
				Description *string            `json:"description"`
				DomainId    openapi_types.UUID `json:"domainId"`
				Endpoints   struct {
					Id         openapi_types.UUID `json:"id"`
					Name       string             `json:"name"`
					Operation  string             `json:"operation"`
					Parameters string             `json:"parameters"`
					ReturnType string             `json:"returnType"`
				} `json:"endpoints"`
				GeneratedFromCodeProjectId *struct {
					Id openapi_types.UUID `json:"id"`
				} `json:"generatedFromCodeProjectId"`
				GeneratedFromFrontendId *struct {
					Id openapi_types.UUID `json:"id"`
				} `json:"generatedFromFrontendId"`
				GeneratedFromServiceId *struct {
					Id openapi_types.UUID `json:"id"`
				} `json:"generatedFromServiceId"`
				Id         openapi_types.UUID `json:"id"`
				Kind       string             `json:"kind"`
				LastSeenAt time.Time          `json:"lastSeenAt"`
				Name       string             `json:"name"`
				Tags       []struct {
					Color string             `json:"color"`
					Id    openapi_types.UUID `json:"id"`
					Name  string             `json:"name"`
				} `json:"tags"`
				Url            *string `json:"url"`
				UseInServiceId []struct {
					Id openapi_types.UUID `json:"id"`
				} `json:"useInServiceId"`
			} `json:"node"`
		} `json:"edges"`
		PageInfo struct {
			EndCursor       *string `json:"endCursor"`
			HasNextPage     bool    `json:"hasNextPage"`
			HasPreviousPage bool    `json:"hasPreviousPage"`
			StartCursor     *string `json:"startCursor"`
		} `json:"pageInfo"`
		TotalCount float32 `json:"totalCount"`
	}
}

func ParseGetV1OrganizationIdSchemasResponse

func ParseGetV1OrganizationIdSchemasResponse(rsp *http.Response) (*GetV1OrganizationIdSchemasResponse, error)

ParseGetV1OrganizationIdSchemasResponse parses an HTTP response from a GetV1OrganizationIdSchemasWithResponse call

func (GetV1OrganizationIdSchemasResponse) Status

Status returns HTTPResponse.Status

func (GetV1OrganizationIdSchemasResponse) StatusCode

func (r GetV1OrganizationIdSchemasResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1OrganizationIdSchemasSchemaIdResponse

type GetV1OrganizationIdSchemasSchemaIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		BlobUrl     *string   `json:"blobUrl"`
		Consumer    *string   `json:"consumer"`
		CreatedAt   time.Time `json:"createdAt"`
		Description *string   `json:"description"`
		Endpoints   []struct {
			Id         openapi_types.UUID `json:"id"`
			Name       string             `json:"name"`
			Operation  string             `json:"operation"`
			Parameters string             `json:"parameters"`
			ReturnType string             `json:"returnType"`
		} `json:"endpoints"`
		GeneratedFromCodeProject *struct {
			Id openapi_types.UUID `json:"id"`
		} `json:"generatedFromCodeProject"`
		GeneratedFromFrontend *struct {
			Id openapi_types.UUID `json:"id"`
		} `json:"generatedFromFrontend"`
		GeneratedFromService *struct {
			Id openapi_types.UUID `json:"id"`
		} `json:"generatedFromService"`
		Id         openapi_types.UUID `json:"id"`
		Kind       string             `json:"kind"`
		LastSeenAt time.Time          `json:"lastSeenAt"`
		Name       string             `json:"name"`
		Tags       []struct {
			Color string             `json:"color"`
			Id    openapi_types.UUID `json:"id"`
			Name  string             `json:"name"`
		} `json:"tags"`
		TemporaryDownloadUrl *string `json:"temporaryDownloadUrl"`
		Url                  *string `json:"url"`
		UsedInServices       []struct {
			Id openapi_types.UUID `json:"id"`
		} `json:"usedInServices"`
	}
}

func ParseGetV1OrganizationIdSchemasSchemaIdResponse

func ParseGetV1OrganizationIdSchemasSchemaIdResponse(rsp *http.Response) (*GetV1OrganizationIdSchemasSchemaIdResponse, error)

ParseGetV1OrganizationIdSchemasSchemaIdResponse parses an HTTP response from a GetV1OrganizationIdSchemasSchemaIdWithResponse call

func (GetV1OrganizationIdSchemasSchemaIdResponse) Status

Status returns HTTPResponse.Status

func (GetV1OrganizationIdSchemasSchemaIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV1OrganizationIdServicesResponse

type GetV1OrganizationIdServicesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		ApplicationsCount float32            `json:"applicationsCount"`
		AuthTechnology    *string            `json:"authTechnology"`
		CloudProvider     string             `json:"cloudProvider"`
		CountryCodes      []string           `json:"countryCodes"`
		CreatedAt         time.Time          `json:"createdAt"`
		DomainId          openapi_types.UUID `json:"domainId"`
		Framework         *string            `json:"framework"`
		Id                openapi_types.UUID `json:"id"`
		IpAddresses       []string           `json:"ipAddresses"`
		LastSeenAt        time.Time          `json:"lastSeenAt"`
		SoftwareType      *string            `json:"softwareType"`
		Tags              []struct {
			Color string             `json:"color"`
			Id    openapi_types.UUID `json:"id"`
			Name  string             `json:"name"`
		} `json:"tags"`
		Type        string `json:"type"`
		Url         string `json:"url"`
		WafProvider string `json:"wafProvider"`
	}
}

func ParseGetV1OrganizationIdServicesResponse

func ParseGetV1OrganizationIdServicesResponse(rsp *http.Response) (*GetV1OrganizationIdServicesResponse, error)

ParseGetV1OrganizationIdServicesResponse parses an HTTP response from a GetV1OrganizationIdServicesWithResponse call

func (GetV1OrganizationIdServicesResponse) Status

Status returns HTTPResponse.Status

func (GetV1OrganizationIdServicesResponse) 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 PostApplicationsIdStartScan200Status

type PostApplicationsIdStartScan200Status string

type PostApplicationsIdStartScanJSONBody

type PostApplicationsIdStartScanJSONBody struct {
	CommitAuthor                   *string                  `json:"commitAuthor,omitempty"`
	CommitAuthorProfilePictureLink *string                  `json:"commitAuthorProfilePictureLink,omitempty"`
	CommitBranch                   *string                  `json:"commitBranch,omitempty"`
	CommitHash                     *string                  `json:"commitHash,omitempty"`
	CommitLink                     *string                  `json:"commitLink,omitempty"`
	ConfigurationOverride          *map[string]*interface{} `json:"configurationOverride,omitempty"`
	ForceLockBypass                *bool                    `json:"forceLockBypass,omitempty"`
	SchemaUrl                      *string                  `json:"schemaUrl,omitempty"`
}

PostApplicationsIdStartScanJSONBody defines parameters for PostApplicationsIdStartScan.

type PostApplicationsIdStartScanJSONRequestBody

type PostApplicationsIdStartScanJSONRequestBody PostApplicationsIdStartScanJSONBody

PostApplicationsIdStartScanJSONRequestBody defines body for PostApplicationsIdStartScan for application/json ContentType.

type PostApplicationsIdStartScanParams

type PostApplicationsIdStartScanParams struct {
	ContentType PostApplicationsIdStartScanParamsContentType `json:"content-type"`
}

PostApplicationsIdStartScanParams defines parameters for PostApplicationsIdStartScan.

type PostApplicationsIdStartScanParamsContentType

type PostApplicationsIdStartScanParamsContentType string

PostApplicationsIdStartScanParamsContentType defines parameters for PostApplicationsIdStartScan.

const (
	PostApplicationsIdStartScanParamsContentTypeApplicationjson PostApplicationsIdStartScanParamsContentType = "application/json"
)

Defines values for PostApplicationsIdStartScanParamsContentType.

type PostApplicationsIdStartScanResponse

type PostApplicationsIdStartScanResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		CompletionRatio     float32                              `json:"completionRatio"`
		CreatedAt           time.Time                            `json:"createdAt"`
		CreatedSince        float32                              `json:"createdSince"`
		Duration            *float32                             `json:"duration"`
		Id                  openapi_types.UUID                   `json:"id"`
		ReadonlyAccessToken string                               `json:"readonlyAccessToken"`
		Status              PostApplicationsIdStartScan200Status `json:"status"`
	}
	JSON400 *struct {
		Error   string `json:"error"`
		Message string `json:"message"`
	}
	JSON500 *struct {
		Message string `json:"message"`
	}
}

func ParsePostApplicationsIdStartScanResponse

func ParsePostApplicationsIdStartScanResponse(rsp *http.Response) (*PostApplicationsIdStartScanResponse, error)

ParsePostApplicationsIdStartScanResponse parses an HTTP response from a PostApplicationsIdStartScanWithResponse call

func (PostApplicationsIdStartScanResponse) Status

Status returns HTTPResponse.Status

func (PostApplicationsIdStartScanResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostApplicationsIdUploadSchemaJSONBody

type PostApplicationsIdUploadSchemaJSONBody struct {
	Schema    *string `json:"schema,omitempty"`
	SchemaUrl *string `json:"schemaUrl,omitempty"`
}

PostApplicationsIdUploadSchemaJSONBody defines parameters for PostApplicationsIdUploadSchema.

type PostApplicationsIdUploadSchemaJSONRequestBody

type PostApplicationsIdUploadSchemaJSONRequestBody PostApplicationsIdUploadSchemaJSONBody

PostApplicationsIdUploadSchemaJSONRequestBody defines body for PostApplicationsIdUploadSchema for application/json ContentType.

type PostApplicationsIdUploadSchemaParams

type PostApplicationsIdUploadSchemaParams struct {
	ContentType PostApplicationsIdUploadSchemaParamsContentType `json:"content-type"`
}

PostApplicationsIdUploadSchemaParams defines parameters for PostApplicationsIdUploadSchema.

type PostApplicationsIdUploadSchemaParamsContentType

type PostApplicationsIdUploadSchemaParamsContentType string

PostApplicationsIdUploadSchemaParamsContentType defines parameters for PostApplicationsIdUploadSchema.

const (
	PostApplicationsIdUploadSchemaParamsContentTypeApplicationjson PostApplicationsIdUploadSchemaParamsContentType = "application/json"
)

Defines values for PostApplicationsIdUploadSchemaParamsContentType.

type PostApplicationsIdUploadSchemaResponse

type PostApplicationsIdUploadSchemaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Id openapi_types.UUID `json:"id"`
	}
	JSON400 *struct {
		Error   string         `json:"error"`
		Events  *[]interface{} `json:"events,omitempty"`
		Message string         `json:"message"`
	}
	JSON500 *struct {
		Message string `json:"message"`
	}
}

func ParsePostApplicationsIdUploadSchemaResponse

func ParsePostApplicationsIdUploadSchemaResponse(rsp *http.Response) (*PostApplicationsIdUploadSchemaResponse, error)

ParsePostApplicationsIdUploadSchemaResponse parses an HTTP response from a PostApplicationsIdUploadSchemaWithResponse call

func (PostApplicationsIdUploadSchemaResponse) Status

Status returns HTTPResponse.Status

func (PostApplicationsIdUploadSchemaResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostCreateApplicationJSONBody

type PostCreateApplicationJSONBody struct {
	Authentication    *interface{}                      `json:"authentication"`
	Cron              *string                           `json:"cron,omitempty"`
	DisableScheduling *bool                             `json:"disableScheduling,omitempty"`
	FullConfiguration *interface{}                      `json:"fullConfiguration"`
	Labels            *[]string                         `json:"labels,omitempty"`
	LocationId        *openapi_types.UUID               `json:"locationId,omitempty"`
	Name              string                            `json:"name"`
	OrganizationId    openapi_types.UUID                `json:"organizationId"`
	ReadWrite         bool                              `json:"readWrite"`
	Schema            *string                           `json:"schema,omitempty"`
	SchemaUrl         *string                           `json:"schemaUrl,omitempty"`
	ServerUrl         string                            `json:"serverUrl"`
	Type              PostCreateApplicationJSONBodyType `json:"type"`
}

PostCreateApplicationJSONBody defines parameters for PostCreateApplication.

type PostCreateApplicationJSONBodyType

type PostCreateApplicationJSONBodyType string

PostCreateApplicationJSONBodyType defines parameters for PostCreateApplication.

const (
	GRAPHQL PostCreateApplicationJSONBodyType = "GRAPHQL"
	REST    PostCreateApplicationJSONBodyType = "REST"
)

Defines values for PostCreateApplicationJSONBodyType.

type PostCreateApplicationJSONRequestBody

type PostCreateApplicationJSONRequestBody PostCreateApplicationJSONBody

PostCreateApplicationJSONRequestBody defines body for PostCreateApplication for application/json ContentType.

type PostCreateApplicationParams

type PostCreateApplicationParams struct {
	ContentType PostCreateApplicationParamsContentType `json:"content-type"`
}

PostCreateApplicationParams defines parameters for PostCreateApplication.

type PostCreateApplicationParamsContentType

type PostCreateApplicationParamsContentType string

PostCreateApplicationParamsContentType defines parameters for PostCreateApplication.

const (
	Applicationjson PostCreateApplicationParamsContentType = "application/json"
)

Defines values for PostCreateApplicationParamsContentType.

type PostCreateApplicationResponse

type PostCreateApplicationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Href     string             `json:"href"`
		Id       openapi_types.UUID `json:"id"`
		LastScan struct {
			ScanId openapi_types.UUID `json:"scanId"`
		} `json:"lastScan"`
		Name string `json:"name"`
	}
	JSON400 *struct {
		Error   string         `json:"error"`
		Events  *[]interface{} `json:"events,omitempty"`
		Message string         `json:"message"`
	}
	JSON500 *struct {
		Message string `json:"message"`
	}
}

func ParsePostCreateApplicationResponse

func ParsePostCreateApplicationResponse(rsp *http.Response) (*PostCreateApplicationResponse, error)

ParsePostCreateApplicationResponse parses an HTTP response from a PostCreateApplicationWithResponse call

func (PostCreateApplicationResponse) Status

Status returns HTTPResponse.Status

func (PostCreateApplicationResponse) StatusCode

func (r PostCreateApplicationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV1Integrations2000

type PostV1Integrations2000 struct {
	Kind       PostV1Integrations2000Kind `json:"kind"`
	Parameters struct {
		AccessToken  string `json:"access_token"`
		ClientSecret string `json:"client_secret"`
		ClientToken  string `json:"client_token"`
		Host         string `json:"host"`
	} `json:"parameters"`
}

type PostV1Integrations2000Kind

type PostV1Integrations2000Kind string

type PostV1Integrations2001

type PostV1Integrations2001 struct {
	Kind       PostV1Integrations2001Kind `json:"kind"`
	Parameters struct {
		AuthProviderX509CertUrl string `json:"auth_provider_x509_cert_url"`
		AuthUri                 string `json:"auth_uri"`
		ClientEmail             string `json:"client_email"`
		ClientId                string `json:"client_id"`
		ClientX509CertUrl       string `json:"client_x509_cert_url"`
		PrivateKey              string `json:"private_key"`
		PrivateKeyId            string `json:"private_key_id"`
		ProjectId               string `json:"project_id"`
		TokenUri                string `json:"token_uri"`
		Type                    string `json:"type"`
		UniverseDomain          string `json:"universe_domain"`
	} `json:"parameters"`
}

type PostV1Integrations20010

type PostV1Integrations20010 struct {
	Kind       PostV1Integrations20010Kind `json:"kind"`
	Parameters struct {
		ApiKey string `json:"api_key"`
	} `json:"parameters"`
}

type PostV1Integrations20010Kind

type PostV1Integrations20010Kind string

type PostV1Integrations20011

type PostV1Integrations20011 struct {
	Kind       PostV1Integrations20011Kind `json:"kind"`
	Parameters struct {
		ApiKey      string  `json:"api_key"`
		InstanceUrl *string `json:"instance_url,omitempty"`
	} `json:"parameters"`
}

type PostV1Integrations20011Kind

type PostV1Integrations20011Kind string

type PostV1Integrations20012

type PostV1Integrations20012 struct {
	Kind       PostV1Integrations20012Kind `json:"kind"`
	Parameters struct {
		AccessToken  string  `json:"access_token"`
		ApiKey       string  `json:"api_key"`
		InstanceUrl  string  `json:"instance_url"`
		RefreshToken *string `json:"refresh_token,omitempty"`
	} `json:"parameters"`
}

type PostV1Integrations20012Kind

type PostV1Integrations20012Kind string

type PostV1Integrations20013

type PostV1Integrations20013 struct {
	Kind       PostV1Integrations20013Kind `json:"kind"`
	Parameters struct {
		AdminApiUrl string `json:"admin_api_url"`
		ApiKey      string `json:"api_key"`
	} `json:"parameters"`
}

type PostV1Integrations20013Kind

type PostV1Integrations20013Kind string

type PostV1Integrations20014

type PostV1Integrations20014 struct {
	Kind       PostV1Integrations20014Kind `json:"kind"`
	Parameters struct {
		Region             PostV1Integrations20014ParametersRegion `json:"region"`
		SystemAccountToken string                                  `json:"system_account_token"`
	} `json:"parameters"`
}

type PostV1Integrations20014Kind

type PostV1Integrations20014Kind string

type PostV1Integrations20014ParametersRegion

type PostV1Integrations20014ParametersRegion string

type PostV1Integrations20015

type PostV1Integrations20015 struct {
	Kind       PostV1Integrations20015Kind `json:"kind"`
	Parameters struct {
		Blacklist struct {
			Namespaces *[]string `json:"namespaces,omitempty"`
		} `json:"blacklist"`
		Tags struct {
			Labels     *[]string `json:"labels,omitempty"`
			Namespaces *bool     `json:"namespaces,omitempty"`
		} `json:"tags"`
	} `json:"parameters"`
}

type PostV1Integrations20015Kind

type PostV1Integrations20015Kind string

type PostV1Integrations20016

type PostV1Integrations20016 struct {
	Kind       PostV1Integrations20016Kind `json:"kind"`
	Parameters struct {
		ApiKey string `json:"api_key"`
	} `json:"parameters"`
}

type PostV1Integrations20016Kind

type PostV1Integrations20016Kind string

type PostV1Integrations20017

type PostV1Integrations20017 struct {
	Kind       PostV1Integrations20017Kind `json:"kind"`
	Parameters map[string]interface{}      `json:"parameters"`
}

type PostV1Integrations20017Kind

type PostV1Integrations20017Kind string

type PostV1Integrations20018

type PostV1Integrations20018 struct {
	Kind       PostV1Integrations20018Kind `json:"kind"`
	Parameters map[string]interface{}      `json:"parameters"`
}

type PostV1Integrations20018Kind

type PostV1Integrations20018Kind string

type PostV1Integrations20019

type PostV1Integrations20019 struct {
	Kind       PostV1Integrations20019Kind `json:"kind"`
	Parameters map[string]interface{}      `json:"parameters"`
}

type PostV1Integrations20019Kind

type PostV1Integrations20019Kind string

type PostV1Integrations2001Kind

type PostV1Integrations2001Kind string

type PostV1Integrations2002

type PostV1Integrations2002 struct {
	Kind       PostV1Integrations2002Kind `json:"kind"`
	Parameters struct {
		PrivKey string `json:"priv_key"`
		PubKey  string `json:"pub_key"`
	} `json:"parameters"`
}

type PostV1Integrations20020

type PostV1Integrations20020 struct {
	Kind       PostV1Integrations20020Kind `json:"kind"`
	Parameters struct {
		ApiEndpoint  string `json:"api_endpoint"`
		ClientId     string `json:"client_id"`
		ClientSecret string `json:"client_secret"`
		TokenUri     string `json:"token_uri"`
	} `json:"parameters"`
}

type PostV1Integrations20020Kind

type PostV1Integrations20020Kind string

type PostV1Integrations2002Kind

type PostV1Integrations2002Kind string

type PostV1Integrations2003

type PostV1Integrations2003 struct {
	Kind       PostV1Integrations2003Kind `json:"kind"`
	Parameters struct {
		ClientId       string  `json:"client_id"`
		ClientSecret   string  `json:"client_secret"`
		SubscriptionId *string `json:"subscription_id,omitempty"`
		TenantId       string  `json:"tenant_id"`
	} `json:"parameters"`
}

type PostV1Integrations2003Kind

type PostV1Integrations2003Kind string

type PostV1Integrations2004

type PostV1Integrations2004 struct {
	Kind       PostV1Integrations2004Kind `json:"kind"`
	Parameters struct {
		ApiKey      string `json:"api_key"`
		InstanceUrl string `json:"instance_url"`
	} `json:"parameters"`
}

type PostV1Integrations2004Kind

type PostV1Integrations2004Kind string

type PostV1Integrations2005

type PostV1Integrations2005 struct {
	Kind       PostV1Integrations2005Kind `json:"kind"`
	Parameters struct {
		ApiKey         string  `json:"api_key"`
		InstanceUrl    *string `json:"instance_url,omitempty"`
		RepositoryName string  `json:"repository_name"`
		Username       *string `json:"username,omitempty"`
		WorkspaceName  string  `json:"workspace_name"`
	} `json:"parameters"`
}

type PostV1Integrations2005Kind

type PostV1Integrations2005Kind string

type PostV1Integrations2006

type PostV1Integrations2006 struct {
	Kind       PostV1Integrations2006Kind `json:"kind"`
	Parameters struct {
		ApiKey string `json:"api_key"`
	} `json:"parameters"`
}

type PostV1Integrations2006Kind

type PostV1Integrations2006Kind string

type PostV1Integrations2007

type PostV1Integrations2007 struct {
	Kind       PostV1Integrations2007Kind `json:"kind"`
	Parameters map[string]interface{}     `json:"parameters"`
}

type PostV1Integrations2007Kind

type PostV1Integrations2007Kind string

type PostV1Integrations2008

type PostV1Integrations2008 struct {
	Kind       PostV1Integrations2008Kind `json:"kind"`
	Parameters map[string]interface{}     `json:"parameters"`
}

type PostV1Integrations2008Kind

type PostV1Integrations2008Kind string

type PostV1Integrations2009

type PostV1Integrations2009 struct {
	Kind       PostV1Integrations2009Kind `json:"kind"`
	Parameters struct {
		AuthProviderX509CertUrl string `json:"auth_provider_x509_cert_url"`
		AuthUri                 string `json:"auth_uri"`
		ClientEmail             string `json:"client_email"`
		ClientId                string `json:"client_id"`
		ClientX509CertUrl       string `json:"client_x509_cert_url"`
		PrivateKey              string `json:"private_key"`
		PrivateKeyId            string `json:"private_key_id"`
		ProjectId               string `json:"project_id"`
		TokenUri                string `json:"token_uri"`
		Type                    string `json:"type"`
		UniverseDomain          string `json:"universe_domain"`
	} `json:"parameters"`
}

type PostV1Integrations2009Kind

type PostV1Integrations2009Kind string

type PostV1IntegrationsJSONBody

type PostV1IntegrationsJSONBody struct {
	LocationId *openapi_types.UUID `json:"locationId"`
	Name       string              `json:"name"`
	// contains filtered or unexported fields
}

PostV1IntegrationsJSONBody defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody0

type PostV1IntegrationsJSONBody0 struct {
	Kind       PostV1IntegrationsJSONBody0Kind `json:"kind"`
	Parameters struct {
		AccessToken  string `json:"access_token"`
		ClientSecret string `json:"client_secret"`
		ClientToken  string `json:"client_token"`
		Host         string `json:"host"`
	} `json:"parameters"`
}

PostV1IntegrationsJSONBody0 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody0Kind

type PostV1IntegrationsJSONBody0Kind string

PostV1IntegrationsJSONBody0Kind defines parameters for PostV1Integrations.

const (
	AKAMAI PostV1IntegrationsJSONBody0Kind = "AKAMAI"
)

Defines values for PostV1IntegrationsJSONBody0Kind.

type PostV1IntegrationsJSONBody1

type PostV1IntegrationsJSONBody1 struct {
	Kind       PostV1IntegrationsJSONBody1Kind `json:"kind"`
	Parameters struct {
		AuthProviderX509CertUrl string `json:"auth_provider_x509_cert_url"`
		AuthUri                 string `json:"auth_uri"`
		ClientEmail             string `json:"client_email"`
		ClientId                string `json:"client_id"`
		ClientX509CertUrl       string `json:"client_x509_cert_url"`
		PrivateKey              string `json:"private_key"`
		PrivateKeyId            string `json:"private_key_id"`
		ProjectId               string `json:"project_id"`
		TokenUri                string `json:"token_uri"`
		Type                    string `json:"type"`
		UniverseDomain          string `json:"universe_domain"`
	} `json:"parameters"`
}

PostV1IntegrationsJSONBody1 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody10

type PostV1IntegrationsJSONBody10 struct {
	Kind       PostV1IntegrationsJSONBody10Kind `json:"kind"`
	Parameters struct {
		ApiKey string `json:"api_key"`
	} `json:"parameters"`
}

PostV1IntegrationsJSONBody10 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody10Kind

type PostV1IntegrationsJSONBody10Kind string

PostV1IntegrationsJSONBody10Kind defines parameters for PostV1Integrations.

const (
	GITHUBAPIKEY PostV1IntegrationsJSONBody10Kind = "GITHUB_API_KEY"
)

Defines values for PostV1IntegrationsJSONBody10Kind.

type PostV1IntegrationsJSONBody11

type PostV1IntegrationsJSONBody11 struct {
	Kind       PostV1IntegrationsJSONBody11Kind `json:"kind"`
	Parameters struct {
		ApiKey      string  `json:"api_key"`
		InstanceUrl *string `json:"instance_url,omitempty"`
	} `json:"parameters"`
}

PostV1IntegrationsJSONBody11 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody11Kind

type PostV1IntegrationsJSONBody11Kind string

PostV1IntegrationsJSONBody11Kind defines parameters for PostV1Integrations.

const (
	GITLABAPIKEY PostV1IntegrationsJSONBody11Kind = "GITLAB_API_KEY"
)

Defines values for PostV1IntegrationsJSONBody11Kind.

type PostV1IntegrationsJSONBody12

type PostV1IntegrationsJSONBody12 struct {
	Kind       PostV1IntegrationsJSONBody12Kind `json:"kind"`
	Parameters struct {
		AccessToken  string  `json:"access_token"`
		ApiKey       string  `json:"api_key"`
		InstanceUrl  string  `json:"instance_url"`
		RefreshToken *string `json:"refresh_token,omitempty"`
	} `json:"parameters"`
}

PostV1IntegrationsJSONBody12 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody12Kind

type PostV1IntegrationsJSONBody12Kind string

PostV1IntegrationsJSONBody12Kind defines parameters for PostV1Integrations.

const (
	JIRA PostV1IntegrationsJSONBody12Kind = "JIRA"
)

Defines values for PostV1IntegrationsJSONBody12Kind.

type PostV1IntegrationsJSONBody13

type PostV1IntegrationsJSONBody13 struct {
	Kind       PostV1IntegrationsJSONBody13Kind `json:"kind"`
	Parameters struct {
		AdminApiUrl string `json:"admin_api_url"`
		ApiKey      string `json:"api_key"`
	} `json:"parameters"`
}

PostV1IntegrationsJSONBody13 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody13Kind

type PostV1IntegrationsJSONBody13Kind string

PostV1IntegrationsJSONBody13Kind defines parameters for PostV1Integrations.

const (
	KONGGATEWAY PostV1IntegrationsJSONBody13Kind = "KONG_GATEWAY"
)

Defines values for PostV1IntegrationsJSONBody13Kind.

type PostV1IntegrationsJSONBody14

type PostV1IntegrationsJSONBody14 struct {
	Kind       PostV1IntegrationsJSONBody14Kind `json:"kind"`
	Parameters struct {
		Region             PostV1IntegrationsJSONBody14ParametersRegion `json:"region"`
		SystemAccountToken string                                       `json:"system_account_token"`
	} `json:"parameters"`
}

PostV1IntegrationsJSONBody14 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody14Kind

type PostV1IntegrationsJSONBody14Kind string

PostV1IntegrationsJSONBody14Kind defines parameters for PostV1Integrations.

const (
	KONGKONNECT PostV1IntegrationsJSONBody14Kind = "KONG_KONNECT"
)

Defines values for PostV1IntegrationsJSONBody14Kind.

type PostV1IntegrationsJSONBody14ParametersRegion

type PostV1IntegrationsJSONBody14ParametersRegion string

PostV1IntegrationsJSONBody14ParametersRegion defines parameters for PostV1Integrations.

Defines values for PostV1IntegrationsJSONBody14ParametersRegion.

type PostV1IntegrationsJSONBody15

type PostV1IntegrationsJSONBody15 struct {
	Kind       PostV1IntegrationsJSONBody15Kind `json:"kind"`
	Parameters struct {
		Blacklist struct {
			Namespaces *[]string `json:"namespaces,omitempty"`
		} `json:"blacklist"`
		Tags struct {
			Labels     *[]string `json:"labels,omitempty"`
			Namespaces *bool     `json:"namespaces,omitempty"`
		} `json:"tags"`
	} `json:"parameters"`
}

PostV1IntegrationsJSONBody15 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody15Kind

type PostV1IntegrationsJSONBody15Kind string

PostV1IntegrationsJSONBody15Kind defines parameters for PostV1Integrations.

const (
	KUBERNETES PostV1IntegrationsJSONBody15Kind = "KUBERNETES"
)

Defines values for PostV1IntegrationsJSONBody15Kind.

type PostV1IntegrationsJSONBody16

type PostV1IntegrationsJSONBody16 struct {
	Kind       PostV1IntegrationsJSONBody16Kind `json:"kind"`
	Parameters struct {
		ApiKey string `json:"api_key"`
	} `json:"parameters"`
}

PostV1IntegrationsJSONBody16 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody16Kind

type PostV1IntegrationsJSONBody16Kind string

PostV1IntegrationsJSONBody16Kind defines parameters for PostV1Integrations.

const (
	POSTMANAPIKEY PostV1IntegrationsJSONBody16Kind = "POSTMAN_API_KEY"
)

Defines values for PostV1IntegrationsJSONBody16Kind.

type PostV1IntegrationsJSONBody17

type PostV1IntegrationsJSONBody17 struct {
	Kind       PostV1IntegrationsJSONBody17Kind `json:"kind"`
	Parameters map[string]interface{}           `json:"parameters"`
}

PostV1IntegrationsJSONBody17 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody17Kind

type PostV1IntegrationsJSONBody17Kind string

PostV1IntegrationsJSONBody17Kind defines parameters for PostV1Integrations.

const (
	SLACKWEBHOOK PostV1IntegrationsJSONBody17Kind = "SLACK_WEBHOOK"
)

Defines values for PostV1IntegrationsJSONBody17Kind.

type PostV1IntegrationsJSONBody18

type PostV1IntegrationsJSONBody18 struct {
	Kind       PostV1IntegrationsJSONBody18Kind `json:"kind"`
	Parameters map[string]interface{}           `json:"parameters"`
}

PostV1IntegrationsJSONBody18 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody18Kind

type PostV1IntegrationsJSONBody18Kind string

PostV1IntegrationsJSONBody18Kind defines parameters for PostV1Integrations.

const (
	TEAMSWEBHOOK PostV1IntegrationsJSONBody18Kind = "TEAMS_WEBHOOK"
)

Defines values for PostV1IntegrationsJSONBody18Kind.

type PostV1IntegrationsJSONBody19

type PostV1IntegrationsJSONBody19 struct {
	Kind       PostV1IntegrationsJSONBody19Kind `json:"kind"`
	Parameters map[string]interface{}           `json:"parameters"`
}

PostV1IntegrationsJSONBody19 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody19Kind

type PostV1IntegrationsJSONBody19Kind string

PostV1IntegrationsJSONBody19Kind defines parameters for PostV1Integrations.

const (
	WEBHOOK PostV1IntegrationsJSONBody19Kind = "WEBHOOK"
)

Defines values for PostV1IntegrationsJSONBody19Kind.

type PostV1IntegrationsJSONBody1Kind

type PostV1IntegrationsJSONBody1Kind string

PostV1IntegrationsJSONBody1Kind defines parameters for PostV1Integrations.

const (
	APIGEE PostV1IntegrationsJSONBody1Kind = "APIGEE"
)

Defines values for PostV1IntegrationsJSONBody1Kind.

type PostV1IntegrationsJSONBody2

type PostV1IntegrationsJSONBody2 struct {
	Kind       PostV1IntegrationsJSONBody2Kind `json:"kind"`
	Parameters struct {
		PrivKey string `json:"priv_key"`
		PubKey  string `json:"pub_key"`
	} `json:"parameters"`
}

PostV1IntegrationsJSONBody2 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody20

type PostV1IntegrationsJSONBody20 struct {
	Kind       PostV1IntegrationsJSONBody20Kind `json:"kind"`
	Parameters struct {
		ApiEndpoint  string `json:"api_endpoint"`
		ClientId     string `json:"client_id"`
		ClientSecret string `json:"client_secret"`
		TokenUri     string `json:"token_uri"`
	} `json:"parameters"`
}

PostV1IntegrationsJSONBody20 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody20Kind

type PostV1IntegrationsJSONBody20Kind string

PostV1IntegrationsJSONBody20Kind defines parameters for PostV1Integrations.

const (
	WIZ PostV1IntegrationsJSONBody20Kind = "WIZ"
)

Defines values for PostV1IntegrationsJSONBody20Kind.

type PostV1IntegrationsJSONBody2Kind

type PostV1IntegrationsJSONBody2Kind string

PostV1IntegrationsJSONBody2Kind defines parameters for PostV1Integrations.

const (
	AWS PostV1IntegrationsJSONBody2Kind = "AWS"
)

Defines values for PostV1IntegrationsJSONBody2Kind.

type PostV1IntegrationsJSONBody3

type PostV1IntegrationsJSONBody3 struct {
	Kind       PostV1IntegrationsJSONBody3Kind `json:"kind"`
	Parameters struct {
		ClientId       string  `json:"client_id"`
		ClientSecret   string  `json:"client_secret"`
		SubscriptionId *string `json:"subscription_id,omitempty"`
		TenantId       string  `json:"tenant_id"`
	} `json:"parameters"`
}

PostV1IntegrationsJSONBody3 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody3Kind

type PostV1IntegrationsJSONBody3Kind string

PostV1IntegrationsJSONBody3Kind defines parameters for PostV1Integrations.

const (
	AZURE PostV1IntegrationsJSONBody3Kind = "AZURE"
)

Defines values for PostV1IntegrationsJSONBody3Kind.

type PostV1IntegrationsJSONBody4

type PostV1IntegrationsJSONBody4 struct {
	Kind       PostV1IntegrationsJSONBody4Kind `json:"kind"`
	Parameters struct {
		ApiKey      string `json:"api_key"`
		InstanceUrl string `json:"instance_url"`
	} `json:"parameters"`
}

PostV1IntegrationsJSONBody4 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody4Kind

type PostV1IntegrationsJSONBody4Kind string

PostV1IntegrationsJSONBody4Kind defines parameters for PostV1Integrations.

const (
	AZUREDEVOPS PostV1IntegrationsJSONBody4Kind = "AZURE_DEVOPS"
)

Defines values for PostV1IntegrationsJSONBody4Kind.

type PostV1IntegrationsJSONBody5

type PostV1IntegrationsJSONBody5 struct {
	Kind       PostV1IntegrationsJSONBody5Kind `json:"kind"`
	Parameters struct {
		ApiKey         string  `json:"api_key"`
		InstanceUrl    *string `json:"instance_url,omitempty"`
		RepositoryName string  `json:"repository_name"`
		Username       *string `json:"username,omitempty"`
		WorkspaceName  string  `json:"workspace_name"`
	} `json:"parameters"`
}

PostV1IntegrationsJSONBody5 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody5Kind

type PostV1IntegrationsJSONBody5Kind string

PostV1IntegrationsJSONBody5Kind defines parameters for PostV1Integrations.

const (
	BITBUCKETREPO PostV1IntegrationsJSONBody5Kind = "BITBUCKET_REPO"
)

Defines values for PostV1IntegrationsJSONBody5Kind.

type PostV1IntegrationsJSONBody6

type PostV1IntegrationsJSONBody6 struct {
	Kind       PostV1IntegrationsJSONBody6Kind `json:"kind"`
	Parameters struct {
		ApiKey string `json:"api_key"`
	} `json:"parameters"`
}

PostV1IntegrationsJSONBody6 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody6Kind

type PostV1IntegrationsJSONBody6Kind string

PostV1IntegrationsJSONBody6Kind defines parameters for PostV1Integrations.

const (
	CLOUDFLARE PostV1IntegrationsJSONBody6Kind = "CLOUDFLARE"
)

Defines values for PostV1IntegrationsJSONBody6Kind.

type PostV1IntegrationsJSONBody7

type PostV1IntegrationsJSONBody7 struct {
	Kind       PostV1IntegrationsJSONBody7Kind `json:"kind"`
	Parameters map[string]interface{}          `json:"parameters"`
}

PostV1IntegrationsJSONBody7 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody7Kind

type PostV1IntegrationsJSONBody7Kind string

PostV1IntegrationsJSONBody7Kind defines parameters for PostV1Integrations.

const (
	DISCORDWEBHOOK PostV1IntegrationsJSONBody7Kind = "DISCORD_WEBHOOK"
)

Defines values for PostV1IntegrationsJSONBody7Kind.

type PostV1IntegrationsJSONBody8

type PostV1IntegrationsJSONBody8 struct {
	Kind       PostV1IntegrationsJSONBody8Kind `json:"kind"`
	Parameters map[string]interface{}          `json:"parameters"`
}

PostV1IntegrationsJSONBody8 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody8Kind

type PostV1IntegrationsJSONBody8Kind string

PostV1IntegrationsJSONBody8Kind defines parameters for PostV1Integrations.

const (
	EMAIL PostV1IntegrationsJSONBody8Kind = "EMAIL"
)

Defines values for PostV1IntegrationsJSONBody8Kind.

type PostV1IntegrationsJSONBody9

type PostV1IntegrationsJSONBody9 struct {
	Kind       PostV1IntegrationsJSONBody9Kind `json:"kind"`
	Parameters struct {
		AuthProviderX509CertUrl string `json:"auth_provider_x509_cert_url"`
		AuthUri                 string `json:"auth_uri"`
		ClientEmail             string `json:"client_email"`
		ClientId                string `json:"client_id"`
		ClientX509CertUrl       string `json:"client_x509_cert_url"`
		PrivateKey              string `json:"private_key"`
		PrivateKeyId            string `json:"private_key_id"`
		ProjectId               string `json:"project_id"`
		TokenUri                string `json:"token_uri"`
		Type                    string `json:"type"`
		UniverseDomain          string `json:"universe_domain"`
	} `json:"parameters"`
}

PostV1IntegrationsJSONBody9 defines parameters for PostV1Integrations.

type PostV1IntegrationsJSONBody9Kind

type PostV1IntegrationsJSONBody9Kind string

PostV1IntegrationsJSONBody9Kind defines parameters for PostV1Integrations.

const (
	GCP PostV1IntegrationsJSONBody9Kind = "GCP"
)

Defines values for PostV1IntegrationsJSONBody9Kind.

type PostV1IntegrationsJSONRequestBody

type PostV1IntegrationsJSONRequestBody PostV1IntegrationsJSONBody

PostV1IntegrationsJSONRequestBody defines body for PostV1Integrations for application/json ContentType.

type PostV1IntegrationsResponse

type PostV1IntegrationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		LocationId *openapi_types.UUID `json:"locationId"`
		Name       string              `json:"name"`
		// contains filtered or unexported fields
	}
	JSON400 *struct {
		Events []struct {
			Logline  string  `json:"logline"`
			Severity *string `json:"severity"`
		} `json:"events"`
		Message string `json:"message"`
		Name    string `json:"name"`
	}
	JSON500 *struct {
		Message string `json:"message"`
		Name    string `json:"name"`
	}
}

func ParsePostV1IntegrationsResponse

func ParsePostV1IntegrationsResponse(rsp *http.Response) (*PostV1IntegrationsResponse, error)

ParsePostV1IntegrationsResponse parses an HTTP response from a PostV1IntegrationsWithResponse call

func (PostV1IntegrationsResponse) Status

Status returns HTTPResponse.Status

func (PostV1IntegrationsResponse) StatusCode

func (r PostV1IntegrationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV1LocationsJSONBody

type PostV1LocationsJSONBody struct {
	Name string `json:"name"`
}

PostV1LocationsJSONBody defines parameters for PostV1Locations.

type PostV1LocationsJSONRequestBody

type PostV1LocationsJSONRequestBody PostV1LocationsJSONBody

PostV1LocationsJSONRequestBody defines body for PostV1Locations for application/json ContentType.

type PostV1LocationsResponse

type PostV1LocationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Location struct {
			Id   string `json:"id"`
			Name string `json:"name"`
			Type string `json:"type"`
		} `json:"location"`
	}
	JSON400 *struct {
		Message string `json:"message"`
		Name    string `json:"name"`
	}
	JSON500 *struct {
		Message string `json:"message"`
		Name    string `json:"name"`
	}
}

func ParsePostV1LocationsResponse

func ParsePostV1LocationsResponse(rsp *http.Response) (*PostV1LocationsResponse, error)

ParsePostV1LocationsResponse parses an HTTP response from a PostV1LocationsWithResponse call

func (PostV1LocationsResponse) Status

func (r PostV1LocationsResponse) Status() string

Status returns HTTPResponse.Status

func (PostV1LocationsResponse) StatusCode

func (r PostV1LocationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

Jump to

Keyboard shortcuts

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