event

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: 51 Imported by: 0

Documentation

Overview

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

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

Index

Constants

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

Variables

This section is empty.

Functions

func GetKinOpenApi3Document

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

func GetKinOpenApi3DocumentMust

func GetKinOpenApi3DocumentMust() *openapi3.T

func NewDeletePcEventExposureSubscRequest

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

NewDeletePcEventExposureSubscRequest generates requests for DeletePcEventExposureSubsc

func NewGetPcEventExposureSubscRequest

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

NewGetPcEventExposureSubscRequest generates requests for GetPcEventExposureSubsc

func NewPostPcEventExposureSubscRequest

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

NewPostPcEventExposureSubscRequest calls the generic PostPcEventExposureSubsc builder with application/json body

func NewPostPcEventExposureSubscRequestWithBody

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

NewPostPcEventExposureSubscRequestWithBody generates requests for PostPcEventExposureSubsc with any type of body

func NewPutPcEventExposureSubscRequest

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

NewPutPcEventExposureSubscRequest calls the generic PutPcEventExposureSubsc builder with application/json body

func NewPutPcEventExposureSubscRequestWithBody

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

NewPutPcEventExposureSubscRequestWithBody generates requests for PutPcEventExposureSubsc with any type of body

func RegisterHandlers

func RegisterHandlers(router gin.IRouter, si ServerInterface)

RegisterHandlers creates http.Handler with routing matching OpenAPI spec.

func RegisterHandlersWithOptions

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

RegisterHandlersWithOptions creates http.Handler with additional options

Types

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) DeletePcEventExposureSubsc

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

func (*Client) GetPcEventExposureSubsc

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

func (*Client) PostPcEventExposureSubsc

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

func (*Client) PostPcEventExposureSubscWithBody

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

func (*Client) PutPcEventExposureSubsc

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

func (*Client) PutPcEventExposureSubscWithBody

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

type ClientInterface

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

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

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

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

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

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

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) DeletePcEventExposureSubscWithResponse

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

DeletePcEventExposureSubscWithResponse request returning *DeletePcEventExposureSubscResponse

func (*ClientWithResponses) GetPcEventExposureSubscWithResponse

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

GetPcEventExposureSubscWithResponse request returning *GetPcEventExposureSubscResponse

func (*ClientWithResponses) PostPcEventExposureSubscWithBodyWithResponse

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

PostPcEventExposureSubscWithBodyWithResponse request with arbitrary body returning *PostPcEventExposureSubscResponse

func (*ClientWithResponses) PostPcEventExposureSubscWithResponse

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

func (*ClientWithResponses) PutPcEventExposureSubscWithBodyWithResponse

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

PutPcEventExposureSubscWithBodyWithResponse request with arbitrary body returning *PutPcEventExposureSubscResponse

func (*ClientWithResponses) PutPcEventExposureSubscWithResponse

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

type ClientWithResponsesInterface

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

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

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

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

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

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

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

type DeletePcEventExposureSubsc204Response

type DeletePcEventExposureSubsc204Response struct {
}

func (DeletePcEventExposureSubsc204Response) VisitDeletePcEventExposureSubscResponse

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

type DeletePcEventExposureSubsc307JSONResponse

type DeletePcEventExposureSubsc307JSONResponse struct{ externalRef0.N307JSONResponse }

func (DeletePcEventExposureSubsc307JSONResponse) VisitDeletePcEventExposureSubscResponse

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

type DeletePcEventExposureSubsc308JSONResponse

type DeletePcEventExposureSubsc308JSONResponse struct{ externalRef0.N308JSONResponse }

func (DeletePcEventExposureSubsc308JSONResponse) VisitDeletePcEventExposureSubscResponse

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

type DeletePcEventExposureSubsc400ApplicationProblemPlusJSONResponse

type DeletePcEventExposureSubsc400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (DeletePcEventExposureSubsc400ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse

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

type DeletePcEventExposureSubsc401ApplicationProblemPlusJSONResponse

type DeletePcEventExposureSubsc401ApplicationProblemPlusJSONResponse struct {
	externalRef0.N401ApplicationProblemPlusJSONResponse
}

func (DeletePcEventExposureSubsc401ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse

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

type DeletePcEventExposureSubsc403ApplicationProblemPlusJSONResponse

type DeletePcEventExposureSubsc403ApplicationProblemPlusJSONResponse struct {
	externalRef0.N403ApplicationProblemPlusJSONResponse
}

func (DeletePcEventExposureSubsc403ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse

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

type DeletePcEventExposureSubsc404ApplicationProblemPlusJSONResponse

type DeletePcEventExposureSubsc404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (DeletePcEventExposureSubsc404ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse

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

type DeletePcEventExposureSubsc429ApplicationProblemPlusJSONResponse

type DeletePcEventExposureSubsc429ApplicationProblemPlusJSONResponse struct {
	externalRef0.N429ApplicationProblemPlusJSONResponse
}

func (DeletePcEventExposureSubsc429ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse

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

type DeletePcEventExposureSubsc500ApplicationProblemPlusJSONResponse

type DeletePcEventExposureSubsc500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (DeletePcEventExposureSubsc500ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse

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

type DeletePcEventExposureSubsc503ApplicationProblemPlusJSONResponse

type DeletePcEventExposureSubsc503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (DeletePcEventExposureSubsc503ApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse

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

type DeletePcEventExposureSubscRequestObject

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

type DeletePcEventExposureSubscResponse

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

func ParseDeletePcEventExposureSubscResponse

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

ParseDeletePcEventExposureSubscResponse parses an HTTP response from a DeletePcEventExposureSubscWithResponse call

func (DeletePcEventExposureSubscResponse) Status

Status returns HTTPResponse.Status

func (DeletePcEventExposureSubscResponse) StatusCode

func (r DeletePcEventExposureSubscResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePcEventExposureSubscResponseObject

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

type DeletePcEventExposureSubscdefaultApplicationProblemPlusJSONResponse

type DeletePcEventExposureSubscdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (DeletePcEventExposureSubscdefaultApplicationProblemPlusJSONResponse) VisitDeletePcEventExposureSubscResponse

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

type EthernetFlowInfo

type EthernetFlowInfo struct {
	EthFlows             []externalRef2.EthFlowDescription `json:"ethFlows,omitempty"`
	FlowNumber           int                               `json:"flowNumber"`
	AdditionalProperties map[string]interface{}            `json:"-"`
}

EthernetFlowInfo defines model for EthernetFlowInfo.

func (EthernetFlowInfo) Get

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

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

func (EthernetFlowInfo) MarshalJSON

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

Override default JSON handling for EthernetFlowInfo to handle AdditionalProperties

func (*EthernetFlowInfo) Set

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

Setter for additional properties for EthernetFlowInfo

func (*EthernetFlowInfo) UnmarshalJSON

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

Override default JSON handling for EthernetFlowInfo to handle AdditionalProperties

type GetPcEventExposureSubsc200JSONResponse

type GetPcEventExposureSubsc200JSONResponse PcEventExposureSubsc

func (GetPcEventExposureSubsc200JSONResponse) VisitGetPcEventExposureSubscResponse

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

type GetPcEventExposureSubsc307JSONResponse

type GetPcEventExposureSubsc307JSONResponse struct{ externalRef0.N307JSONResponse }

func (GetPcEventExposureSubsc307JSONResponse) VisitGetPcEventExposureSubscResponse

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

type GetPcEventExposureSubsc308JSONResponse

type GetPcEventExposureSubsc308JSONResponse struct{ externalRef0.N308JSONResponse }

func (GetPcEventExposureSubsc308JSONResponse) VisitGetPcEventExposureSubscResponse

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

type GetPcEventExposureSubsc400ApplicationProblemPlusJSONResponse

type GetPcEventExposureSubsc400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (GetPcEventExposureSubsc400ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse

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

type GetPcEventExposureSubsc401ApplicationProblemPlusJSONResponse

type GetPcEventExposureSubsc401ApplicationProblemPlusJSONResponse struct {
	externalRef0.N401ApplicationProblemPlusJSONResponse
}

func (GetPcEventExposureSubsc401ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse

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

type GetPcEventExposureSubsc403ApplicationProblemPlusJSONResponse

type GetPcEventExposureSubsc403ApplicationProblemPlusJSONResponse struct {
	externalRef0.N403ApplicationProblemPlusJSONResponse
}

func (GetPcEventExposureSubsc403ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse

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

type GetPcEventExposureSubsc404ApplicationProblemPlusJSONResponse

type GetPcEventExposureSubsc404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (GetPcEventExposureSubsc404ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse

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

type GetPcEventExposureSubsc406Response

type GetPcEventExposureSubsc406Response externalRef0.N406Response

func (GetPcEventExposureSubsc406Response) VisitGetPcEventExposureSubscResponse

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

type GetPcEventExposureSubsc429ApplicationProblemPlusJSONResponse

type GetPcEventExposureSubsc429ApplicationProblemPlusJSONResponse struct {
	externalRef0.N429ApplicationProblemPlusJSONResponse
}

func (GetPcEventExposureSubsc429ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse

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

type GetPcEventExposureSubsc500ApplicationProblemPlusJSONResponse

type GetPcEventExposureSubsc500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (GetPcEventExposureSubsc500ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse

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

type GetPcEventExposureSubsc503ApplicationProblemPlusJSONResponse

type GetPcEventExposureSubsc503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (GetPcEventExposureSubsc503ApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse

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

type GetPcEventExposureSubscRequestObject

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

type GetPcEventExposureSubscResponse

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

func ParseGetPcEventExposureSubscResponse

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

ParseGetPcEventExposureSubscResponse parses an HTTP response from a GetPcEventExposureSubscWithResponse call

func (GetPcEventExposureSubscResponse) Status

Status returns HTTPResponse.Status

func (GetPcEventExposureSubscResponse) StatusCode

func (r GetPcEventExposureSubscResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPcEventExposureSubscResponseObject

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

type GetPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse

type GetPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (GetPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse) VisitGetPcEventExposureSubscResponse

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

type GinServerOptions

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

GinServerOptions provides options for the Gin server.

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IpFlowInfo

type IpFlowInfo struct {
	FlowNumber           int                            `json:"flowNumber"`
	IpFlows              []externalRef2.FlowDescription `json:"ipFlows,omitempty"`
	AdditionalProperties map[string]interface{}         `json:"-"`
}

IpFlowInfo defines model for IpFlowInfo.

func (IpFlowInfo) Get

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

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

func (IpFlowInfo) MarshalJSON

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

Override default JSON handling for IpFlowInfo to handle AdditionalProperties

func (*IpFlowInfo) Set

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

Setter for additional properties for IpFlowInfo

func (*IpFlowInfo) UnmarshalJSON

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

Override default JSON handling for IpFlowInfo to handle AdditionalProperties

type MiddlewareFunc

type MiddlewareFunc func(c *gin.Context)

type PcEvent

type PcEvent string

PcEvent defines model for PcEvent.

const (
	ACTYCH PcEvent = "AC_TY_CH"
	PLMNCH PcEvent = "PLMN_CH"
)

Defines values for PcEvent.

type PcEventExposureNotif

type PcEventExposureNotif struct {
	EventNotifs          []PcEventNotification  `json:"eventNotifs"`
	NotifId              string                 `json:"notifId"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PcEventExposureNotif defines model for PcEventExposureNotif.

func (PcEventExposureNotif) Get

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

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

func (PcEventExposureNotif) MarshalJSON

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

Override default JSON handling for PcEventExposureNotif to handle AdditionalProperties

func (*PcEventExposureNotif) Set

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

Setter for additional properties for PcEventExposureNotif

func (*PcEventExposureNotif) UnmarshalJSON

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

Override default JSON handling for PcEventExposureNotif to handle AdditionalProperties

type PcEventExposureSubsc

type PcEventExposureSubsc struct {
	EventSubs            []PcEvent                       `json:"eventSubs"`
	EventsRepInfo        *ReportingInformation           `json:"eventsRepInfo,omitempty"`
	FilterDnns           []externalRef0.Dnn              `json:"filterDnns,omitempty"`
	FilterServices       []ServiceIdentification         `json:"filterServices,omitempty"`
	FilterSnssais        []externalRef0.Snssai           `json:"filterSnssais,omitempty"`
	GroupId              externalRef0.GroupId            `json:"groupId,omitempty"`
	NotifId              string                          `json:"notifId"`
	NotifUri             externalRef0.Uri                `json:"notifUri"`
	SuppFeat             *externalRef0.SupportedFeatures `json:"suppFeat,omitempty"`
	AdditionalProperties map[string]interface{}          `json:"-"`
}

PcEventExposureSubsc defines model for PcEventExposureSubsc.

func (PcEventExposureSubsc) Get

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

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

func (PcEventExposureSubsc) MarshalJSON

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

Override default JSON handling for PcEventExposureSubsc to handle AdditionalProperties

func (*PcEventExposureSubsc) Set

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

Setter for additional properties for PcEventExposureSubsc

func (*PcEventExposureSubsc) UnmarshalJSON

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

Override default JSON handling for PcEventExposureSubsc to handle AdditionalProperties

type PcEventNotification

type PcEventNotification struct {
	AccType       externalRef0.AccessType            `json:"accType,omitempty"`
	AddAccessInfo *externalRef1.AdditionalAccessInfo `json:"addAccessInfo,omitempty"`

	// AnGwAddr describes the address of the access network gateway control node
	AnGwAddr             *externalRef2.AnGwAddress          `json:"anGwAddr,omitempty"`
	Event                PcEvent                            `json:"event"`
	Gpsi                 externalRef0.Gpsi                  `json:"gpsi,omitempty"`
	PduSessionInfo       *PduSessionInformation             `json:"pduSessionInfo,omitempty"`
	PlmnId               *externalRef0.PlmnIdNid            `json:"plmnId,omitempty"`
	RatType              *externalRef0.RatType              `json:"ratType,omitempty"`
	RelAccessInfo        *externalRef1.AdditionalAccessInfo `json:"relAccessInfo,omitempty"`
	RepServices          *ServiceIdentification             `json:"repServices,omitempty"`
	Supi                 externalRef0.Supi                  `json:"supi,omitempty"`
	TimeStamp            externalRef0.DateTime              `json:"timeStamp"`
	AdditionalProperties map[string]interface{}             `json:"-"`
}

PcEventNotification defines model for PcEventNotification.

func (PcEventNotification) Get

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

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

func (PcEventNotification) MarshalJSON

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

Override default JSON handling for PcEventNotification to handle AdditionalProperties

func (*PcEventNotification) Set

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

Setter for additional properties for PcEventNotification

func (*PcEventNotification) UnmarshalJSON

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

Override default JSON handling for PcEventNotification to handle AdditionalProperties

type PduSessionInformation

type PduSessionInformation struct {
	Dnn                  externalRef0.Dnn         `json:"dnn"`
	IpDomain             *string                  `json:"ipDomain,omitempty"`
	Snssai               externalRef0.Snssai      `json:"snssai"`
	UeIpv4               externalRef0.Ipv4Addr    `json:"ueIpv4,omitempty"`
	UeIpv6               *externalRef0.Ipv6Prefix `json:"ueIpv6,omitempty"`
	UeMac                externalRef0.MacAddr48   `json:"ueMac,omitempty"`
	AdditionalProperties map[string]interface{}   `json:"-"`
}

PduSessionInformation defines model for PduSessionInformation.

func (PduSessionInformation) Get

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

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

func (PduSessionInformation) MarshalJSON

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

Override default JSON handling for PduSessionInformation to handle AdditionalProperties

func (*PduSessionInformation) Set

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

Setter for additional properties for PduSessionInformation

func (*PduSessionInformation) UnmarshalJSON

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

Override default JSON handling for PduSessionInformation to handle AdditionalProperties

type PostPcEventExposureSubsc201JSONResponse

type PostPcEventExposureSubsc201JSONResponse struct {
	Body    PcEventExposureSubsc
	Headers PostPcEventExposureSubsc201ResponseHeaders
}

func (PostPcEventExposureSubsc201JSONResponse) VisitPostPcEventExposureSubscResponse

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

type PostPcEventExposureSubsc201ResponseHeaders

type PostPcEventExposureSubsc201ResponseHeaders struct {
	Location string
}

type PostPcEventExposureSubsc400ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc400ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

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

type PostPcEventExposureSubsc401ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc401ApplicationProblemPlusJSONResponse struct {
	externalRef0.N401ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc401ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

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

type PostPcEventExposureSubsc403ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc403ApplicationProblemPlusJSONResponse struct {
	externalRef0.N403ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc403ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

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

type PostPcEventExposureSubsc404ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc404ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

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

type PostPcEventExposureSubsc411ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc411ApplicationProblemPlusJSONResponse struct {
	externalRef0.N411ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc411ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

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

type PostPcEventExposureSubsc413ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc413ApplicationProblemPlusJSONResponse struct {
	externalRef0.N413ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc413ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

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

type PostPcEventExposureSubsc415ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc415ApplicationProblemPlusJSONResponse struct {
	externalRef0.N415ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc415ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

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

type PostPcEventExposureSubsc429ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc429ApplicationProblemPlusJSONResponse struct {
	externalRef0.N429ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc429ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

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

type PostPcEventExposureSubsc500ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc500ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

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

type PostPcEventExposureSubsc503ApplicationProblemPlusJSONResponse

type PostPcEventExposureSubsc503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (PostPcEventExposureSubsc503ApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

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

type PostPcEventExposureSubscJSONRequestBody

type PostPcEventExposureSubscJSONRequestBody = PcEventExposureSubsc

PostPcEventExposureSubscJSONRequestBody defines body for PostPcEventExposureSubsc for application/json ContentType.

type PostPcEventExposureSubscRequestObject

type PostPcEventExposureSubscRequestObject struct {
	Body *PostPcEventExposureSubscJSONRequestBody
}

type PostPcEventExposureSubscResponse

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

func ParsePostPcEventExposureSubscResponse

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

ParsePostPcEventExposureSubscResponse parses an HTTP response from a PostPcEventExposureSubscWithResponse call

func (PostPcEventExposureSubscResponse) Status

Status returns HTTPResponse.Status

func (PostPcEventExposureSubscResponse) StatusCode

func (r PostPcEventExposureSubscResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostPcEventExposureSubscResponseObject

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

type PostPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse

type PostPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (PostPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse) VisitPostPcEventExposureSubscResponse

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

type PutPcEventExposureSubsc200JSONResponse

type PutPcEventExposureSubsc200JSONResponse PcEventExposureSubsc

func (PutPcEventExposureSubsc200JSONResponse) VisitPutPcEventExposureSubscResponse

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

type PutPcEventExposureSubsc204Response

type PutPcEventExposureSubsc204Response struct {
}

func (PutPcEventExposureSubsc204Response) VisitPutPcEventExposureSubscResponse

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

type PutPcEventExposureSubsc307JSONResponse

type PutPcEventExposureSubsc307JSONResponse struct{ externalRef0.N307JSONResponse }

func (PutPcEventExposureSubsc307JSONResponse) VisitPutPcEventExposureSubscResponse

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

type PutPcEventExposureSubsc308JSONResponse

type PutPcEventExposureSubsc308JSONResponse struct{ externalRef0.N308JSONResponse }

func (PutPcEventExposureSubsc308JSONResponse) VisitPutPcEventExposureSubscResponse

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

type PutPcEventExposureSubsc400ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc400ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

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

type PutPcEventExposureSubsc401ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc401ApplicationProblemPlusJSONResponse struct {
	externalRef0.N401ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc401ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

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

type PutPcEventExposureSubsc403ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc403ApplicationProblemPlusJSONResponse struct {
	externalRef0.N403ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc403ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

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

type PutPcEventExposureSubsc404ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc404ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

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

type PutPcEventExposureSubsc411ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc411ApplicationProblemPlusJSONResponse struct {
	externalRef0.N411ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc411ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

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

type PutPcEventExposureSubsc413ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc413ApplicationProblemPlusJSONResponse struct {
	externalRef0.N413ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc413ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

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

type PutPcEventExposureSubsc415ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc415ApplicationProblemPlusJSONResponse struct {
	externalRef0.N415ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc415ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

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

type PutPcEventExposureSubsc429ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc429ApplicationProblemPlusJSONResponse struct {
	externalRef0.N429ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc429ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

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

type PutPcEventExposureSubsc500ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc500ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

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

type PutPcEventExposureSubsc503ApplicationProblemPlusJSONResponse

type PutPcEventExposureSubsc503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (PutPcEventExposureSubsc503ApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

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

type PutPcEventExposureSubscJSONRequestBody

type PutPcEventExposureSubscJSONRequestBody = PcEventExposureSubsc

PutPcEventExposureSubscJSONRequestBody defines body for PutPcEventExposureSubsc for application/json ContentType.

type PutPcEventExposureSubscRequestObject

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

type PutPcEventExposureSubscResponse

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

func ParsePutPcEventExposureSubscResponse

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

ParsePutPcEventExposureSubscResponse parses an HTTP response from a PutPcEventExposureSubscWithResponse call

func (PutPcEventExposureSubscResponse) Status

Status returns HTTPResponse.Status

func (PutPcEventExposureSubscResponse) StatusCode

func (r PutPcEventExposureSubscResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutPcEventExposureSubscResponseObject

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

type PutPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse

type PutPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (PutPcEventExposureSubscdefaultApplicationProblemPlusJSONResponse) VisitPutPcEventExposureSubscResponse

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

type ReportingInformation

type ReportingInformation struct {
	GrpRepTime   *externalRef0.DurationSec `json:"grpRepTime,omitempty"`
	ImmRep       *bool                     `json:"immRep,omitempty"`
	MaxReportNbr *externalRef0.Uinteger    `json:"maxReportNbr,omitempty"`
	MonDur       *externalRef0.DateTime    `json:"monDur,omitempty"`

	// NotifMethod Possible values are - PERIODIC - ONE_TIME - ON_EVENT_DETECTION
	NotifMethod          *externalRef3.NotificationMethod `json:"notifMethod,omitempty"`
	RepPeriod            *externalRef0.DurationSec        `json:"repPeriod,omitempty"`
	SampRatio            externalRef0.SamplingRatio       `json:"sampRatio,omitempty"`
	AdditionalProperties map[string]interface{}           `json:"-"`
}

ReportingInformation defines model for ReportingInformation.

func (ReportingInformation) Get

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

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

func (ReportingInformation) MarshalJSON

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

Override default JSON handling for ReportingInformation to handle AdditionalProperties

func (*ReportingInformation) Set

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

Setter for additional properties for ReportingInformation

func (*ReportingInformation) UnmarshalJSON

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

Override default JSON handling for ReportingInformation to handle AdditionalProperties

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type ServerInterface

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

ServerInterface represents all server handlers.

func NewStrictHandler

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

type ServerInterfaceWrapper

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

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) DeletePcEventExposureSubsc

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

DeletePcEventExposureSubsc operation middleware

func (*ServerInterfaceWrapper) GetPcEventExposureSubsc

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

GetPcEventExposureSubsc operation middleware

func (*ServerInterfaceWrapper) PostPcEventExposureSubsc

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

PostPcEventExposureSubsc operation middleware

func (*ServerInterfaceWrapper) PutPcEventExposureSubsc

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

PutPcEventExposureSubsc operation middleware

type ServiceIdentification

type ServiceIdentification struct {
	// AfAppId Contains an AF application identifier.
	AfAppId              *externalRef2.AfAppId  `json:"afAppId,omitempty"`
	ServEthFlows         []EthernetFlowInfo     `json:"servEthFlows,omitempty"`
	ServIpFlows          []IpFlowInfo           `json:"servIpFlows,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ServiceIdentification defines model for ServiceIdentification.

func (ServiceIdentification) Get

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

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

func (ServiceIdentification) MarshalJSON

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

Override default JSON handling for ServiceIdentification to handle AdditionalProperties

func (*ServiceIdentification) Set

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

Setter for additional properties for ServiceIdentification

func (*ServiceIdentification) UnmarshalJSON

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

Override default JSON handling for ServiceIdentification to handle AdditionalProperties

type StrictHandlerFunc

type StrictHandlerFunc = strictgin.StrictGinHandlerFunc

type StrictMiddlewareFunc

type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc

type StrictServerInterface

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

StrictServerInterface represents all server handlers.

Jump to

Keyboard shortcuts

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