influence

package
v0.0.0-...-e84ac6a Latest Latest
Warning

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

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

Documentation

Overview

Package influence 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 GetLoader

func GetLoader() loader.SpecLoader

func NewDeleteAfIdSubscriptionsSubscriptionIdRequest

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

NewDeleteAfIdSubscriptionsSubscriptionIdRequest generates requests for DeleteAfIdSubscriptionsSubscriptionId

func NewGetAfIdSubscriptionsRequest

func NewGetAfIdSubscriptionsRequest(server string, afId string) (*http.Request, error)

NewGetAfIdSubscriptionsRequest generates requests for GetAfIdSubscriptions

func NewGetAfIdSubscriptionsSubscriptionIdRequest

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

NewGetAfIdSubscriptionsSubscriptionIdRequest generates requests for GetAfIdSubscriptionsSubscriptionId

func NewPatchAfIdSubscriptionsSubscriptionIdRequestWithApplicationMergePatchPlusJSONBody

func NewPatchAfIdSubscriptionsSubscriptionIdRequestWithApplicationMergePatchPlusJSONBody(server string, afId string, subscriptionId string, body PatchAfIdSubscriptionsSubscriptionIdApplicationMergePatchPlusJSONRequestBody) (*http.Request, error)

NewPatchAfIdSubscriptionsSubscriptionIdRequestWithApplicationMergePatchPlusJSONBody calls the generic PatchAfIdSubscriptionsSubscriptionId builder with application/merge-patch+json body

func NewPatchAfIdSubscriptionsSubscriptionIdRequestWithBody

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

NewPatchAfIdSubscriptionsSubscriptionIdRequestWithBody generates requests for PatchAfIdSubscriptionsSubscriptionId with any type of body

func NewPostAfIdSubscriptionsRequest

func NewPostAfIdSubscriptionsRequest(server string, afId string, body PostAfIdSubscriptionsJSONRequestBody) (*http.Request, error)

NewPostAfIdSubscriptionsRequest calls the generic PostAfIdSubscriptions builder with application/json body

func NewPostAfIdSubscriptionsRequestWithBody

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

NewPostAfIdSubscriptionsRequestWithBody generates requests for PostAfIdSubscriptions with any type of body

func NewPutAfIdSubscriptionsSubscriptionIdRequest

func NewPutAfIdSubscriptionsSubscriptionIdRequest(server string, afId string, subscriptionId string, body PutAfIdSubscriptionsSubscriptionIdJSONRequestBody) (*http.Request, error)

NewPutAfIdSubscriptionsSubscriptionIdRequest calls the generic PutAfIdSubscriptionsSubscriptionId builder with application/json body

func NewPutAfIdSubscriptionsSubscriptionIdRequestWithBody

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

NewPutAfIdSubscriptionsSubscriptionIdRequestWithBody generates requests for PutAfIdSubscriptionsSubscriptionId 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) DeleteAfIdSubscriptionsSubscriptionId

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

func (*Client) GetAfIdSubscriptions

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

func (*Client) GetAfIdSubscriptionsSubscriptionId

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

func (*Client) PatchAfIdSubscriptionsSubscriptionIdWithApplicationMergePatchPlusJSONBody

func (c *Client) PatchAfIdSubscriptionsSubscriptionIdWithApplicationMergePatchPlusJSONBody(ctx context.Context, afId string, subscriptionId string, body PatchAfIdSubscriptionsSubscriptionIdApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchAfIdSubscriptionsSubscriptionIdWithBody

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

func (*Client) PostAfIdSubscriptions

func (c *Client) PostAfIdSubscriptions(ctx context.Context, afId string, body PostAfIdSubscriptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostAfIdSubscriptionsWithBody

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

func (*Client) PutAfIdSubscriptionsSubscriptionId

func (c *Client) PutAfIdSubscriptionsSubscriptionId(ctx context.Context, afId string, subscriptionId string, body PutAfIdSubscriptionsSubscriptionIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutAfIdSubscriptionsSubscriptionIdWithBody

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

type ClientInterface

type ClientInterface interface {
	// GetAfIdSubscriptions request
	GetAfIdSubscriptions(ctx context.Context, afId string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostAfIdSubscriptions(ctx context.Context, afId string, body PostAfIdSubscriptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	PatchAfIdSubscriptionsSubscriptionIdWithApplicationMergePatchPlusJSONBody(ctx context.Context, afId string, subscriptionId string, body PatchAfIdSubscriptionsSubscriptionIdApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PutAfIdSubscriptionsSubscriptionId(ctx context.Context, afId string, subscriptionId string, body PutAfIdSubscriptionsSubscriptionIdJSONRequestBody, 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) DeleteAfIdSubscriptionsSubscriptionIdWithResponse

func (c *ClientWithResponses) DeleteAfIdSubscriptionsSubscriptionIdWithResponse(ctx context.Context, afId string, subscriptionId string, reqEditors ...RequestEditorFn) (*DeleteAfIdSubscriptionsSubscriptionIdResponse, error)

DeleteAfIdSubscriptionsSubscriptionIdWithResponse request returning *DeleteAfIdSubscriptionsSubscriptionIdResponse

func (*ClientWithResponses) GetAfIdSubscriptionsSubscriptionIdWithResponse

func (c *ClientWithResponses) GetAfIdSubscriptionsSubscriptionIdWithResponse(ctx context.Context, afId string, subscriptionId string, reqEditors ...RequestEditorFn) (*GetAfIdSubscriptionsSubscriptionIdResponse, error)

GetAfIdSubscriptionsSubscriptionIdWithResponse request returning *GetAfIdSubscriptionsSubscriptionIdResponse

func (*ClientWithResponses) GetAfIdSubscriptionsWithResponse

func (c *ClientWithResponses) GetAfIdSubscriptionsWithResponse(ctx context.Context, afId string, reqEditors ...RequestEditorFn) (*GetAfIdSubscriptionsResponse, error)

GetAfIdSubscriptionsWithResponse request returning *GetAfIdSubscriptionsResponse

func (*ClientWithResponses) PatchAfIdSubscriptionsSubscriptionIdWithApplicationMergePatchPlusJSONBodyWithResponse

func (c *ClientWithResponses) PatchAfIdSubscriptionsSubscriptionIdWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, afId string, subscriptionId string, body PatchAfIdSubscriptionsSubscriptionIdApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAfIdSubscriptionsSubscriptionIdResponse, error)

func (*ClientWithResponses) PatchAfIdSubscriptionsSubscriptionIdWithBodyWithResponse

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

PatchAfIdSubscriptionsSubscriptionIdWithBodyWithResponse request with arbitrary body returning *PatchAfIdSubscriptionsSubscriptionIdResponse

func (*ClientWithResponses) PostAfIdSubscriptionsWithBodyWithResponse

func (c *ClientWithResponses) PostAfIdSubscriptionsWithBodyWithResponse(ctx context.Context, afId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAfIdSubscriptionsResponse, error)

PostAfIdSubscriptionsWithBodyWithResponse request with arbitrary body returning *PostAfIdSubscriptionsResponse

func (*ClientWithResponses) PostAfIdSubscriptionsWithResponse

func (c *ClientWithResponses) PostAfIdSubscriptionsWithResponse(ctx context.Context, afId string, body PostAfIdSubscriptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAfIdSubscriptionsResponse, error)

func (*ClientWithResponses) PutAfIdSubscriptionsSubscriptionIdWithBodyWithResponse

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

PutAfIdSubscriptionsSubscriptionIdWithBodyWithResponse request with arbitrary body returning *PutAfIdSubscriptionsSubscriptionIdResponse

func (*ClientWithResponses) PutAfIdSubscriptionsSubscriptionIdWithResponse

func (c *ClientWithResponses) PutAfIdSubscriptionsSubscriptionIdWithResponse(ctx context.Context, afId string, subscriptionId string, body PutAfIdSubscriptionsSubscriptionIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAfIdSubscriptionsSubscriptionIdResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetAfIdSubscriptionsWithResponse request
	GetAfIdSubscriptionsWithResponse(ctx context.Context, afId string, reqEditors ...RequestEditorFn) (*GetAfIdSubscriptionsResponse, error)

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

	PostAfIdSubscriptionsWithResponse(ctx context.Context, afId string, body PostAfIdSubscriptionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAfIdSubscriptionsResponse, error)

	// DeleteAfIdSubscriptionsSubscriptionIdWithResponse request
	DeleteAfIdSubscriptionsSubscriptionIdWithResponse(ctx context.Context, afId string, subscriptionId string, reqEditors ...RequestEditorFn) (*DeleteAfIdSubscriptionsSubscriptionIdResponse, error)

	// GetAfIdSubscriptionsSubscriptionIdWithResponse request
	GetAfIdSubscriptionsSubscriptionIdWithResponse(ctx context.Context, afId string, subscriptionId string, reqEditors ...RequestEditorFn) (*GetAfIdSubscriptionsSubscriptionIdResponse, error)

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

	PatchAfIdSubscriptionsSubscriptionIdWithApplicationMergePatchPlusJSONBodyWithResponse(ctx context.Context, afId string, subscriptionId string, body PatchAfIdSubscriptionsSubscriptionIdApplicationMergePatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchAfIdSubscriptionsSubscriptionIdResponse, error)

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

	PutAfIdSubscriptionsSubscriptionIdWithResponse(ctx context.Context, afId string, subscriptionId string, body PutAfIdSubscriptionsSubscriptionIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAfIdSubscriptionsSubscriptionIdResponse, error)
}

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

type DeleteAfIdSubscriptionsSubscriptionId204Response

type DeleteAfIdSubscriptionsSubscriptionId204Response struct {
}

func (DeleteAfIdSubscriptionsSubscriptionId204Response) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse

func (response DeleteAfIdSubscriptionsSubscriptionId204Response) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type DeleteAfIdSubscriptionsSubscriptionId307Response

type DeleteAfIdSubscriptionsSubscriptionId307Response externalRef1.N307Response

func (DeleteAfIdSubscriptionsSubscriptionId307Response) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse

func (response DeleteAfIdSubscriptionsSubscriptionId307Response) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type DeleteAfIdSubscriptionsSubscriptionId308Response

type DeleteAfIdSubscriptionsSubscriptionId308Response externalRef1.N308Response

func (DeleteAfIdSubscriptionsSubscriptionId308Response) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse

func (response DeleteAfIdSubscriptionsSubscriptionId308Response) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type DeleteAfIdSubscriptionsSubscriptionId400ApplicationProblemPlusJSONResponse

type DeleteAfIdSubscriptionsSubscriptionId400ApplicationProblemPlusJSONResponse struct {
	externalRef1.N400ApplicationProblemPlusJSONResponse
}

func (DeleteAfIdSubscriptionsSubscriptionId400ApplicationProblemPlusJSONResponse) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse

func (response DeleteAfIdSubscriptionsSubscriptionId400ApplicationProblemPlusJSONResponse) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type DeleteAfIdSubscriptionsSubscriptionId401ApplicationProblemPlusJSONResponse

type DeleteAfIdSubscriptionsSubscriptionId401ApplicationProblemPlusJSONResponse struct {
	externalRef1.N401ApplicationProblemPlusJSONResponse
}

func (DeleteAfIdSubscriptionsSubscriptionId401ApplicationProblemPlusJSONResponse) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse

func (response DeleteAfIdSubscriptionsSubscriptionId401ApplicationProblemPlusJSONResponse) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type DeleteAfIdSubscriptionsSubscriptionId403ApplicationProblemPlusJSONResponse

type DeleteAfIdSubscriptionsSubscriptionId403ApplicationProblemPlusJSONResponse struct {
	externalRef1.N403ApplicationProblemPlusJSONResponse
}

func (DeleteAfIdSubscriptionsSubscriptionId403ApplicationProblemPlusJSONResponse) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse

func (response DeleteAfIdSubscriptionsSubscriptionId403ApplicationProblemPlusJSONResponse) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type DeleteAfIdSubscriptionsSubscriptionId404ApplicationProblemPlusJSONResponse

type DeleteAfIdSubscriptionsSubscriptionId404ApplicationProblemPlusJSONResponse struct {
	externalRef1.N404ApplicationProblemPlusJSONResponse
}

func (DeleteAfIdSubscriptionsSubscriptionId404ApplicationProblemPlusJSONResponse) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse

func (response DeleteAfIdSubscriptionsSubscriptionId404ApplicationProblemPlusJSONResponse) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type DeleteAfIdSubscriptionsSubscriptionId429ApplicationProblemPlusJSONResponse

type DeleteAfIdSubscriptionsSubscriptionId429ApplicationProblemPlusJSONResponse struct {
	externalRef1.N429ApplicationProblemPlusJSONResponse
}

func (DeleteAfIdSubscriptionsSubscriptionId429ApplicationProblemPlusJSONResponse) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse

func (response DeleteAfIdSubscriptionsSubscriptionId429ApplicationProblemPlusJSONResponse) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type DeleteAfIdSubscriptionsSubscriptionId500ApplicationProblemPlusJSONResponse

type DeleteAfIdSubscriptionsSubscriptionId500ApplicationProblemPlusJSONResponse struct {
	externalRef1.N500ApplicationProblemPlusJSONResponse
}

func (DeleteAfIdSubscriptionsSubscriptionId500ApplicationProblemPlusJSONResponse) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse

func (response DeleteAfIdSubscriptionsSubscriptionId500ApplicationProblemPlusJSONResponse) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type DeleteAfIdSubscriptionsSubscriptionId503ApplicationProblemPlusJSONResponse

type DeleteAfIdSubscriptionsSubscriptionId503ApplicationProblemPlusJSONResponse struct {
	externalRef1.N503ApplicationProblemPlusJSONResponse
}

func (DeleteAfIdSubscriptionsSubscriptionId503ApplicationProblemPlusJSONResponse) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse

func (response DeleteAfIdSubscriptionsSubscriptionId503ApplicationProblemPlusJSONResponse) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type DeleteAfIdSubscriptionsSubscriptionIdRequestObject

type DeleteAfIdSubscriptionsSubscriptionIdRequestObject struct {
	AfId           string `json:"afId"`
	SubscriptionId string `json:"subscriptionId"`
}

type DeleteAfIdSubscriptionsSubscriptionIdResponse

type DeleteAfIdSubscriptionsSubscriptionIdResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	ApplicationproblemJSON400     *externalRef1.N400
	ApplicationproblemJSON401     *externalRef1.N401
	ApplicationproblemJSON403     *externalRef1.N403
	ApplicationproblemJSON404     *externalRef1.N404
	ApplicationproblemJSON429     *externalRef1.N429
	ApplicationproblemJSON500     *externalRef1.N500
	ApplicationproblemJSON503     *externalRef1.N503
	ApplicationproblemJSONDefault *externalRef0.ProblemDetails
}

func ParseDeleteAfIdSubscriptionsSubscriptionIdResponse

func ParseDeleteAfIdSubscriptionsSubscriptionIdResponse(rsp *http.Response) (*DeleteAfIdSubscriptionsSubscriptionIdResponse, error)

ParseDeleteAfIdSubscriptionsSubscriptionIdResponse parses an HTTP response from a DeleteAfIdSubscriptionsSubscriptionIdWithResponse call

func (DeleteAfIdSubscriptionsSubscriptionIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteAfIdSubscriptionsSubscriptionIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteAfIdSubscriptionsSubscriptionIdResponseObject

type DeleteAfIdSubscriptionsSubscriptionIdResponseObject interface {
	VisitDeleteAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error
}

type DeleteAfIdSubscriptionsSubscriptionIddefaultApplicationProblemPlusJSONResponse

type DeleteAfIdSubscriptionsSubscriptionIddefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (DeleteAfIdSubscriptionsSubscriptionIddefaultApplicationProblemPlusJSONResponse) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse

func (response DeleteAfIdSubscriptionsSubscriptionIddefaultApplicationProblemPlusJSONResponse) VisitDeleteAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type GetAfIdSubscriptions200JSONResponse

type GetAfIdSubscriptions200JSONResponse []externalRef0.TS29522TrafficInfluSub

func (GetAfIdSubscriptions200JSONResponse) VisitGetAfIdSubscriptionsResponse

func (response GetAfIdSubscriptions200JSONResponse) VisitGetAfIdSubscriptionsResponse(w http.ResponseWriter) error

type GetAfIdSubscriptions307Response

type GetAfIdSubscriptions307Response externalRef1.N307Response

func (GetAfIdSubscriptions307Response) VisitGetAfIdSubscriptionsResponse

func (response GetAfIdSubscriptions307Response) VisitGetAfIdSubscriptionsResponse(w http.ResponseWriter) error

type GetAfIdSubscriptions308Response

type GetAfIdSubscriptions308Response externalRef1.N308Response

func (GetAfIdSubscriptions308Response) VisitGetAfIdSubscriptionsResponse

func (response GetAfIdSubscriptions308Response) VisitGetAfIdSubscriptionsResponse(w http.ResponseWriter) error

type GetAfIdSubscriptions400ApplicationProblemPlusJSONResponse

type GetAfIdSubscriptions400ApplicationProblemPlusJSONResponse struct {
	externalRef1.N400ApplicationProblemPlusJSONResponse
}

func (GetAfIdSubscriptions400ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse

func (response GetAfIdSubscriptions400ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse(w http.ResponseWriter) error

type GetAfIdSubscriptions401ApplicationProblemPlusJSONResponse

type GetAfIdSubscriptions401ApplicationProblemPlusJSONResponse struct {
	externalRef1.N401ApplicationProblemPlusJSONResponse
}

func (GetAfIdSubscriptions401ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse

func (response GetAfIdSubscriptions401ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse(w http.ResponseWriter) error

type GetAfIdSubscriptions403ApplicationProblemPlusJSONResponse

type GetAfIdSubscriptions403ApplicationProblemPlusJSONResponse struct {
	externalRef1.N403ApplicationProblemPlusJSONResponse
}

func (GetAfIdSubscriptions403ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse

func (response GetAfIdSubscriptions403ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse(w http.ResponseWriter) error

type GetAfIdSubscriptions404ApplicationProblemPlusJSONResponse

type GetAfIdSubscriptions404ApplicationProblemPlusJSONResponse struct {
	externalRef1.N404ApplicationProblemPlusJSONResponse
}

func (GetAfIdSubscriptions404ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse

func (response GetAfIdSubscriptions404ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse(w http.ResponseWriter) error

type GetAfIdSubscriptions406ApplicationProblemPlusJSONResponse

type GetAfIdSubscriptions406ApplicationProblemPlusJSONResponse struct {
	externalRef1.N406ApplicationProblemPlusJSONResponse
}

func (GetAfIdSubscriptions406ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse

func (response GetAfIdSubscriptions406ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse(w http.ResponseWriter) error

type GetAfIdSubscriptions429ApplicationProblemPlusJSONResponse

type GetAfIdSubscriptions429ApplicationProblemPlusJSONResponse struct {
	externalRef1.N429ApplicationProblemPlusJSONResponse
}

func (GetAfIdSubscriptions429ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse

func (response GetAfIdSubscriptions429ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse(w http.ResponseWriter) error

type GetAfIdSubscriptions500ApplicationProblemPlusJSONResponse

type GetAfIdSubscriptions500ApplicationProblemPlusJSONResponse struct {
	externalRef1.N500ApplicationProblemPlusJSONResponse
}

func (GetAfIdSubscriptions500ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse

func (response GetAfIdSubscriptions500ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse(w http.ResponseWriter) error

type GetAfIdSubscriptions503ApplicationProblemPlusJSONResponse

type GetAfIdSubscriptions503ApplicationProblemPlusJSONResponse struct {
	externalRef1.N503ApplicationProblemPlusJSONResponse
}

func (GetAfIdSubscriptions503ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse

func (response GetAfIdSubscriptions503ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse(w http.ResponseWriter) error

type GetAfIdSubscriptionsRequestObject

type GetAfIdSubscriptionsRequestObject struct {
	AfId string `json:"afId"`
}

type GetAfIdSubscriptionsResponse

type GetAfIdSubscriptionsResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *[]externalRef0.TS29522TrafficInfluSub
	ApplicationproblemJSON400     *externalRef1.N400
	ApplicationproblemJSON401     *externalRef1.N401
	ApplicationproblemJSON403     *externalRef1.N403
	ApplicationproblemJSON404     *externalRef1.N404
	ApplicationproblemJSON406     *externalRef1.N406
	ApplicationproblemJSON429     *externalRef1.N429
	ApplicationproblemJSON500     *externalRef1.N500
	ApplicationproblemJSON503     *externalRef1.N503
	ApplicationproblemJSONDefault *externalRef0.ProblemDetails
}

func ParseGetAfIdSubscriptionsResponse

func ParseGetAfIdSubscriptionsResponse(rsp *http.Response) (*GetAfIdSubscriptionsResponse, error)

ParseGetAfIdSubscriptionsResponse parses an HTTP response from a GetAfIdSubscriptionsWithResponse call

func (GetAfIdSubscriptionsResponse) Status

Status returns HTTPResponse.Status

func (GetAfIdSubscriptionsResponse) StatusCode

func (r GetAfIdSubscriptionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAfIdSubscriptionsResponseObject

type GetAfIdSubscriptionsResponseObject interface {
	VisitGetAfIdSubscriptionsResponse(w http.ResponseWriter) error
}

type GetAfIdSubscriptionsSubscriptionId200JSONResponse

type GetAfIdSubscriptionsSubscriptionId200JSONResponse externalRef0.TS29522TrafficInfluSub

func (GetAfIdSubscriptionsSubscriptionId200JSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse

func (response GetAfIdSubscriptionsSubscriptionId200JSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type GetAfIdSubscriptionsSubscriptionId307Response

type GetAfIdSubscriptionsSubscriptionId307Response externalRef1.N307Response

func (GetAfIdSubscriptionsSubscriptionId307Response) VisitGetAfIdSubscriptionsSubscriptionIdResponse

func (response GetAfIdSubscriptionsSubscriptionId307Response) VisitGetAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type GetAfIdSubscriptionsSubscriptionId308Response

type GetAfIdSubscriptionsSubscriptionId308Response externalRef1.N308Response

func (GetAfIdSubscriptionsSubscriptionId308Response) VisitGetAfIdSubscriptionsSubscriptionIdResponse

func (response GetAfIdSubscriptionsSubscriptionId308Response) VisitGetAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type GetAfIdSubscriptionsSubscriptionId400ApplicationProblemPlusJSONResponse

type GetAfIdSubscriptionsSubscriptionId400ApplicationProblemPlusJSONResponse struct {
	externalRef1.N400ApplicationProblemPlusJSONResponse
}

func (GetAfIdSubscriptionsSubscriptionId400ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse

func (response GetAfIdSubscriptionsSubscriptionId400ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type GetAfIdSubscriptionsSubscriptionId401ApplicationProblemPlusJSONResponse

type GetAfIdSubscriptionsSubscriptionId401ApplicationProblemPlusJSONResponse struct {
	externalRef1.N401ApplicationProblemPlusJSONResponse
}

func (GetAfIdSubscriptionsSubscriptionId401ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse

func (response GetAfIdSubscriptionsSubscriptionId401ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type GetAfIdSubscriptionsSubscriptionId403ApplicationProblemPlusJSONResponse

type GetAfIdSubscriptionsSubscriptionId403ApplicationProblemPlusJSONResponse struct {
	externalRef1.N403ApplicationProblemPlusJSONResponse
}

func (GetAfIdSubscriptionsSubscriptionId403ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse

func (response GetAfIdSubscriptionsSubscriptionId403ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type GetAfIdSubscriptionsSubscriptionId404ApplicationProblemPlusJSONResponse

type GetAfIdSubscriptionsSubscriptionId404ApplicationProblemPlusJSONResponse struct {
	externalRef1.N404ApplicationProblemPlusJSONResponse
}

func (GetAfIdSubscriptionsSubscriptionId404ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse

func (response GetAfIdSubscriptionsSubscriptionId404ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type GetAfIdSubscriptionsSubscriptionId406ApplicationProblemPlusJSONResponse

type GetAfIdSubscriptionsSubscriptionId406ApplicationProblemPlusJSONResponse struct {
	externalRef1.N406ApplicationProblemPlusJSONResponse
}

func (GetAfIdSubscriptionsSubscriptionId406ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse

func (response GetAfIdSubscriptionsSubscriptionId406ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type GetAfIdSubscriptionsSubscriptionId429ApplicationProblemPlusJSONResponse

type GetAfIdSubscriptionsSubscriptionId429ApplicationProblemPlusJSONResponse struct {
	externalRef1.N429ApplicationProblemPlusJSONResponse
}

func (GetAfIdSubscriptionsSubscriptionId429ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse

func (response GetAfIdSubscriptionsSubscriptionId429ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type GetAfIdSubscriptionsSubscriptionId500ApplicationProblemPlusJSONResponse

type GetAfIdSubscriptionsSubscriptionId500ApplicationProblemPlusJSONResponse struct {
	externalRef1.N500ApplicationProblemPlusJSONResponse
}

func (GetAfIdSubscriptionsSubscriptionId500ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse

func (response GetAfIdSubscriptionsSubscriptionId500ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type GetAfIdSubscriptionsSubscriptionId503ApplicationProblemPlusJSONResponse

type GetAfIdSubscriptionsSubscriptionId503ApplicationProblemPlusJSONResponse struct {
	externalRef1.N503ApplicationProblemPlusJSONResponse
}

func (GetAfIdSubscriptionsSubscriptionId503ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse

func (response GetAfIdSubscriptionsSubscriptionId503ApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type GetAfIdSubscriptionsSubscriptionIdRequestObject

type GetAfIdSubscriptionsSubscriptionIdRequestObject struct {
	AfId           string `json:"afId"`
	SubscriptionId string `json:"subscriptionId"`
}

type GetAfIdSubscriptionsSubscriptionIdResponse

type GetAfIdSubscriptionsSubscriptionIdResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *externalRef0.TS29522TrafficInfluSub
	ApplicationproblemJSON400     *externalRef1.N400
	ApplicationproblemJSON401     *externalRef1.N401
	ApplicationproblemJSON403     *externalRef1.N403
	ApplicationproblemJSON404     *externalRef1.N404
	ApplicationproblemJSON406     *externalRef1.N406
	ApplicationproblemJSON429     *externalRef1.N429
	ApplicationproblemJSON500     *externalRef1.N500
	ApplicationproblemJSON503     *externalRef1.N503
	ApplicationproblemJSONDefault *externalRef0.ProblemDetails
}

func ParseGetAfIdSubscriptionsSubscriptionIdResponse

func ParseGetAfIdSubscriptionsSubscriptionIdResponse(rsp *http.Response) (*GetAfIdSubscriptionsSubscriptionIdResponse, error)

ParseGetAfIdSubscriptionsSubscriptionIdResponse parses an HTTP response from a GetAfIdSubscriptionsSubscriptionIdWithResponse call

func (GetAfIdSubscriptionsSubscriptionIdResponse) Status

Status returns HTTPResponse.Status

func (GetAfIdSubscriptionsSubscriptionIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetAfIdSubscriptionsSubscriptionIdResponseObject

type GetAfIdSubscriptionsSubscriptionIdResponseObject interface {
	VisitGetAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error
}

type GetAfIdSubscriptionsSubscriptionIddefaultApplicationProblemPlusJSONResponse

type GetAfIdSubscriptionsSubscriptionIddefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (GetAfIdSubscriptionsSubscriptionIddefaultApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse

func (response GetAfIdSubscriptionsSubscriptionIddefaultApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type GetAfIdSubscriptionsdefaultApplicationProblemPlusJSONResponse

type GetAfIdSubscriptionsdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (GetAfIdSubscriptionsdefaultApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse

func (response GetAfIdSubscriptionsdefaultApplicationProblemPlusJSONResponse) VisitGetAfIdSubscriptionsResponse(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 PatchAfIdSubscriptionsSubscriptionId200JSONResponse

type PatchAfIdSubscriptionsSubscriptionId200JSONResponse externalRef0.TS29522TrafficInfluSub

func (PatchAfIdSubscriptionsSubscriptionId200JSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse

func (response PatchAfIdSubscriptionsSubscriptionId200JSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PatchAfIdSubscriptionsSubscriptionId307Response

type PatchAfIdSubscriptionsSubscriptionId307Response externalRef1.N307Response

func (PatchAfIdSubscriptionsSubscriptionId307Response) VisitPatchAfIdSubscriptionsSubscriptionIdResponse

func (response PatchAfIdSubscriptionsSubscriptionId307Response) VisitPatchAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PatchAfIdSubscriptionsSubscriptionId308Response

type PatchAfIdSubscriptionsSubscriptionId308Response externalRef1.N308Response

func (PatchAfIdSubscriptionsSubscriptionId308Response) VisitPatchAfIdSubscriptionsSubscriptionIdResponse

func (response PatchAfIdSubscriptionsSubscriptionId308Response) VisitPatchAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PatchAfIdSubscriptionsSubscriptionId400ApplicationProblemPlusJSONResponse

type PatchAfIdSubscriptionsSubscriptionId400ApplicationProblemPlusJSONResponse struct {
	externalRef1.N400ApplicationProblemPlusJSONResponse
}

func (PatchAfIdSubscriptionsSubscriptionId400ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse

func (response PatchAfIdSubscriptionsSubscriptionId400ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PatchAfIdSubscriptionsSubscriptionId401ApplicationProblemPlusJSONResponse

type PatchAfIdSubscriptionsSubscriptionId401ApplicationProblemPlusJSONResponse struct {
	externalRef1.N401ApplicationProblemPlusJSONResponse
}

func (PatchAfIdSubscriptionsSubscriptionId401ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse

func (response PatchAfIdSubscriptionsSubscriptionId401ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PatchAfIdSubscriptionsSubscriptionId403ApplicationProblemPlusJSONResponse

type PatchAfIdSubscriptionsSubscriptionId403ApplicationProblemPlusJSONResponse struct {
	externalRef1.N403ApplicationProblemPlusJSONResponse
}

func (PatchAfIdSubscriptionsSubscriptionId403ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse

func (response PatchAfIdSubscriptionsSubscriptionId403ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PatchAfIdSubscriptionsSubscriptionId404ApplicationProblemPlusJSONResponse

type PatchAfIdSubscriptionsSubscriptionId404ApplicationProblemPlusJSONResponse struct {
	externalRef1.N404ApplicationProblemPlusJSONResponse
}

func (PatchAfIdSubscriptionsSubscriptionId404ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse

func (response PatchAfIdSubscriptionsSubscriptionId404ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PatchAfIdSubscriptionsSubscriptionId411ApplicationProblemPlusJSONResponse

type PatchAfIdSubscriptionsSubscriptionId411ApplicationProblemPlusJSONResponse struct {
	externalRef1.N411ApplicationProblemPlusJSONResponse
}

func (PatchAfIdSubscriptionsSubscriptionId411ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse

func (response PatchAfIdSubscriptionsSubscriptionId411ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PatchAfIdSubscriptionsSubscriptionId413ApplicationProblemPlusJSONResponse

type PatchAfIdSubscriptionsSubscriptionId413ApplicationProblemPlusJSONResponse struct {
	externalRef1.N413ApplicationProblemPlusJSONResponse
}

func (PatchAfIdSubscriptionsSubscriptionId413ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse

func (response PatchAfIdSubscriptionsSubscriptionId413ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PatchAfIdSubscriptionsSubscriptionId415ApplicationProblemPlusJSONResponse

type PatchAfIdSubscriptionsSubscriptionId415ApplicationProblemPlusJSONResponse struct {
	externalRef1.N415ApplicationProblemPlusJSONResponse
}

func (PatchAfIdSubscriptionsSubscriptionId415ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse

func (response PatchAfIdSubscriptionsSubscriptionId415ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PatchAfIdSubscriptionsSubscriptionId429ApplicationProblemPlusJSONResponse

type PatchAfIdSubscriptionsSubscriptionId429ApplicationProblemPlusJSONResponse struct {
	externalRef1.N429ApplicationProblemPlusJSONResponse
}

func (PatchAfIdSubscriptionsSubscriptionId429ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse

func (response PatchAfIdSubscriptionsSubscriptionId429ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PatchAfIdSubscriptionsSubscriptionId500ApplicationProblemPlusJSONResponse

type PatchAfIdSubscriptionsSubscriptionId500ApplicationProblemPlusJSONResponse struct {
	externalRef1.N500ApplicationProblemPlusJSONResponse
}

func (PatchAfIdSubscriptionsSubscriptionId500ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse

func (response PatchAfIdSubscriptionsSubscriptionId500ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PatchAfIdSubscriptionsSubscriptionId503ApplicationProblemPlusJSONResponse

type PatchAfIdSubscriptionsSubscriptionId503ApplicationProblemPlusJSONResponse struct {
	externalRef1.N503ApplicationProblemPlusJSONResponse
}

func (PatchAfIdSubscriptionsSubscriptionId503ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse

func (response PatchAfIdSubscriptionsSubscriptionId503ApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PatchAfIdSubscriptionsSubscriptionIdApplicationMergePatchPlusJSONRequestBody

type PatchAfIdSubscriptionsSubscriptionIdApplicationMergePatchPlusJSONRequestBody = externalRef0.TrafficInfluSubPatch

PatchAfIdSubscriptionsSubscriptionIdApplicationMergePatchPlusJSONRequestBody defines body for PatchAfIdSubscriptionsSubscriptionId for application/merge-patch+json ContentType.

type PatchAfIdSubscriptionsSubscriptionIdRequestObject

type PatchAfIdSubscriptionsSubscriptionIdRequestObject struct {
	AfId           string `json:"afId"`
	SubscriptionId string `json:"subscriptionId"`
	Body           *PatchAfIdSubscriptionsSubscriptionIdApplicationMergePatchPlusJSONRequestBody
}

type PatchAfIdSubscriptionsSubscriptionIdResponse

type PatchAfIdSubscriptionsSubscriptionIdResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *externalRef0.TS29522TrafficInfluSub
	ApplicationproblemJSON400     *externalRef1.N400
	ApplicationproblemJSON401     *externalRef1.N401
	ApplicationproblemJSON403     *externalRef1.N403
	ApplicationproblemJSON404     *externalRef1.N404
	ApplicationproblemJSON411     *externalRef1.N411
	ApplicationproblemJSON413     *externalRef1.N413
	ApplicationproblemJSON415     *externalRef1.N415
	ApplicationproblemJSON429     *externalRef1.N429
	ApplicationproblemJSON500     *externalRef1.N500
	ApplicationproblemJSON503     *externalRef1.N503
	ApplicationproblemJSONDefault *externalRef0.ProblemDetails
}

func ParsePatchAfIdSubscriptionsSubscriptionIdResponse

func ParsePatchAfIdSubscriptionsSubscriptionIdResponse(rsp *http.Response) (*PatchAfIdSubscriptionsSubscriptionIdResponse, error)

ParsePatchAfIdSubscriptionsSubscriptionIdResponse parses an HTTP response from a PatchAfIdSubscriptionsSubscriptionIdWithResponse call

func (PatchAfIdSubscriptionsSubscriptionIdResponse) Status

Status returns HTTPResponse.Status

func (PatchAfIdSubscriptionsSubscriptionIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PatchAfIdSubscriptionsSubscriptionIdResponseObject

type PatchAfIdSubscriptionsSubscriptionIdResponseObject interface {
	VisitPatchAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error
}

type PatchAfIdSubscriptionsSubscriptionIddefaultApplicationProblemPlusJSONResponse

type PatchAfIdSubscriptionsSubscriptionIddefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (PatchAfIdSubscriptionsSubscriptionIddefaultApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse

func (response PatchAfIdSubscriptionsSubscriptionIddefaultApplicationProblemPlusJSONResponse) VisitPatchAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PostAfIdSubscriptions201JSONResponse

type PostAfIdSubscriptions201JSONResponse struct {
	Body    externalRef0.TS29522TrafficInfluSub
	Headers PostAfIdSubscriptions201ResponseHeaders
}

func (PostAfIdSubscriptions201JSONResponse) VisitPostAfIdSubscriptionsResponse

func (response PostAfIdSubscriptions201JSONResponse) VisitPostAfIdSubscriptionsResponse(w http.ResponseWriter) error

type PostAfIdSubscriptions201ResponseHeaders

type PostAfIdSubscriptions201ResponseHeaders struct {
	Location string
}

type PostAfIdSubscriptions400ApplicationProblemPlusJSONResponse

type PostAfIdSubscriptions400ApplicationProblemPlusJSONResponse struct {
	externalRef1.N400ApplicationProblemPlusJSONResponse
}

func (PostAfIdSubscriptions400ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse

func (response PostAfIdSubscriptions400ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse(w http.ResponseWriter) error

type PostAfIdSubscriptions401ApplicationProblemPlusJSONResponse

type PostAfIdSubscriptions401ApplicationProblemPlusJSONResponse struct {
	externalRef1.N401ApplicationProblemPlusJSONResponse
}

func (PostAfIdSubscriptions401ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse

func (response PostAfIdSubscriptions401ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse(w http.ResponseWriter) error

type PostAfIdSubscriptions403ApplicationProblemPlusJSONResponse

type PostAfIdSubscriptions403ApplicationProblemPlusJSONResponse struct {
	externalRef1.N403ApplicationProblemPlusJSONResponse
}

func (PostAfIdSubscriptions403ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse

func (response PostAfIdSubscriptions403ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse(w http.ResponseWriter) error

type PostAfIdSubscriptions404ApplicationProblemPlusJSONResponse

type PostAfIdSubscriptions404ApplicationProblemPlusJSONResponse struct {
	externalRef1.N404ApplicationProblemPlusJSONResponse
}

func (PostAfIdSubscriptions404ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse

func (response PostAfIdSubscriptions404ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse(w http.ResponseWriter) error

type PostAfIdSubscriptions411ApplicationProblemPlusJSONResponse

type PostAfIdSubscriptions411ApplicationProblemPlusJSONResponse struct {
	externalRef1.N411ApplicationProblemPlusJSONResponse
}

func (PostAfIdSubscriptions411ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse

func (response PostAfIdSubscriptions411ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse(w http.ResponseWriter) error

type PostAfIdSubscriptions413ApplicationProblemPlusJSONResponse

type PostAfIdSubscriptions413ApplicationProblemPlusJSONResponse struct {
	externalRef1.N413ApplicationProblemPlusJSONResponse
}

func (PostAfIdSubscriptions413ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse

func (response PostAfIdSubscriptions413ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse(w http.ResponseWriter) error

type PostAfIdSubscriptions415ApplicationProblemPlusJSONResponse

type PostAfIdSubscriptions415ApplicationProblemPlusJSONResponse struct {
	externalRef1.N415ApplicationProblemPlusJSONResponse
}

func (PostAfIdSubscriptions415ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse

func (response PostAfIdSubscriptions415ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse(w http.ResponseWriter) error

type PostAfIdSubscriptions429ApplicationProblemPlusJSONResponse

type PostAfIdSubscriptions429ApplicationProblemPlusJSONResponse struct {
	externalRef1.N429ApplicationProblemPlusJSONResponse
}

func (PostAfIdSubscriptions429ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse

func (response PostAfIdSubscriptions429ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse(w http.ResponseWriter) error

type PostAfIdSubscriptions500ApplicationProblemPlusJSONResponse

type PostAfIdSubscriptions500ApplicationProblemPlusJSONResponse struct {
	externalRef1.N500ApplicationProblemPlusJSONResponse
}

func (PostAfIdSubscriptions500ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse

func (response PostAfIdSubscriptions500ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse(w http.ResponseWriter) error

type PostAfIdSubscriptions503ApplicationProblemPlusJSONResponse

type PostAfIdSubscriptions503ApplicationProblemPlusJSONResponse struct {
	externalRef1.N503ApplicationProblemPlusJSONResponse
}

func (PostAfIdSubscriptions503ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse

func (response PostAfIdSubscriptions503ApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse(w http.ResponseWriter) error

type PostAfIdSubscriptionsJSONRequestBody

type PostAfIdSubscriptionsJSONRequestBody = externalRef0.TS29522TrafficInfluSub

PostAfIdSubscriptionsJSONRequestBody defines body for PostAfIdSubscriptions for application/json ContentType.

type PostAfIdSubscriptionsRequestObject

type PostAfIdSubscriptionsRequestObject struct {
	AfId string `json:"afId"`
	Body *PostAfIdSubscriptionsJSONRequestBody
}

type PostAfIdSubscriptionsResponse

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

func ParsePostAfIdSubscriptionsResponse

func ParsePostAfIdSubscriptionsResponse(rsp *http.Response) (*PostAfIdSubscriptionsResponse, error)

ParsePostAfIdSubscriptionsResponse parses an HTTP response from a PostAfIdSubscriptionsWithResponse call

func (PostAfIdSubscriptionsResponse) Status

Status returns HTTPResponse.Status

func (PostAfIdSubscriptionsResponse) StatusCode

func (r PostAfIdSubscriptionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostAfIdSubscriptionsResponseObject

type PostAfIdSubscriptionsResponseObject interface {
	VisitPostAfIdSubscriptionsResponse(w http.ResponseWriter) error
}

type PostAfIdSubscriptionsdefaultApplicationProblemPlusJSONResponse

type PostAfIdSubscriptionsdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (PostAfIdSubscriptionsdefaultApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse

func (response PostAfIdSubscriptionsdefaultApplicationProblemPlusJSONResponse) VisitPostAfIdSubscriptionsResponse(w http.ResponseWriter) error

type PutAfIdSubscriptionsSubscriptionId200JSONResponse

type PutAfIdSubscriptionsSubscriptionId200JSONResponse externalRef0.TS29522TrafficInfluSub

func (PutAfIdSubscriptionsSubscriptionId200JSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse

func (response PutAfIdSubscriptionsSubscriptionId200JSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PutAfIdSubscriptionsSubscriptionId307Response

type PutAfIdSubscriptionsSubscriptionId307Response externalRef1.N307Response

func (PutAfIdSubscriptionsSubscriptionId307Response) VisitPutAfIdSubscriptionsSubscriptionIdResponse

func (response PutAfIdSubscriptionsSubscriptionId307Response) VisitPutAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PutAfIdSubscriptionsSubscriptionId308Response

type PutAfIdSubscriptionsSubscriptionId308Response externalRef1.N308Response

func (PutAfIdSubscriptionsSubscriptionId308Response) VisitPutAfIdSubscriptionsSubscriptionIdResponse

func (response PutAfIdSubscriptionsSubscriptionId308Response) VisitPutAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PutAfIdSubscriptionsSubscriptionId400ApplicationProblemPlusJSONResponse

type PutAfIdSubscriptionsSubscriptionId400ApplicationProblemPlusJSONResponse struct {
	externalRef1.N400ApplicationProblemPlusJSONResponse
}

func (PutAfIdSubscriptionsSubscriptionId400ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse

func (response PutAfIdSubscriptionsSubscriptionId400ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PutAfIdSubscriptionsSubscriptionId401ApplicationProblemPlusJSONResponse

type PutAfIdSubscriptionsSubscriptionId401ApplicationProblemPlusJSONResponse struct {
	externalRef1.N401ApplicationProblemPlusJSONResponse
}

func (PutAfIdSubscriptionsSubscriptionId401ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse

func (response PutAfIdSubscriptionsSubscriptionId401ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PutAfIdSubscriptionsSubscriptionId403ApplicationProblemPlusJSONResponse

type PutAfIdSubscriptionsSubscriptionId403ApplicationProblemPlusJSONResponse struct {
	externalRef1.N403ApplicationProblemPlusJSONResponse
}

func (PutAfIdSubscriptionsSubscriptionId403ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse

func (response PutAfIdSubscriptionsSubscriptionId403ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PutAfIdSubscriptionsSubscriptionId404ApplicationProblemPlusJSONResponse

type PutAfIdSubscriptionsSubscriptionId404ApplicationProblemPlusJSONResponse struct {
	externalRef1.N404ApplicationProblemPlusJSONResponse
}

func (PutAfIdSubscriptionsSubscriptionId404ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse

func (response PutAfIdSubscriptionsSubscriptionId404ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PutAfIdSubscriptionsSubscriptionId411ApplicationProblemPlusJSONResponse

type PutAfIdSubscriptionsSubscriptionId411ApplicationProblemPlusJSONResponse struct {
	externalRef1.N411ApplicationProblemPlusJSONResponse
}

func (PutAfIdSubscriptionsSubscriptionId411ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse

func (response PutAfIdSubscriptionsSubscriptionId411ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PutAfIdSubscriptionsSubscriptionId413ApplicationProblemPlusJSONResponse

type PutAfIdSubscriptionsSubscriptionId413ApplicationProblemPlusJSONResponse struct {
	externalRef1.N413ApplicationProblemPlusJSONResponse
}

func (PutAfIdSubscriptionsSubscriptionId413ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse

func (response PutAfIdSubscriptionsSubscriptionId413ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PutAfIdSubscriptionsSubscriptionId415ApplicationProblemPlusJSONResponse

type PutAfIdSubscriptionsSubscriptionId415ApplicationProblemPlusJSONResponse struct {
	externalRef1.N415ApplicationProblemPlusJSONResponse
}

func (PutAfIdSubscriptionsSubscriptionId415ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse

func (response PutAfIdSubscriptionsSubscriptionId415ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PutAfIdSubscriptionsSubscriptionId429ApplicationProblemPlusJSONResponse

type PutAfIdSubscriptionsSubscriptionId429ApplicationProblemPlusJSONResponse struct {
	externalRef1.N429ApplicationProblemPlusJSONResponse
}

func (PutAfIdSubscriptionsSubscriptionId429ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse

func (response PutAfIdSubscriptionsSubscriptionId429ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PutAfIdSubscriptionsSubscriptionId500ApplicationProblemPlusJSONResponse

type PutAfIdSubscriptionsSubscriptionId500ApplicationProblemPlusJSONResponse struct {
	externalRef1.N500ApplicationProblemPlusJSONResponse
}

func (PutAfIdSubscriptionsSubscriptionId500ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse

func (response PutAfIdSubscriptionsSubscriptionId500ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PutAfIdSubscriptionsSubscriptionId503ApplicationProblemPlusJSONResponse

type PutAfIdSubscriptionsSubscriptionId503ApplicationProblemPlusJSONResponse struct {
	externalRef1.N503ApplicationProblemPlusJSONResponse
}

func (PutAfIdSubscriptionsSubscriptionId503ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse

func (response PutAfIdSubscriptionsSubscriptionId503ApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error

type PutAfIdSubscriptionsSubscriptionIdJSONRequestBody

type PutAfIdSubscriptionsSubscriptionIdJSONRequestBody = externalRef0.TS29522TrafficInfluSub

PutAfIdSubscriptionsSubscriptionIdJSONRequestBody defines body for PutAfIdSubscriptionsSubscriptionId for application/json ContentType.

type PutAfIdSubscriptionsSubscriptionIdRequestObject

type PutAfIdSubscriptionsSubscriptionIdRequestObject struct {
	AfId           string `json:"afId"`
	SubscriptionId string `json:"subscriptionId"`
	Body           *PutAfIdSubscriptionsSubscriptionIdJSONRequestBody
}

type PutAfIdSubscriptionsSubscriptionIdResponse

type PutAfIdSubscriptionsSubscriptionIdResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *externalRef0.TS29522TrafficInfluSub
	ApplicationproblemJSON400     *externalRef1.N400
	ApplicationproblemJSON401     *externalRef1.N401
	ApplicationproblemJSON403     *externalRef1.N403
	ApplicationproblemJSON404     *externalRef1.N404
	ApplicationproblemJSON411     *externalRef1.N411
	ApplicationproblemJSON413     *externalRef1.N413
	ApplicationproblemJSON415     *externalRef1.N415
	ApplicationproblemJSON429     *externalRef1.N429
	ApplicationproblemJSON500     *externalRef1.N500
	ApplicationproblemJSON503     *externalRef1.N503
	ApplicationproblemJSONDefault *externalRef0.ProblemDetails
}

func ParsePutAfIdSubscriptionsSubscriptionIdResponse

func ParsePutAfIdSubscriptionsSubscriptionIdResponse(rsp *http.Response) (*PutAfIdSubscriptionsSubscriptionIdResponse, error)

ParsePutAfIdSubscriptionsSubscriptionIdResponse parses an HTTP response from a PutAfIdSubscriptionsSubscriptionIdWithResponse call

func (PutAfIdSubscriptionsSubscriptionIdResponse) Status

Status returns HTTPResponse.Status

func (PutAfIdSubscriptionsSubscriptionIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutAfIdSubscriptionsSubscriptionIdResponseObject

type PutAfIdSubscriptionsSubscriptionIdResponseObject interface {
	VisitPutAfIdSubscriptionsSubscriptionIdResponse(w http.ResponseWriter) error
}

type PutAfIdSubscriptionsSubscriptionIddefaultApplicationProblemPlusJSONResponse

type PutAfIdSubscriptionsSubscriptionIddefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (PutAfIdSubscriptionsSubscriptionIddefaultApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse

func (response PutAfIdSubscriptionsSubscriptionIddefaultApplicationProblemPlusJSONResponse) VisitPutAfIdSubscriptionsSubscriptionIdResponse(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 {
	// read all of the active subscriptions for the AF
	// (GET /{afId}/subscriptions)
	GetAfIdSubscriptions(c *gin.Context, afId string)
	// Creates a new subscription resource
	// (POST /{afId}/subscriptions)
	PostAfIdSubscriptions(c *gin.Context, afId string)
	// Deletes an already existing subscription
	// (DELETE /{afId}/subscriptions/{subscriptionId})
	DeleteAfIdSubscriptionsSubscriptionId(c *gin.Context, afId string, subscriptionId string)
	// read an active subscriptions for the SCS/AS and the subscription Id
	// (GET /{afId}/subscriptions/{subscriptionId})
	GetAfIdSubscriptionsSubscriptionId(c *gin.Context, afId string, subscriptionId string)
	// Updates/replaces an existing subscription resource
	// (PATCH /{afId}/subscriptions/{subscriptionId})
	PatchAfIdSubscriptionsSubscriptionId(c *gin.Context, afId string, subscriptionId string)
	// Updates/replaces an existing subscription resource
	// (PUT /{afId}/subscriptions/{subscriptionId})
	PutAfIdSubscriptionsSubscriptionId(c *gin.Context, afId string, 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) DeleteAfIdSubscriptionsSubscriptionId

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

DeleteAfIdSubscriptionsSubscriptionId operation middleware

func (*ServerInterfaceWrapper) GetAfIdSubscriptions

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

GetAfIdSubscriptions operation middleware

func (*ServerInterfaceWrapper) GetAfIdSubscriptionsSubscriptionId

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

GetAfIdSubscriptionsSubscriptionId operation middleware

func (*ServerInterfaceWrapper) PatchAfIdSubscriptionsSubscriptionId

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

PatchAfIdSubscriptionsSubscriptionId operation middleware

func (*ServerInterfaceWrapper) PostAfIdSubscriptions

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

PostAfIdSubscriptions operation middleware

func (*ServerInterfaceWrapper) PutAfIdSubscriptionsSubscriptionId

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

PutAfIdSubscriptionsSubscriptionId operation middleware

type StrictHandlerFunc

type StrictHandlerFunc = strictgin.StrictGinHandlerFunc

type StrictMiddlewareFunc

type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc

type StrictServerInterface

type StrictServerInterface interface {
	// read all of the active subscriptions for the AF
	// (GET /{afId}/subscriptions)
	GetAfIdSubscriptions(ctx context.Context, request GetAfIdSubscriptionsRequestObject) (GetAfIdSubscriptionsResponseObject, error)
	// Creates a new subscription resource
	// (POST /{afId}/subscriptions)
	PostAfIdSubscriptions(ctx context.Context, request PostAfIdSubscriptionsRequestObject) (PostAfIdSubscriptionsResponseObject, error)
	// Deletes an already existing subscription
	// (DELETE /{afId}/subscriptions/{subscriptionId})
	DeleteAfIdSubscriptionsSubscriptionId(ctx context.Context, request DeleteAfIdSubscriptionsSubscriptionIdRequestObject) (DeleteAfIdSubscriptionsSubscriptionIdResponseObject, error)
	// read an active subscriptions for the SCS/AS and the subscription Id
	// (GET /{afId}/subscriptions/{subscriptionId})
	GetAfIdSubscriptionsSubscriptionId(ctx context.Context, request GetAfIdSubscriptionsSubscriptionIdRequestObject) (GetAfIdSubscriptionsSubscriptionIdResponseObject, error)
	// Updates/replaces an existing subscription resource
	// (PATCH /{afId}/subscriptions/{subscriptionId})
	PatchAfIdSubscriptionsSubscriptionId(ctx context.Context, request PatchAfIdSubscriptionsSubscriptionIdRequestObject) (PatchAfIdSubscriptionsSubscriptionIdResponseObject, error)
	// Updates/replaces an existing subscription resource
	// (PUT /{afId}/subscriptions/{subscriptionId})
	PutAfIdSubscriptionsSubscriptionId(ctx context.Context, request PutAfIdSubscriptionsSubscriptionIdRequestObject) (PutAfIdSubscriptionsSubscriptionIdResponseObject, error)
}

StrictServerInterface represents all server handlers.

Jump to

Keyboard shortcuts

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