influence

package
v0.0.0-...-b1a38c4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 50 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 GetKinOpenApi3Document

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

func GetKinOpenApi3DocumentMust

func GetKinOpenApi3DocumentMust() *openapi3.T

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 AfAckInfo

type AfAckInfo struct {
	AckResult            AfResultInfo           `json:"ackResult"`
	AfTransId            *string                `json:"afTransId,omitempty"`
	Gpsi                 externalRef0.Gpsi      `json:"gpsi,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

AfAckInfo defines model for AfAckInfo.

func (AfAckInfo) Get

func (a AfAckInfo) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for AfAckInfo. Returns the specified element and whether it was found

func (AfAckInfo) MarshalJSON

func (a AfAckInfo) MarshalJSON() ([]byte, error)

Override default JSON handling for AfAckInfo to handle AdditionalProperties

func (*AfAckInfo) Set

func (a *AfAckInfo) Set(fieldName string, value interface{})

Setter for additional properties for AfAckInfo

func (*AfAckInfo) UnmarshalJSON

func (a *AfAckInfo) UnmarshalJSON(b []byte) error

Override default JSON handling for AfAckInfo to handle AdditionalProperties

type AfResultInfo

type AfResultInfo struct {
	// AfStatus Possible values are - SUCCESS: The application layer is ready or the relocation is completed. - TEMPORARY_CONGESTION: The application relocation fails due to temporary congestion. - RELOC_NO_ALLOWED: The application relocation fails because application relocation is not allowed. - OTHER: The application relocation fails due to other reason.
	AfStatus             AfResultStatus                `json:"afStatus"`
	TrafficRoute         *externalRef0.RouteToLocation `json:"trafficRoute"`
	AdditionalProperties map[string]interface{}        `json:"-"`
}

AfResultInfo defines model for AfResultInfo.

func (AfResultInfo) Get

func (a AfResultInfo) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for AfResultInfo. Returns the specified element and whether it was found

func (AfResultInfo) MarshalJSON

func (a AfResultInfo) MarshalJSON() ([]byte, error)

Override default JSON handling for AfResultInfo to handle AdditionalProperties

func (*AfResultInfo) Set

func (a *AfResultInfo) Set(fieldName string, value interface{})

Setter for additional properties for AfResultInfo

func (*AfResultInfo) UnmarshalJSON

func (a *AfResultInfo) UnmarshalJSON(b []byte) error

Override default JSON handling for AfResultInfo to handle AdditionalProperties

type AfResultStatus

type AfResultStatus string

AfResultStatus Possible values are - SUCCESS: The application layer is ready or the relocation is completed. - TEMPORARY_CONGESTION: The application relocation fails due to temporary congestion. - RELOC_NO_ALLOWED: The application relocation fails because application relocation is not allowed. - OTHER: The application relocation fails due to other reason.

const (
	OTHER               AfResultStatus = "OTHER"
	RELOCNOALLOWED      AfResultStatus = "RELOC_NO_ALLOWED"
	SUCCESS             AfResultStatus = "SUCCESS"
	TEMPORARYCONGESTION AfResultStatus = "TEMPORARY_CONGESTION"
)

Defines values for AfResultStatus.

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 EventNotification

type EventNotification struct {
	// AfAckUri string formatted according to IETF RFC 3986 identifying a referenced resource.
	AfAckUri *externalRef1.Link `json:"afAckUri,omitempty"`

	// AfTransId Identifies an NEF Northbound interface transaction, generated by the AF.
	AfTransId *string `json:"afTransId,omitempty"`

	// DnaiChgType Possible values are - EARLY: Early notification of UP path reconfiguration. - EARLY_LATE: Early and late notification of UP path reconfiguration. This value shall only be present in the subscription to the DNAI change event. - LATE: Late notification of UP path reconfiguration.
	DnaiChgType        externalRef0.DnaiChangeType   `json:"dnaiChgType"`
	Gpsi               externalRef0.Gpsi             `json:"gpsi,omitempty"`
	SourceDnai         *externalRef0.Dnai            `json:"sourceDnai,omitempty"`
	SourceTrafficRoute *externalRef0.RouteToLocation `json:"sourceTrafficRoute"`

	// SrcUeIpv4Addr string identifying a Ipv4 address formatted in the "dotted decimal" notation as defined in IETF RFC 1166.
	SrcUeIpv4Addr   *externalRef1.Ipv4Addr   `json:"srcUeIpv4Addr,omitempty"`
	SrcUeIpv6Prefix *externalRef0.Ipv6Prefix `json:"srcUeIpv6Prefix,omitempty"`

	// SubscribedEvent Possible values are - UP_PATH_CHANGE: The AF requests to be notified when the UP path changes for the PDU session.
	SubscribedEvent    SubscribedEvent               `json:"subscribedEvent"`
	TargetDnai         *externalRef0.Dnai            `json:"targetDnai,omitempty"`
	TargetTrafficRoute *externalRef0.RouteToLocation `json:"targetTrafficRoute"`

	// TgtUeIpv4Addr string identifying a Ipv4 address formatted in the "dotted decimal" notation as defined in IETF RFC 1166.
	TgtUeIpv4Addr        *externalRef1.Ipv4Addr   `json:"tgtUeIpv4Addr,omitempty"`
	TgtUeIpv6Prefix      *externalRef0.Ipv6Prefix `json:"tgtUeIpv6Prefix,omitempty"`
	UeMac                externalRef0.MacAddr48   `json:"ueMac,omitempty"`
	AdditionalProperties map[string]interface{}   `json:"-"`
}

EventNotification defines model for EventNotification.

func (EventNotification) Get

func (a EventNotification) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for EventNotification. Returns the specified element and whether it was found

func (EventNotification) MarshalJSON

func (a EventNotification) MarshalJSON() ([]byte, error)

Override default JSON handling for EventNotification to handle AdditionalProperties

func (*EventNotification) Set

func (a *EventNotification) Set(fieldName string, value interface{})

Setter for additional properties for EventNotification

func (*EventNotification) UnmarshalJSON

func (a *EventNotification) UnmarshalJSON(b []byte) error

Override default JSON handling for EventNotification to handle AdditionalProperties

type GetAfIdSubscriptions200JSONResponse

type GetAfIdSubscriptions200JSONResponse []TrafficInfluSub

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                       *[]TrafficInfluSub
	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 TrafficInfluSub

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                       *TrafficInfluSub
	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 TrafficInfluSub

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 = 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                       *TrafficInfluSub
	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    TrafficInfluSub
	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 = TrafficInfluSub

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                       *TrafficInfluSub
	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 TrafficInfluSub

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 = TrafficInfluSub

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                       *TrafficInfluSub
	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.

type SubscribedEvent

type SubscribedEvent string

SubscribedEvent Possible values are - UP_PATH_CHANGE: The AF requests to be notified when the UP path changes for the PDU session.

const (
	UPPATHCHANGE SubscribedEvent = "UP_PATH_CHANGE"
)

Defines values for SubscribedEvent.

type TrafficInfluSub

type TrafficInfluSub struct {
	AddrPreserInd *bool `json:"addrPreserInd,omitempty"`
	AfAckInd      *bool `json:"afAckInd,omitempty"`

	// AfAppId Identifies an application.
	AfAppId *string `json:"afAppId,omitempty"`

	// AfServiceId Identifies a service on behalf of which the AF is issuing the request.
	AfServiceId *string `json:"afServiceId,omitempty"`

	// AfTransId Identifies an NEF Northbound interface transaction, generated by the AF.
	AfTransId *string `json:"afTransId,omitempty"`

	// AnyUeInd Identifies whether the AF request applies to any UE. This attribute shall set to "true" if applicable for any UE, otherwise, set to "false".
	AnyUeInd *bool `json:"anyUeInd,omitempty"`

	// AppReloInd Identifies whether an application can be relocated once a location of the application has been selected.
	AppReloInd *bool `json:"appReloInd,omitempty"`

	// DnaiChgType Possible values are - EARLY: Early notification of UP path reconfiguration. - EARLY_LATE: Early and late notification of UP path reconfiguration. This value shall only be present in the subscription to the DNAI change event. - LATE: Late notification of UP path reconfiguration.
	DnaiChgType *externalRef0.DnaiChangeType `json:"dnaiChgType,omitempty"`
	Dnn         *externalRef0.Dnn            `json:"dnn,omitempty"`

	// EthTrafficFilters Identifies Ethernet packet filters.
	EthTrafficFilters []externalRef2.EthFlowDescription `json:"ethTrafficFilters,omitempty"`

	// ExternalGroupId string containing a local identifier followed by "@" and a domain identifier. Both the local identifier and the domain identifier shall be encoded as strings that do not contain any "@" characters. See Clauses 4.6.2 and 4.6.3 of 3GPP TS 23.682 for more information.
	ExternalGroupId *externalRef1.ExternalGroupId `json:"externalGroupId,omitempty"`
	Gpsi            externalRef0.Gpsi             `json:"gpsi,omitempty"`
	IpDomain        *string                       `json:"ipDomain,omitempty"`

	// Ipv4Addr string identifying a Ipv4 address formatted in the "dotted decimal" notation as defined in IETF RFC 1166.
	Ipv4Addr *externalRef1.Ipv4Addr `json:"ipv4Addr,omitempty"`

	// Ipv6Addr string identifying a Ipv6 address formatted according to clause 4 in IETF RFC 5952. The mixed Ipv4 Ipv6 notation according to clause 5 of IETF RFC 5952 shall not be used.
	Ipv6Addr *externalRef1.Ipv6Addr `json:"ipv6Addr,omitempty"`
	MacAddr  externalRef0.MacAddr48 `json:"macAddr,omitempty"`

	// NotificationDestination string formatted according to IETF RFC 3986 identifying a referenced resource.
	NotificationDestination *externalRef1.Link `json:"notificationDestination,omitempty"`

	// RequestTestNotification Set to true by the SCS/AS to request the NEF to send a test notification as defined in subclause 5.2.5.3. Set to false or omitted otherwise.
	RequestTestNotification *bool `json:"requestTestNotification,omitempty"`

	// Self string formatted according to IETF RFC 3986 identifying a referenced resource.
	Self   *externalRef1.Link   `json:"self,omitempty"`
	Snssai *externalRef0.Snssai `json:"snssai,omitempty"`

	// SubscribedEvents Identifies the requirement to be notified of the event(s).
	SubscribedEvents []SubscribedEvent                `json:"subscribedEvents,omitempty"`
	SuppFeat         *externalRef0.SupportedFeatures  `json:"suppFeat,omitempty"`
	TempValidities   *[]externalRef2.TemporalValidity `json:"tempValidities,omitempty"`
	TfcCorrInd       *bool                            `json:"tfcCorrInd,omitempty"`

	// TrafficFilters Identifies IP packet filters.
	TrafficFilters []externalRef1.FlowInfo `json:"trafficFilters,omitempty"`

	// TrafficRoutes Identifies the N6 traffic routing requirement.
	TrafficRoutes []externalRef0.RouteToLocation `json:"trafficRoutes,omitempty"`

	// ValidGeoZoneIds Identifies a geographic zone that the AF request applies only to the traffic of UE(s) located in this specific zone.
	ValidGeoZoneIds      []string                         `json:"validGeoZoneIds,omitempty"`
	WebsockNotifConfig   *externalRef1.WebsockNotifConfig `json:"websockNotifConfig,omitempty"`
	AdditionalProperties map[string]interface{}           `json:"-"`
}

TrafficInfluSub defines model for TrafficInfluSub.

func (TrafficInfluSub) Get

func (a TrafficInfluSub) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for TrafficInfluSub. Returns the specified element and whether it was found

func (TrafficInfluSub) MarshalJSON

func (a TrafficInfluSub) MarshalJSON() ([]byte, error)

Override default JSON handling for TrafficInfluSub to handle AdditionalProperties

func (*TrafficInfluSub) Set

func (a *TrafficInfluSub) Set(fieldName string, value interface{})

Setter for additional properties for TrafficInfluSub

func (*TrafficInfluSub) UnmarshalJSON

func (a *TrafficInfluSub) UnmarshalJSON(b []byte) error

Override default JSON handling for TrafficInfluSub to handle AdditionalProperties

type TrafficInfluSubPatch

type TrafficInfluSubPatch struct {
	AddrPreserInd *bool `json:"addrPreserInd"`
	AfAckInd      *bool `json:"afAckInd"`

	// AppReloInd Identifies whether an application can be relocated once a location of the application has been selected.
	AppReloInd *bool `json:"appReloInd"`

	// EthTrafficFilters Identifies Ethernet packet filters.
	EthTrafficFilters []externalRef2.EthFlowDescription `json:"ethTrafficFilters,omitempty"`
	TempValidities    *[]externalRef2.TemporalValidity  `json:"tempValidities"`
	TfcCorrInd        *bool                             `json:"tfcCorrInd"`

	// TrafficFilters Identifies IP packet filters.
	TrafficFilters []externalRef1.FlowInfo `json:"trafficFilters,omitempty"`

	// TrafficRoutes Identifies the N6 traffic routing requirement.
	TrafficRoutes []externalRef0.RouteToLocation `json:"trafficRoutes,omitempty"`

	// ValidGeoZoneIds Identifies a geographic zone that the AF request applies only to the traffic of UE(s) located in this specific zone.
	ValidGeoZoneIds      *[]string              `json:"validGeoZoneIds"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

TrafficInfluSubPatch defines model for TrafficInfluSubPatch.

func (TrafficInfluSubPatch) Get

func (a TrafficInfluSubPatch) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for TrafficInfluSubPatch. Returns the specified element and whether it was found

func (TrafficInfluSubPatch) MarshalJSON

func (a TrafficInfluSubPatch) MarshalJSON() ([]byte, error)

Override default JSON handling for TrafficInfluSubPatch to handle AdditionalProperties

func (*TrafficInfluSubPatch) Set

func (a *TrafficInfluSubPatch) Set(fieldName string, value interface{})

Setter for additional properties for TrafficInfluSubPatch

func (*TrafficInfluSubPatch) UnmarshalJSON

func (a *TrafficInfluSubPatch) UnmarshalJSON(b []byte) error

Override default JSON handling for TrafficInfluSubPatch to handle AdditionalProperties

Jump to

Keyboard shortcuts

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