event

package
v0.0.0-...-c5b8628 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Overview

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

Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.1-0.20240123090344-d326c01d279a DO NOT EDIT.

Index

Constants

View Source
const (
	OAuth2ClientCredentialsScopes = "oAuth2ClientCredentials.Scopes"
)

Variables

This section is empty.

Functions

func GetKinOpenApi3Document

func GetKinOpenApi3Document() (*openapi3.T, error)

func GetKinOpenApi3DocumentMust

func GetKinOpenApi3DocumentMust() *openapi3.T

func NewDeletePcEventExposureSubscRequest

func NewDeletePcEventExposureSubscRequest(server string, subscriptionId string) (*http.Request, error)

NewDeletePcEventExposureSubscRequest generates requests for DeletePcEventExposureSubsc

func NewGetPcEventExposureSubscRequest

func NewGetPcEventExposureSubscRequest(server string, subscriptionId string) (*http.Request, error)

NewGetPcEventExposureSubscRequest generates requests for GetPcEventExposureSubsc

func NewPostPcEventExposureSubscRequest

func NewPostPcEventExposureSubscRequest(server string, body PostPcEventExposureSubscJSONRequestBody) (*http.Request, error)

NewPostPcEventExposureSubscRequest calls the generic PostPcEventExposureSubsc builder with application/json body

func NewPostPcEventExposureSubscRequestWithBody

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

NewPostPcEventExposureSubscRequestWithBody generates requests for PostPcEventExposureSubsc with any type of body

func NewPutPcEventExposureSubscRequest

func NewPutPcEventExposureSubscRequest(server string, subscriptionId string, body PutPcEventExposureSubscJSONRequestBody) (*http.Request, error)

NewPutPcEventExposureSubscRequest calls the generic PutPcEventExposureSubsc builder with application/json body

func NewPutPcEventExposureSubscRequestWithBody

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

NewPutPcEventExposureSubscRequestWithBody generates requests for PutPcEventExposureSubsc with any type of body

func RegisterHandlers

func RegisterHandlers(router gin.IRouter, si ServerInterface)

RegisterHandlers creates http.Handler with routing matching OpenAPI spec.

func RegisterHandlersWithOptions

func RegisterHandlersWithOptions(router gin.IRouter, si ServerInterface, options GinServerOptions)

RegisterHandlersWithOptions creates http.Handler with additional options

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) DeletePcEventExposureSubsc

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

func (*Client) GetPcEventExposureSubsc

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

func (*Client) PostPcEventExposureSubsc

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

func (*Client) PostPcEventExposureSubscWithBody

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

func (*Client) PutPcEventExposureSubsc

func (c *Client) PutPcEventExposureSubsc(ctx context.Context, subscriptionId string, body PutPcEventExposureSubscJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutPcEventExposureSubscWithBody

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

type ClientInterface

type ClientInterface interface {
	// PostPcEventExposureSubscWithBody request with any body
	PostPcEventExposureSubscWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostPcEventExposureSubsc(ctx context.Context, body PostPcEventExposureSubscJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	PutPcEventExposureSubsc(ctx context.Context, subscriptionId string, body PutPcEventExposureSubscJSONRequestBody, 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) DeletePcEventExposureSubscWithResponse

func (c *ClientWithResponses) DeletePcEventExposureSubscWithResponse(ctx context.Context, subscriptionId string, reqEditors ...RequestEditorFn) (*DeletePcEventExposureSubscResponse, error)

DeletePcEventExposureSubscWithResponse request returning *DeletePcEventExposureSubscResponse

func (*ClientWithResponses) GetPcEventExposureSubscWithResponse

func (c *ClientWithResponses) GetPcEventExposureSubscWithResponse(ctx context.Context, subscriptionId string, reqEditors ...RequestEditorFn) (*GetPcEventExposureSubscResponse, error)

GetPcEventExposureSubscWithResponse request returning *GetPcEventExposureSubscResponse

func (*ClientWithResponses) PostPcEventExposureSubscWithBodyWithResponse

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

PostPcEventExposureSubscWithBodyWithResponse request with arbitrary body returning *PostPcEventExposureSubscResponse

func (*ClientWithResponses) PostPcEventExposureSubscWithResponse

func (c *ClientWithResponses) PostPcEventExposureSubscWithResponse(ctx context.Context, body PostPcEventExposureSubscJSONRequestBody, reqEditors ...RequestEditorFn) (*PostPcEventExposureSubscResponse, error)

func (*ClientWithResponses) PutPcEventExposureSubscWithBodyWithResponse

func (c *ClientWithResponses) PutPcEventExposureSubscWithBodyWithResponse(ctx context.Context, subscriptionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPcEventExposureSubscResponse, error)

PutPcEventExposureSubscWithBodyWithResponse request with arbitrary body returning *PutPcEventExposureSubscResponse

func (*ClientWithResponses) PutPcEventExposureSubscWithResponse

func (c *ClientWithResponses) PutPcEventExposureSubscWithResponse(ctx context.Context, subscriptionId string, body PutPcEventExposureSubscJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPcEventExposureSubscResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// PostPcEventExposureSubscWithBodyWithResponse request with any body
	PostPcEventExposureSubscWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPcEventExposureSubscResponse, error)

	PostPcEventExposureSubscWithResponse(ctx context.Context, body PostPcEventExposureSubscJSONRequestBody, reqEditors ...RequestEditorFn) (*PostPcEventExposureSubscResponse, error)

	// DeletePcEventExposureSubscWithResponse request
	DeletePcEventExposureSubscWithResponse(ctx context.Context, subscriptionId string, reqEditors ...RequestEditorFn) (*DeletePcEventExposureSubscResponse, error)

	// GetPcEventExposureSubscWithResponse request
	GetPcEventExposureSubscWithResponse(ctx context.Context, subscriptionId string, reqEditors ...RequestEditorFn) (*GetPcEventExposureSubscResponse, error)

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

	PutPcEventExposureSubscWithResponse(ctx context.Context, subscriptionId string, body PutPcEventExposureSubscJSONRequestBody, reqEditors ...RequestEditorFn) (*PutPcEventExposureSubscResponse, error)
}

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

type DeletePcEventExposureSubsc204Response

type DeletePcEventExposureSubsc204Response struct {
}

func (DeletePcEventExposureSubsc204Response) VisitDeletePcEventExposureSubscResponse

func (response DeletePcEventExposureSubsc204Response) VisitDeletePcEventExposureSubscResponse(w http.ResponseWriter) error

type DeletePcEventExposureSubsc307JSONResponse

type DeletePcEventExposureSubsc307JSONResponse struct{ externalRef0.N307JSONResponse }

func (DeletePcEventExposureSubsc307JSONResponse) VisitDeletePcEventExposureSubscResponse

func (response DeletePcEventExposureSubsc307JSONResponse) VisitDeletePcEventExposureSubscResponse(w http.ResponseWriter) error

type DeletePcEventExposureSubsc308JSONResponse

type DeletePcEventExposureSubsc308JSONResponse struct{ externalRef0.N308JSONResponse }

func (DeletePcEventExposureSubsc308JSONResponse) VisitDeletePcEventExposureSubscResponse

func (response DeletePcEventExposureSubsc308JSONResponse) VisitDeletePcEventExposureSubscResponse(w http.ResponseWriter) error

type DeletePcEventExposureSubsc400ApplicationProblemPlusJSONResponse

type DeletePcEventExposureSubsc400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (DeletePcEventExposureSubsc400ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse

func (response DeletePcEventExposureSubsc400ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse(w http.ResponseWriter) error

type DeletePcEventExposureSubsc401ApplicationProblemPlusJSONResponse

type DeletePcEventExposureSubsc401ApplicationProblemPlusJSONResponse struct {
	externalRef0.N401ApplicationProblemPlusJSONResponse
}

func (DeletePcEventExposureSubsc401ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse

func (response DeletePcEventExposureSubsc401ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse(w http.ResponseWriter) error

type DeletePcEventExposureSubsc403ApplicationProblemPlusJSONResponse

type DeletePcEventExposureSubsc403ApplicationProblemPlusJSONResponse struct {
	externalRef0.N403ApplicationProblemPlusJSONResponse
}

func (DeletePcEventExposureSubsc403ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse

func (response DeletePcEventExposureSubsc403ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse(w http.ResponseWriter) error

type DeletePcEventExposureSubsc404ApplicationProblemPlusJSONResponse

type DeletePcEventExposureSubsc404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (DeletePcEventExposureSubsc404ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse

func (response DeletePcEventExposureSubsc404ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse(w http.ResponseWriter) error

type DeletePcEventExposureSubsc429ApplicationProblemPlusJSONResponse

type DeletePcEventExposureSubsc429ApplicationProblemPlusJSONResponse struct {
	externalRef0.N429ApplicationProblemPlusJSONResponse
}

func (DeletePcEventExposureSubsc429ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse

func (response DeletePcEventExposureSubsc429ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse(w http.ResponseWriter) error

type DeletePcEventExposureSubsc500ApplicationProblemPlusJSONResponse

type DeletePcEventExposureSubsc500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (DeletePcEventExposureSubsc500ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse

func (response DeletePcEventExposureSubsc500ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse(w http.ResponseWriter) error

type DeletePcEventExposureSubsc503ApplicationProblemPlusJSONResponse

type DeletePcEventExposureSubsc503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (DeletePcEventExposureSubsc503ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse

func (response DeletePcEventExposureSubsc503ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse(w http.ResponseWriter) error

type DeletePcEventExposureSubscRequestObject

type DeletePcEventExposureSubscRequestObject struct {
	SubscriptionId string `json:"subscriptionId"`
}

type DeletePcEventExposureSubscResponse

type DeletePcEventExposureSubscResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON307                       *externalRef0.N307
	JSON308                       *externalRef0.N308
	ApplicationproblemJSON400     *externalRef0.N400
	ApplicationproblemJSON401     *externalRef0.N401
	ApplicationproblemJSON403     *externalRef0.N403
	ApplicationproblemJSON404     *externalRef0.N404
	ApplicationproblemJSON429     *externalRef0.N429
	ApplicationproblemJSON500     *externalRef0.N500
	ApplicationproblemJSON503     *externalRef0.N503
	ApplicationproblemJSONDefault *externalRef0.Default
}

func ParseDeletePcEventExposureSubscResponse

func ParseDeletePcEventExposureSubscResponse(rsp *http.Response) (*DeletePcEventExposureSubscResponse, error)

ParseDeletePcEventExposureSubscResponse parses an HTTP response from a DeletePcEventExposureSubscWithResponse call

func (DeletePcEventExposureSubscResponse) Status

Status returns HTTPResponse.Status

func (DeletePcEventExposureSubscResponse) StatusCode

func (r DeletePcEventExposureSubscResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePcEventExposureSubscResponseObject

type DeletePcEventExposureSubscResponseObject interface {
	VisitDeletePcEventExposureSubscResponse(w http.ResponseWriter) error
}

type DeletePcEventExposureSubscdefaultApplicationProblemPlusJSONResponse

type DeletePcEventExposureSubscdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (DeletePcEventExposureSubscdefaultApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse

func (response DeletePcEventExposureSubscdefaultApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse(w http.ResponseWriter) error

type GetPcEventExposureSubsc200JSONResponse

type GetPcEventExposureSubsc200JSONResponse externalRef0.PcEventExposureSubsc

func (GetPcEventExposureSubsc200JSONResponse) VisitGetPcEventExposureSubscResponse

func (response GetPcEventExposureSubsc200JSONResponse) VisitGetPcEventExposureSubscResponse(w http.ResponseWriter) error

type GetPcEventExposureSubsc307JSONResponse

type GetPcEventExposureSubsc307JSONResponse struct{ externalRef0.N307JSONResponse }

func (GetPcEventExposureSubsc307JSONResponse) VisitGetPcEventExposureSubscResponse

func (response GetPcEventExposureSubsc307JSONResponse) VisitGetPcEventExposureSubscResponse(w http.ResponseWriter) error

type GetPcEventExposureSubsc308JSONResponse

type GetPcEventExposureSubsc308JSONResponse struct{ externalRef0.N308JSONResponse }

func (GetPcEventExposureSubsc308JSONResponse) VisitGetPcEventExposureSubscResponse

func (response GetPcEventExposureSubsc308JSONResponse) VisitGetPcEventExposureSubscResponse(w http.ResponseWriter) error

type GetPcEventExposureSubsc400ApplicationProblemPlusJSONResponse

type GetPcEventExposureSubsc400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (GetPcEventExposureSubsc400ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse

func (response GetPcEventExposureSubsc400ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse(w http.ResponseWriter) error

type GetPcEventExposureSubsc401ApplicationProblemPlusJSONResponse

type GetPcEventExposureSubsc401ApplicationProblemPlusJSONResponse struct {
	externalRef0.N401ApplicationProblemPlusJSONResponse
}

func (GetPcEventExposureSubsc401ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse

func (response GetPcEventExposureSubsc401ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse(w http.ResponseWriter) error

type GetPcEventExposureSubsc403ApplicationProblemPlusJSONResponse

type GetPcEventExposureSubsc403ApplicationProblemPlusJSONResponse struct {
	externalRef0.N403ApplicationProblemPlusJSONResponse
}

func (GetPcEventExposureSubsc403ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse

func (response GetPcEventExposureSubsc403ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse(w http.ResponseWriter) error

type GetPcEventExposureSubsc404ApplicationProblemPlusJSONResponse

type GetPcEventExposureSubsc404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (GetPcEventExposureSubsc404ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse

func (response GetPcEventExposureSubsc404ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse(w http.ResponseWriter) error

type GetPcEventExposureSubsc406Response

type GetPcEventExposureSubsc406Response externalRef0.N406Response

func (GetPcEventExposureSubsc406Response) VisitGetPcEventExposureSubscResponse

func (response GetPcEventExposureSubsc406Response) VisitGetPcEventExposureSubscResponse(w http.ResponseWriter) error

type GetPcEventExposureSubsc429ApplicationProblemPlusJSONResponse

type GetPcEventExposureSubsc429ApplicationProblemPlusJSONResponse struct {
	externalRef0.N429ApplicationProblemPlusJSONResponse
}

func (GetPcEventExposureSubsc429ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse

func (response GetPcEventExposureSubsc429ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse(w http.ResponseWriter) error

type GetPcEventExposureSubsc500ApplicationProblemPlusJSONResponse

type GetPcEventExposureSubsc500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (GetPcEventExposureSubsc500ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse

func (response GetPcEventExposureSubsc500ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse(w http.ResponseWriter) error

type GetPcEventExposureSubsc503ApplicationProblemPlusJSONResponse

type GetPcEventExposureSubsc503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (GetPcEventExposureSubsc503ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse

func (response GetPcEventExposureSubsc503ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse(w http.ResponseWriter) error

type GetPcEventExposureSubscRequestObject

type GetPcEventExposureSubscRequestObject struct {
	SubscriptionId string `json:"subscriptionId"`
}

type GetPcEventExposureSubscResponse

type GetPcEventExposureSubscResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *externalRef0.PcEventExposureSubsc
	JSON307                       *externalRef0.N307
	JSON308                       *externalRef0.N308
	ApplicationproblemJSON400     *externalRef0.N400
	ApplicationproblemJSON401     *externalRef0.N401
	ApplicationproblemJSON403     *externalRef0.N403
	ApplicationproblemJSON404     *externalRef0.N404
	ApplicationproblemJSON429     *externalRef0.N429
	ApplicationproblemJSON500     *externalRef0.N500
	ApplicationproblemJSON503     *externalRef0.N503
	ApplicationproblemJSONDefault *externalRef0.Default
}

func ParseGetPcEventExposureSubscResponse

func ParseGetPcEventExposureSubscResponse(rsp *http.Response) (*GetPcEventExposureSubscResponse, error)

ParseGetPcEventExposureSubscResponse parses an HTTP response from a GetPcEventExposureSubscWithResponse call

func (GetPcEventExposureSubscResponse) Status

Status returns HTTPResponse.Status

func (GetPcEventExposureSubscResponse) StatusCode

func (r GetPcEventExposureSubscResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPcEventExposureSubscResponseObject

type GetPcEventExposureSubscResponseObject interface {
	VisitGetPcEventExposureSubscResponse(w http.ResponseWriter) error
}

type GetPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse

type GetPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (GetPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse

func (response GetPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse(w http.ResponseWriter) error

type GinServerOptions

type GinServerOptions struct {
	BaseURL      string
	Middlewares  []MiddlewareFunc
	ErrorHandler func(*gin.Context, error, int)
}

GinServerOptions provides options for the Gin server.

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type MiddlewareFunc

type MiddlewareFunc func(c *gin.Context)

type PostPcEventExposureSubsc201JSONResponse

type PostPcEventExposureSubsc201JSONResponse struct {
	Body    externalRef0.PcEventExposureSubsc
	Headers PostPcEventExposureSubsc201ResponseHeaders
}

func (PostPcEventExposureSubsc201JSONResponse) VisitPostPcEventExposureSubscResponse

func (response PostPcEventExposureSubsc201JSONResponse) VisitPostPcEventExposureSubscResponse(w http.ResponseWriter) error

type PostPcEventExposureSubsc201ResponseHeaders

type PostPcEventExposureSubsc201ResponseHeaders struct {
	Location string
}

type PostPcEventExposureSubsc400ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc400ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

func (response PostPcEventExposureSubsc400ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse(w http.ResponseWriter) error

type PostPcEventExposureSubsc401ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc401ApplicationProblemPlusJSONResponse struct {
	externalRef0.N401ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc401ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

func (response PostPcEventExposureSubsc401ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse(w http.ResponseWriter) error

type PostPcEventExposureSubsc403ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc403ApplicationProblemPlusJSONResponse struct {
	externalRef0.N403ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc403ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

func (response PostPcEventExposureSubsc403ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse(w http.ResponseWriter) error

type PostPcEventExposureSubsc404ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc404ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

func (response PostPcEventExposureSubsc404ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse(w http.ResponseWriter) error

type PostPcEventExposureSubsc411ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc411ApplicationProblemPlusJSONResponse struct {
	externalRef0.N411ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc411ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

func (response PostPcEventExposureSubsc411ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse(w http.ResponseWriter) error

type PostPcEventExposureSubsc413ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc413ApplicationProblemPlusJSONResponse struct {
	externalRef0.N413ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc413ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

func (response PostPcEventExposureSubsc413ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse(w http.ResponseWriter) error

type PostPcEventExposureSubsc415ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc415ApplicationProblemPlusJSONResponse struct {
	externalRef0.N415ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc415ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

func (response PostPcEventExposureSubsc415ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse(w http.ResponseWriter) error

type PostPcEventExposureSubsc429ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc429ApplicationProblemPlusJSONResponse struct {
	externalRef0.N429ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc429ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

func (response PostPcEventExposureSubsc429ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse(w http.ResponseWriter) error

type PostPcEventExposureSubsc500ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc500ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

func (response PostPcEventExposureSubsc500ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse(w http.ResponseWriter) error

type PostPcEventExposureSubsc503ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc503ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

func (response PostPcEventExposureSubsc503ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse(w http.ResponseWriter) error

type PostPcEventExposureSubscJSONRequestBody

type PostPcEventExposureSubscJSONRequestBody = externalRef0.PcEventExposureSubsc

PostPcEventExposureSubscJSONRequestBody defines body for PostPcEventExposureSubsc for application/json ContentType.

type PostPcEventExposureSubscRequestObject

type PostPcEventExposureSubscRequestObject struct {
	Body *PostPcEventExposureSubscJSONRequestBody
}

type PostPcEventExposureSubscResponse

type PostPcEventExposureSubscResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON201                       *externalRef0.PcEventExposureSubsc
	ApplicationproblemJSON400     *externalRef0.N400
	ApplicationproblemJSON401     *externalRef0.N401
	ApplicationproblemJSON403     *externalRef0.N403
	ApplicationproblemJSON404     *externalRef0.N404
	ApplicationproblemJSON411     *externalRef0.N411
	ApplicationproblemJSON413     *externalRef0.N413
	ApplicationproblemJSON415     *externalRef0.N415
	ApplicationproblemJSON429     *externalRef0.N429
	ApplicationproblemJSON500     *externalRef0.N500
	ApplicationproblemJSON503     *externalRef0.N503
	ApplicationproblemJSONDefault *externalRef0.Default
}

func ParsePostPcEventExposureSubscResponse

func ParsePostPcEventExposureSubscResponse(rsp *http.Response) (*PostPcEventExposureSubscResponse, error)

ParsePostPcEventExposureSubscResponse parses an HTTP response from a PostPcEventExposureSubscWithResponse call

func (PostPcEventExposureSubscResponse) Status

Status returns HTTPResponse.Status

func (PostPcEventExposureSubscResponse) StatusCode

func (r PostPcEventExposureSubscResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostPcEventExposureSubscResponseObject

type PostPcEventExposureSubscResponseObject interface {
	VisitPostPcEventExposureSubscResponse(w http.ResponseWriter) error
}

type PostPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse

type PostPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (PostPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

func (response PostPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse(w http.ResponseWriter) error

type PutPcEventExposureSubsc200JSONResponse

type PutPcEventExposureSubsc200JSONResponse externalRef0.PcEventExposureSubsc

func (PutPcEventExposureSubsc200JSONResponse) VisitPutPcEventExposureSubscResponse

func (response PutPcEventExposureSubsc200JSONResponse) VisitPutPcEventExposureSubscResponse(w http.ResponseWriter) error

type PutPcEventExposureSubsc204Response

type PutPcEventExposureSubsc204Response struct {
}

func (PutPcEventExposureSubsc204Response) VisitPutPcEventExposureSubscResponse

func (response PutPcEventExposureSubsc204Response) VisitPutPcEventExposureSubscResponse(w http.ResponseWriter) error

type PutPcEventExposureSubsc307JSONResponse

type PutPcEventExposureSubsc307JSONResponse struct{ externalRef0.N307JSONResponse }

func (PutPcEventExposureSubsc307JSONResponse) VisitPutPcEventExposureSubscResponse

func (response PutPcEventExposureSubsc307JSONResponse) VisitPutPcEventExposureSubscResponse(w http.ResponseWriter) error

type PutPcEventExposureSubsc308JSONResponse

type PutPcEventExposureSubsc308JSONResponse struct{ externalRef0.N308JSONResponse }

func (PutPcEventExposureSubsc308JSONResponse) VisitPutPcEventExposureSubscResponse

func (response PutPcEventExposureSubsc308JSONResponse) VisitPutPcEventExposureSubscResponse(w http.ResponseWriter) error

type PutPcEventExposureSubsc400ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc400ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

func (response PutPcEventExposureSubsc400ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse(w http.ResponseWriter) error

type PutPcEventExposureSubsc401ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc401ApplicationProblemPlusJSONResponse struct {
	externalRef0.N401ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc401ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

func (response PutPcEventExposureSubsc401ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse(w http.ResponseWriter) error

type PutPcEventExposureSubsc403ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc403ApplicationProblemPlusJSONResponse struct {
	externalRef0.N403ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc403ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

func (response PutPcEventExposureSubsc403ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse(w http.ResponseWriter) error

type PutPcEventExposureSubsc404ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc404ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

func (response PutPcEventExposureSubsc404ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse(w http.ResponseWriter) error

type PutPcEventExposureSubsc411ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc411ApplicationProblemPlusJSONResponse struct {
	externalRef0.N411ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc411ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

func (response PutPcEventExposureSubsc411ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse(w http.ResponseWriter) error

type PutPcEventExposureSubsc413ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc413ApplicationProblemPlusJSONResponse struct {
	externalRef0.N413ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc413ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

func (response PutPcEventExposureSubsc413ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse(w http.ResponseWriter) error

type PutPcEventExposureSubsc415ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc415ApplicationProblemPlusJSONResponse struct {
	externalRef0.N415ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc415ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

func (response PutPcEventExposureSubsc415ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse(w http.ResponseWriter) error

type PutPcEventExposureSubsc429ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc429ApplicationProblemPlusJSONResponse struct {
	externalRef0.N429ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc429ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

func (response PutPcEventExposureSubsc429ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse(w http.ResponseWriter) error

type PutPcEventExposureSubsc500ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc500ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

func (response PutPcEventExposureSubsc500ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse(w http.ResponseWriter) error

type PutPcEventExposureSubsc503ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc503ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

func (response PutPcEventExposureSubsc503ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse(w http.ResponseWriter) error

type PutPcEventExposureSubscJSONRequestBody

type PutPcEventExposureSubscJSONRequestBody = externalRef0.PcEventExposureSubsc

PutPcEventExposureSubscJSONRequestBody defines body for PutPcEventExposureSubsc for application/json ContentType.

type PutPcEventExposureSubscRequestObject

type PutPcEventExposureSubscRequestObject struct {
	SubscriptionId string `json:"subscriptionId"`
	Body           *PutPcEventExposureSubscJSONRequestBody
}

type PutPcEventExposureSubscResponse

type PutPcEventExposureSubscResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *externalRef0.PcEventExposureSubsc
	JSON307                       *externalRef0.N307
	JSON308                       *externalRef0.N308
	ApplicationproblemJSON400     *externalRef0.N400
	ApplicationproblemJSON401     *externalRef0.N401
	ApplicationproblemJSON403     *externalRef0.N403
	ApplicationproblemJSON404     *externalRef0.N404
	ApplicationproblemJSON411     *externalRef0.N411
	ApplicationproblemJSON413     *externalRef0.N413
	ApplicationproblemJSON415     *externalRef0.N415
	ApplicationproblemJSON429     *externalRef0.N429
	ApplicationproblemJSON500     *externalRef0.N500
	ApplicationproblemJSON503     *externalRef0.N503
	ApplicationproblemJSONDefault *externalRef0.Default
}

func ParsePutPcEventExposureSubscResponse

func ParsePutPcEventExposureSubscResponse(rsp *http.Response) (*PutPcEventExposureSubscResponse, error)

ParsePutPcEventExposureSubscResponse parses an HTTP response from a PutPcEventExposureSubscWithResponse call

func (PutPcEventExposureSubscResponse) Status

Status returns HTTPResponse.Status

func (PutPcEventExposureSubscResponse) StatusCode

func (r PutPcEventExposureSubscResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutPcEventExposureSubscResponseObject

type PutPcEventExposureSubscResponseObject interface {
	VisitPutPcEventExposureSubscResponse(w http.ResponseWriter) error
}

type PutPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse

type PutPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (PutPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

func (response PutPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse(w http.ResponseWriter) error

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type ServerInterface

type ServerInterface interface {
	// Creates a new Individual Policy Control Events Subscription resource
	// (POST /subscriptions)
	PostPcEventExposureSubsc(c *gin.Context)
	// Cancels an existing Individual Policy Control Events Subscription
	// (DELETE /subscriptions/{subscriptionId})
	DeletePcEventExposureSubsc(c *gin.Context, subscriptionId string)
	// Reads an existing Individual Policy Control Events Subscription
	// (GET /subscriptions/{subscriptionId})
	GetPcEventExposureSubsc(c *gin.Context, subscriptionId string)
	// Modifies an existing Individual Policy Control Events Subscription
	// (PUT /subscriptions/{subscriptionId})
	PutPcEventExposureSubsc(c *gin.Context, subscriptionId string)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandler       func(*gin.Context, error, int)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) DeletePcEventExposureSubsc

func (siw *ServerInterfaceWrapper) DeletePcEventExposureSubsc(c *gin.Context)

DeletePcEventExposureSubsc operation middleware

func (*ServerInterfaceWrapper) GetPcEventExposureSubsc

func (siw *ServerInterfaceWrapper) GetPcEventExposureSubsc(c *gin.Context)

GetPcEventExposureSubsc operation middleware

func (*ServerInterfaceWrapper) PostPcEventExposureSubsc

func (siw *ServerInterfaceWrapper) PostPcEventExposureSubsc(c *gin.Context)

PostPcEventExposureSubsc operation middleware

func (*ServerInterfaceWrapper) PutPcEventExposureSubsc

func (siw *ServerInterfaceWrapper) PutPcEventExposureSubsc(c *gin.Context)

PutPcEventExposureSubsc operation middleware

type StrictHandlerFunc

type StrictHandlerFunc = strictgin.StrictGinHandlerFunc

type StrictMiddlewareFunc

type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc

type StrictServerInterface

type StrictServerInterface interface {
	// Creates a new Individual Policy Control Events Subscription resource
	// (POST /subscriptions)
	PostPcEventExposureSubsc(ctx context.Context, request PostPcEventExposureSubscRequestObject) (PostPcEventExposureSubscResponseObject, error)
	// Cancels an existing Individual Policy Control Events Subscription
	// (DELETE /subscriptions/{subscriptionId})
	DeletePcEventExposureSubsc(ctx context.Context, request DeletePcEventExposureSubscRequestObject) (DeletePcEventExposureSubscResponseObject, error)
	// Reads an existing Individual Policy Control Events Subscription
	// (GET /subscriptions/{subscriptionId})
	GetPcEventExposureSubsc(ctx context.Context, request GetPcEventExposureSubscRequestObject) (GetPcEventExposureSubscResponseObject, error)
	// Modifies an existing Individual Policy Control Events Subscription
	// (PUT /subscriptions/{subscriptionId})
	PutPcEventExposureSubsc(ctx context.Context, request PutPcEventExposureSubscRequestObject) (PutPcEventExposureSubscResponseObject, error)
}

StrictServerInterface represents all server handlers.

Jump to

Keyboard shortcuts

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