ee

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 ee 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 NewCreateEeSubscriptionRequest

func NewCreateEeSubscriptionRequest(server string, ueIdentity string, body CreateEeSubscriptionJSONRequestBody) (*http.Request, error)

NewCreateEeSubscriptionRequest calls the generic CreateEeSubscription builder with application/json body

func NewCreateEeSubscriptionRequestWithBody

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

NewCreateEeSubscriptionRequestWithBody generates requests for CreateEeSubscription with any type of body

func NewDeleteEeSubscriptionRequest

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

NewDeleteEeSubscriptionRequest generates requests for DeleteEeSubscription

func NewUpdateEeSubscriptionRequestWithApplicationJSONPatchPlusJSONBody

func NewUpdateEeSubscriptionRequestWithApplicationJSONPatchPlusJSONBody(server string, ueIdentity string, subscriptionId string, params *UpdateEeSubscriptionParams, body UpdateEeSubscriptionApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewUpdateEeSubscriptionRequestWithApplicationJSONPatchPlusJSONBody calls the generic UpdateEeSubscription builder with application/json-patch+json body

func NewUpdateEeSubscriptionRequestWithBody

func NewUpdateEeSubscriptionRequestWithBody(server string, ueIdentity string, subscriptionId string, params *UpdateEeSubscriptionParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateEeSubscriptionRequestWithBody generates requests for UpdateEeSubscription 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 AssociationType

type AssociationType string

AssociationType defines model for AssociationType.

const (
	IMEICHANGE   AssociationType = "IMEI_CHANGE"
	IMEISVCHANGE AssociationType = "IMEISV_CHANGE"
)

Defines values for AssociationType.

type ChangeOfSupiPeiAssociationReport

type ChangeOfSupiPeiAssociationReport struct {
	NewPei               externalRef1.Pei       `json:"newPei"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ChangeOfSupiPeiAssociationReport defines model for ChangeOfSupiPeiAssociationReport.

func (ChangeOfSupiPeiAssociationReport) Get

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

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

func (ChangeOfSupiPeiAssociationReport) MarshalJSON

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

Override default JSON handling for ChangeOfSupiPeiAssociationReport to handle AdditionalProperties

func (*ChangeOfSupiPeiAssociationReport) Set

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

Setter for additional properties for ChangeOfSupiPeiAssociationReport

func (*ChangeOfSupiPeiAssociationReport) UnmarshalJSON

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

Override default JSON handling for ChangeOfSupiPeiAssociationReport to handle AdditionalProperties

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

func (c *Client) CreateEeSubscription(ctx context.Context, ueIdentity string, body CreateEeSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateEeSubscriptionWithBody

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

func (*Client) DeleteEeSubscription

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

func (*Client) UpdateEeSubscriptionWithApplicationJSONPatchPlusJSONBody

func (c *Client) UpdateEeSubscriptionWithApplicationJSONPatchPlusJSONBody(ctx context.Context, ueIdentity string, subscriptionId string, params *UpdateEeSubscriptionParams, body UpdateEeSubscriptionApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateEeSubscriptionWithBody

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

type ClientInterface

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

	CreateEeSubscription(ctx context.Context, ueIdentity string, body CreateEeSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	UpdateEeSubscriptionWithApplicationJSONPatchPlusJSONBody(ctx context.Context, ueIdentity string, subscriptionId string, params *UpdateEeSubscriptionParams, body UpdateEeSubscriptionApplicationJSONPatchPlusJSONRequestBody, 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) CreateEeSubscriptionWithBodyWithResponse

func (c *ClientWithResponses) CreateEeSubscriptionWithBodyWithResponse(ctx context.Context, ueIdentity string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEeSubscriptionResponse, error)

CreateEeSubscriptionWithBodyWithResponse request with arbitrary body returning *CreateEeSubscriptionResponse

func (*ClientWithResponses) CreateEeSubscriptionWithResponse

func (c *ClientWithResponses) CreateEeSubscriptionWithResponse(ctx context.Context, ueIdentity string, body CreateEeSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEeSubscriptionResponse, error)

func (*ClientWithResponses) DeleteEeSubscriptionWithResponse

func (c *ClientWithResponses) DeleteEeSubscriptionWithResponse(ctx context.Context, ueIdentity string, subscriptionId string, reqEditors ...RequestEditorFn) (*DeleteEeSubscriptionResponse, error)

DeleteEeSubscriptionWithResponse request returning *DeleteEeSubscriptionResponse

func (*ClientWithResponses) UpdateEeSubscriptionWithApplicationJSONPatchPlusJSONBodyWithResponse

func (c *ClientWithResponses) UpdateEeSubscriptionWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, ueIdentity string, subscriptionId string, params *UpdateEeSubscriptionParams, body UpdateEeSubscriptionApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEeSubscriptionResponse, error)

func (*ClientWithResponses) UpdateEeSubscriptionWithBodyWithResponse

func (c *ClientWithResponses) UpdateEeSubscriptionWithBodyWithResponse(ctx context.Context, ueIdentity string, subscriptionId string, params *UpdateEeSubscriptionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEeSubscriptionResponse, error)

UpdateEeSubscriptionWithBodyWithResponse request with arbitrary body returning *UpdateEeSubscriptionResponse

type ClientWithResponsesInterface

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

	CreateEeSubscriptionWithResponse(ctx context.Context, ueIdentity string, body CreateEeSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEeSubscriptionResponse, error)

	// DeleteEeSubscriptionWithResponse request
	DeleteEeSubscriptionWithResponse(ctx context.Context, ueIdentity string, subscriptionId string, reqEditors ...RequestEditorFn) (*DeleteEeSubscriptionResponse, error)

	// UpdateEeSubscriptionWithBodyWithResponse request with any body
	UpdateEeSubscriptionWithBodyWithResponse(ctx context.Context, ueIdentity string, subscriptionId string, params *UpdateEeSubscriptionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEeSubscriptionResponse, error)

	UpdateEeSubscriptionWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, ueIdentity string, subscriptionId string, params *UpdateEeSubscriptionParams, body UpdateEeSubscriptionApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEeSubscriptionResponse, error)
}

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

type CmInfoReport

type CmInfoReport struct {
	NewCmInfoList        []externalRef0.CmInfo  `json:"newCmInfoList"`
	OldCmInfoList        []externalRef0.CmInfo  `json:"oldCmInfoList,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

CmInfoReport defines model for CmInfoReport.

func (CmInfoReport) Get

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

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

func (CmInfoReport) MarshalJSON

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

Override default JSON handling for CmInfoReport to handle AdditionalProperties

func (*CmInfoReport) Set

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

Setter for additional properties for CmInfoReport

func (*CmInfoReport) UnmarshalJSON

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

Override default JSON handling for CmInfoReport to handle AdditionalProperties

type CnType

type CnType string

CnType defines model for CnType.

const (
	DUAL4G5G CnType = "DUAL_4G5G"
	SINGLE4G CnType = "SINGLE_4G"
	SINGLE5G CnType = "SINGLE_5G"
)

Defines values for CnType.

type CnTypeChangeReport

type CnTypeChangeReport struct {
	NewCnType            CnType                 `json:"newCnType"`
	OldCnType            *CnType                `json:"oldCnType,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

CnTypeChangeReport defines model for CnTypeChangeReport.

func (CnTypeChangeReport) Get

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

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

func (CnTypeChangeReport) MarshalJSON

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

Override default JSON handling for CnTypeChangeReport to handle AdditionalProperties

func (*CnTypeChangeReport) Set

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

Setter for additional properties for CnTypeChangeReport

func (*CnTypeChangeReport) UnmarshalJSON

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

Override default JSON handling for CnTypeChangeReport to handle AdditionalProperties

type CreateEeSubscription201JSONResponse

type CreateEeSubscription201JSONResponse struct {
	Body    CreatedEeSubscription
	Headers CreateEeSubscription201ResponseHeaders
}

func (CreateEeSubscription201JSONResponse) VisitCreateEeSubscriptionResponse

func (response CreateEeSubscription201JSONResponse) VisitCreateEeSubscriptionResponse(w http.ResponseWriter) error

type CreateEeSubscription201ResponseHeaders

type CreateEeSubscription201ResponseHeaders struct {
	Location string
}

type CreateEeSubscription400ApplicationProblemPlusJSONResponse

type CreateEeSubscription400ApplicationProblemPlusJSONResponse struct {
	externalRef1.N400ApplicationProblemPlusJSONResponse
}

func (CreateEeSubscription400ApplicationProblemPlusJSONResponse) VisitCreateEeSubscriptionResponse

func (response CreateEeSubscription400ApplicationProblemPlusJSONResponse) VisitCreateEeSubscriptionResponse(w http.ResponseWriter) error

type CreateEeSubscription403ApplicationProblemPlusJSONResponse

type CreateEeSubscription403ApplicationProblemPlusJSONResponse struct {
	externalRef1.N403ApplicationProblemPlusJSONResponse
}

func (CreateEeSubscription403ApplicationProblemPlusJSONResponse) VisitCreateEeSubscriptionResponse

func (response CreateEeSubscription403ApplicationProblemPlusJSONResponse) VisitCreateEeSubscriptionResponse(w http.ResponseWriter) error

type CreateEeSubscription404ApplicationProblemPlusJSONResponse

type CreateEeSubscription404ApplicationProblemPlusJSONResponse struct {
	externalRef1.N404ApplicationProblemPlusJSONResponse
}

func (CreateEeSubscription404ApplicationProblemPlusJSONResponse) VisitCreateEeSubscriptionResponse

func (response CreateEeSubscription404ApplicationProblemPlusJSONResponse) VisitCreateEeSubscriptionResponse(w http.ResponseWriter) error

type CreateEeSubscription500ApplicationProblemPlusJSONResponse

type CreateEeSubscription500ApplicationProblemPlusJSONResponse struct {
	externalRef1.N500ApplicationProblemPlusJSONResponse
}

func (CreateEeSubscription500ApplicationProblemPlusJSONResponse) VisitCreateEeSubscriptionResponse

func (response CreateEeSubscription500ApplicationProblemPlusJSONResponse) VisitCreateEeSubscriptionResponse(w http.ResponseWriter) error

type CreateEeSubscription501ApplicationProblemPlusJSONResponse

type CreateEeSubscription501ApplicationProblemPlusJSONResponse struct {
	externalRef1.N501ApplicationProblemPlusJSONResponse
}

func (CreateEeSubscription501ApplicationProblemPlusJSONResponse) VisitCreateEeSubscriptionResponse

func (response CreateEeSubscription501ApplicationProblemPlusJSONResponse) VisitCreateEeSubscriptionResponse(w http.ResponseWriter) error

type CreateEeSubscription503ApplicationProblemPlusJSONResponse

type CreateEeSubscription503ApplicationProblemPlusJSONResponse struct {
	externalRef1.N503ApplicationProblemPlusJSONResponse
}

func (CreateEeSubscription503ApplicationProblemPlusJSONResponse) VisitCreateEeSubscriptionResponse

func (response CreateEeSubscription503ApplicationProblemPlusJSONResponse) VisitCreateEeSubscriptionResponse(w http.ResponseWriter) error

type CreateEeSubscriptionJSONRequestBody

type CreateEeSubscriptionJSONRequestBody = EeSubscription

CreateEeSubscriptionJSONRequestBody defines body for CreateEeSubscription for application/json ContentType.

type CreateEeSubscriptionRequestObject

type CreateEeSubscriptionRequestObject struct {
	UeIdentity string `json:"ueIdentity"`
	Body       *CreateEeSubscriptionJSONRequestBody
}

type CreateEeSubscriptionResponse

type CreateEeSubscriptionResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON201                       *CreatedEeSubscription
	ApplicationproblemJSON400     *externalRef1.N400
	ApplicationproblemJSON403     *externalRef1.N403
	ApplicationproblemJSON404     *externalRef1.N404
	ApplicationproblemJSON500     *externalRef1.N500
	ApplicationproblemJSON501     *externalRef1.N501
	ApplicationproblemJSON503     *externalRef1.N503
	ApplicationproblemJSONDefault *externalRef1.ProblemDetails
}

func ParseCreateEeSubscriptionResponse

func ParseCreateEeSubscriptionResponse(rsp *http.Response) (*CreateEeSubscriptionResponse, error)

ParseCreateEeSubscriptionResponse parses an HTTP response from a CreateEeSubscriptionWithResponse call

func (CreateEeSubscriptionResponse) Status

Status returns HTTPResponse.Status

func (CreateEeSubscriptionResponse) StatusCode

func (r CreateEeSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateEeSubscriptionResponseObject

type CreateEeSubscriptionResponseObject interface {
	VisitCreateEeSubscriptionResponse(w http.ResponseWriter) error
}

type CreateEeSubscriptiondefaultApplicationProblemPlusJSONResponse

type CreateEeSubscriptiondefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef1.ProblemDetails
	StatusCode int
}

func (CreateEeSubscriptiondefaultApplicationProblemPlusJSONResponse) VisitCreateEeSubscriptionResponse

func (response CreateEeSubscriptiondefaultApplicationProblemPlusJSONResponse) VisitCreateEeSubscriptionResponse(w http.ResponseWriter) error

type CreatedEeSubscription

type CreatedEeSubscription struct {
	EeSubscription       EeSubscription         `json:"eeSubscription"`
	EpcStatusInd         *bool                  `json:"epcStatusInd,omitempty"`
	EventReports         []MonitoringReport     `json:"eventReports,omitempty"`
	NumberOfUes          *externalRef1.Uinteger `json:"numberOfUes,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

CreatedEeSubscription defines model for CreatedEeSubscription.

func (CreatedEeSubscription) Get

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

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

func (CreatedEeSubscription) MarshalJSON

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

Override default JSON handling for CreatedEeSubscription to handle AdditionalProperties

func (*CreatedEeSubscription) Set

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

Setter for additional properties for CreatedEeSubscription

func (*CreatedEeSubscription) UnmarshalJSON

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

Override default JSON handling for CreatedEeSubscription to handle AdditionalProperties

type DatalinkReportingConfiguration

type DatalinkReportingConfiguration struct {
	DddStatusList        []externalRef1.DlDataDeliveryStatus `json:"dddStatusList,omitempty"`
	DddTrafficDes        []externalRef1.DddTrafficDescriptor `json:"dddTrafficDes,omitempty"`
	Dnn                  *externalRef1.Dnn                   `json:"dnn,omitempty"`
	Slice                *externalRef1.Snssai                `json:"slice,omitempty"`
	AdditionalProperties map[string]interface{}              `json:"-"`
}

DatalinkReportingConfiguration defines model for DatalinkReportingConfiguration.

func (DatalinkReportingConfiguration) Get

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

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

func (DatalinkReportingConfiguration) MarshalJSON

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

Override default JSON handling for DatalinkReportingConfiguration to handle AdditionalProperties

func (*DatalinkReportingConfiguration) Set

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

Setter for additional properties for DatalinkReportingConfiguration

func (*DatalinkReportingConfiguration) UnmarshalJSON

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

Override default JSON handling for DatalinkReportingConfiguration to handle AdditionalProperties

type DeleteEeSubscription204Response

type DeleteEeSubscription204Response struct {
}

func (DeleteEeSubscription204Response) VisitDeleteEeSubscriptionResponse

func (response DeleteEeSubscription204Response) VisitDeleteEeSubscriptionResponse(w http.ResponseWriter) error

type DeleteEeSubscription400ApplicationProblemPlusJSONResponse

type DeleteEeSubscription400ApplicationProblemPlusJSONResponse struct {
	externalRef1.N400ApplicationProblemPlusJSONResponse
}

func (DeleteEeSubscription400ApplicationProblemPlusJSONResponse) VisitDeleteEeSubscriptionResponse

func (response DeleteEeSubscription400ApplicationProblemPlusJSONResponse) VisitDeleteEeSubscriptionResponse(w http.ResponseWriter) error

type DeleteEeSubscription404ApplicationProblemPlusJSONResponse

type DeleteEeSubscription404ApplicationProblemPlusJSONResponse struct {
	externalRef1.N404ApplicationProblemPlusJSONResponse
}

func (DeleteEeSubscription404ApplicationProblemPlusJSONResponse) VisitDeleteEeSubscriptionResponse

func (response DeleteEeSubscription404ApplicationProblemPlusJSONResponse) VisitDeleteEeSubscriptionResponse(w http.ResponseWriter) error

type DeleteEeSubscription500ApplicationProblemPlusJSONResponse

type DeleteEeSubscription500ApplicationProblemPlusJSONResponse struct {
	externalRef1.N500ApplicationProblemPlusJSONResponse
}

func (DeleteEeSubscription500ApplicationProblemPlusJSONResponse) VisitDeleteEeSubscriptionResponse

func (response DeleteEeSubscription500ApplicationProblemPlusJSONResponse) VisitDeleteEeSubscriptionResponse(w http.ResponseWriter) error

type DeleteEeSubscription503ApplicationProblemPlusJSONResponse

type DeleteEeSubscription503ApplicationProblemPlusJSONResponse struct {
	externalRef1.N503ApplicationProblemPlusJSONResponse
}

func (DeleteEeSubscription503ApplicationProblemPlusJSONResponse) VisitDeleteEeSubscriptionResponse

func (response DeleteEeSubscription503ApplicationProblemPlusJSONResponse) VisitDeleteEeSubscriptionResponse(w http.ResponseWriter) error

type DeleteEeSubscriptionRequestObject

type DeleteEeSubscriptionRequestObject struct {
	UeIdentity     string `json:"ueIdentity"`
	SubscriptionId string `json:"subscriptionId"`
}

type DeleteEeSubscriptionResponse

type DeleteEeSubscriptionResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	ApplicationproblemJSON400     *externalRef1.N400
	ApplicationproblemJSON404     *externalRef1.N404
	ApplicationproblemJSON500     *externalRef1.N500
	ApplicationproblemJSON503     *externalRef1.N503
	ApplicationproblemJSONDefault *externalRef1.ProblemDetails
}

func ParseDeleteEeSubscriptionResponse

func ParseDeleteEeSubscriptionResponse(rsp *http.Response) (*DeleteEeSubscriptionResponse, error)

ParseDeleteEeSubscriptionResponse parses an HTTP response from a DeleteEeSubscriptionWithResponse call

func (DeleteEeSubscriptionResponse) Status

Status returns HTTPResponse.Status

func (DeleteEeSubscriptionResponse) StatusCode

func (r DeleteEeSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteEeSubscriptionResponseObject

type DeleteEeSubscriptionResponseObject interface {
	VisitDeleteEeSubscriptionResponse(w http.ResponseWriter) error
}

type DeleteEeSubscriptiondefaultApplicationProblemPlusJSONResponse

type DeleteEeSubscriptiondefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef1.ProblemDetails
	StatusCode int
}

func (DeleteEeSubscriptiondefaultApplicationProblemPlusJSONResponse) VisitDeleteEeSubscriptionResponse

func (response DeleteEeSubscriptiondefaultApplicationProblemPlusJSONResponse) VisitDeleteEeSubscriptionResponse(w http.ResponseWriter) error

type EeSubscription

type EeSubscription struct {
	CallbackReference externalRef1.Uri          `json:"callbackReference"`
	ContextInfo       *externalRef2.ContextInfo `json:"contextInfo,omitempty"`
	EpcAppliedInd     *bool                     `json:"epcAppliedInd,omitempty"`

	// MonitoringConfigurations A map (list of key-value pairs where ReferenceId serves as key) of MonitoringConfigurations
	MonitoringConfigurations map[string]MonitoringConfiguration `json:"monitoringConfigurations"`
	NotifyCorrelationId      *string                            `json:"notifyCorrelationId,omitempty"`
	ReportingOptions         *ReportingOptions                  `json:"reportingOptions,omitempty"`
	ScefDiamHost             externalRef1.DiameterIdentity      `json:"scefDiamHost,omitempty"`
	ScefDiamRealm            externalRef1.DiameterIdentity      `json:"scefDiamRealm,omitempty"`
	SubscriptionId           *string                            `json:"subscriptionId,omitempty"`
	SupportedFeatures        *externalRef1.SupportedFeatures    `json:"supportedFeatures,omitempty"`
	AdditionalProperties     map[string]interface{}             `json:"-"`
}

EeSubscription defines model for EeSubscription.

func (EeSubscription) Get

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

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

func (EeSubscription) MarshalJSON

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

Override default JSON handling for EeSubscription to handle AdditionalProperties

func (*EeSubscription) Set

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

Setter for additional properties for EeSubscription

func (*EeSubscription) UnmarshalJSON

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

Override default JSON handling for EeSubscription to handle AdditionalProperties

type EventReportMode

type EventReportMode string

EventReportMode defines model for EventReportMode.

const (
	ONEVENTDETECTION EventReportMode = "ON_EVENT_DETECTION"
	PERIODIC         EventReportMode = "PERIODIC"
)

Defines values for EventReportMode.

type EventType

type EventType string

EventType defines model for EventType.

const (
	AVAILABILITYAFTERDDNFAILURE EventType = "AVAILABILITY_AFTER_DDN_FAILURE"
	CHANGEOFSUPIPEIASSOCIATION  EventType = "CHANGE_OF_SUPI_PEI_ASSOCIATION"
	CNTYPECHANGE                EventType = "CN_TYPE_CHANGE"
	COMMUNICATIONFAILURE        EventType = "COMMUNICATION_FAILURE"
	DLDATADELIVERYSTATUS        EventType = "DL_DATA_DELIVERY_STATUS"
	LOCATIONREPORTING           EventType = "LOCATION_REPORTING"
	LOSSOFCONNECTIVITY          EventType = "LOSS_OF_CONNECTIVITY"
	PDNCONNECTIVITYSTATUS       EventType = "PDN_CONNECTIVITY_STATUS"
	ROAMINGSTATUS               EventType = "ROAMING_STATUS"
	UECONNECTIONMANAGEMENTSTATE EventType = "UE_CONNECTION_MANAGEMENT_STATE"
	UEREACHABILITYFORDATA       EventType = "UE_REACHABILITY_FOR_DATA"
	UEREACHABILITYFORSMS        EventType = "UE_REACHABILITY_FOR_SMS"
)

Defines values for EventType.

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 LocationAccuracy

type LocationAccuracy string

LocationAccuracy defines model for LocationAccuracy.

const (
	CELLLEVEL  LocationAccuracy = "CELL_LEVEL"
	N3IWFLEVEL LocationAccuracy = "N3IWF_LEVEL"
	TALEVEL    LocationAccuracy = "TA_LEVEL"
	UEIP       LocationAccuracy = "UE_IP"
	UEPORT     LocationAccuracy = "UE_PORT"
)

Defines values for LocationAccuracy.

type LocationReport

type LocationReport struct {
	Location             externalRef1.UserLocation `json:"location"`
	AdditionalProperties map[string]interface{}    `json:"-"`
}

LocationReport defines model for LocationReport.

func (LocationReport) Get

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

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

func (LocationReport) MarshalJSON

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

Override default JSON handling for LocationReport to handle AdditionalProperties

func (*LocationReport) Set

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

Setter for additional properties for LocationReport

func (*LocationReport) UnmarshalJSON

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

Override default JSON handling for LocationReport to handle AdditionalProperties

type LocationReportingConfiguration

type LocationReportingConfiguration struct {
	Accuracy             *LocationAccuracy      `json:"accuracy,omitempty"`
	CurrentLocation      bool                   `json:"currentLocation"`
	N3gppAccuracy        *LocationAccuracy      `json:"n3gppAccuracy,omitempty"`
	OneTime              *bool                  `json:"oneTime,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

LocationReportingConfiguration defines model for LocationReportingConfiguration.

func (LocationReportingConfiguration) Get

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

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

func (LocationReportingConfiguration) MarshalJSON

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

Override default JSON handling for LocationReportingConfiguration to handle AdditionalProperties

func (*LocationReportingConfiguration) Set

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

Setter for additional properties for LocationReportingConfiguration

func (*LocationReportingConfiguration) UnmarshalJSON

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

Override default JSON handling for LocationReportingConfiguration to handle AdditionalProperties

type LossConnectivityCfg

type LossConnectivityCfg struct {
	MaxDetectionTime     *externalRef1.DurationSec `json:"maxDetectionTime,omitempty"`
	AdditionalProperties map[string]interface{}    `json:"-"`
}

LossConnectivityCfg defines model for LossConnectivityCfg.

func (LossConnectivityCfg) Get

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

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

func (LossConnectivityCfg) MarshalJSON

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

Override default JSON handling for LossConnectivityCfg to handle AdditionalProperties

func (*LossConnectivityCfg) Set

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

Setter for additional properties for LossConnectivityCfg

func (*LossConnectivityCfg) UnmarshalJSON

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

Override default JSON handling for LossConnectivityCfg to handle AdditionalProperties

type LossConnectivityReport

type LossConnectivityReport struct {
	LossOfConnectReason  externalRef0.LossOfConnectivityReason `json:"lossOfConnectReason"`
	AdditionalProperties map[string]interface{}                `json:"-"`
}

LossConnectivityReport defines model for LossConnectivityReport.

func (LossConnectivityReport) Get

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

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

func (LossConnectivityReport) MarshalJSON

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

Override default JSON handling for LossConnectivityReport to handle AdditionalProperties

func (*LossConnectivityReport) Set

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

Setter for additional properties for LossConnectivityReport

func (*LossConnectivityReport) UnmarshalJSON

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

Override default JSON handling for LossConnectivityReport to handle AdditionalProperties

type MaxNumOfReports

type MaxNumOfReports = int

MaxNumOfReports defines model for MaxNumOfReports.

type MiddlewareFunc

type MiddlewareFunc func(c *gin.Context)

type MonitoringConfiguration

type MonitoringConfiguration struct {
	AfId                           *string                              `json:"afId,omitempty"`
	AssociationType                *AssociationType                     `json:"associationType,omitempty"`
	DatalinkReportCfg              *DatalinkReportingConfiguration      `json:"datalinkReportCfg,omitempty"`
	EventType                      EventType                            `json:"eventType"`
	IdleStatusInd                  *bool                                `json:"idleStatusInd,omitempty"`
	ImmediateFlag                  *bool                                `json:"immediateFlag,omitempty"`
	LocationReportingConfiguration *LocationReportingConfiguration      `json:"locationReportingConfiguration,omitempty"`
	LossConnectivityCfg            *LossConnectivityCfg                 `json:"lossConnectivityCfg,omitempty"`
	MaximumLatency                 *externalRef1.DurationSec            `json:"maximumLatency,omitempty"`
	MaximumResponseTime            *externalRef1.DurationSec            `json:"maximumResponseTime,omitempty"`
	MtcProviderInformation         *externalRef1.MtcProviderInformation `json:"mtcProviderInformation,omitempty"`
	PduSessionStatusCfg            *PduSessionStatusCfg                 `json:"pduSessionStatusCfg,omitempty"`
	ReachabilityForSmsCfg          *ReachabilityForSmsConfiguration     `json:"reachabilityForSmsCfg,omitempty"`
	SuggestedPacketNumDl           int                                  `json:"suggestedPacketNumDl,omitempty"`
	AdditionalProperties           map[string]interface{}               `json:"-"`
}

MonitoringConfiguration defines model for MonitoringConfiguration.

func (MonitoringConfiguration) Get

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

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

func (MonitoringConfiguration) MarshalJSON

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

Override default JSON handling for MonitoringConfiguration to handle AdditionalProperties

func (*MonitoringConfiguration) Set

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

Setter for additional properties for MonitoringConfiguration

func (*MonitoringConfiguration) UnmarshalJSON

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

Override default JSON handling for MonitoringConfiguration to handle AdditionalProperties

type MonitoringReport

type MonitoringReport struct {
	EventType                EventType                 `json:"eventType"`
	Gpsi                     externalRef1.Gpsi         `json:"gpsi,omitempty"`
	ReachabilityForSmsReport *ReachabilityForSmsReport `json:"reachabilityForSmsReport,omitempty"`
	ReferenceId              ReferenceId               `json:"referenceId"`
	Report                   *Report                   `json:"report,omitempty"`
	TimeStamp                externalRef1.DateTime     `json:"timeStamp"`
	AdditionalProperties     map[string]interface{}    `json:"-"`
}

MonitoringReport defines model for MonitoringReport.

func (MonitoringReport) Get

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

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

func (MonitoringReport) MarshalJSON

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

Override default JSON handling for MonitoringReport to handle AdditionalProperties

func (*MonitoringReport) Set

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

Setter for additional properties for MonitoringReport

func (*MonitoringReport) UnmarshalJSON

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

Override default JSON handling for MonitoringReport to handle AdditionalProperties

type PdnConnectivityStatReport

type PdnConnectivityStatReport struct {
	Dnn                  *externalRef1.Dnn            `json:"dnn,omitempty"`
	Ipv4Addr             externalRef1.Ipv4Addr        `json:"ipv4Addr,omitempty"`
	Ipv6Addrs            []externalRef1.Ipv6Addr      `json:"ipv6Addrs,omitempty"`
	Ipv6Prefixes         []externalRef1.Ipv6Prefix    `json:"ipv6Prefixes,omitempty"`
	PdnConnStat          PdnConnectivityStatus        `json:"pdnConnStat"`
	PduSeId              *externalRef1.PduSessionId   `json:"pduSeId,omitempty"`
	PduSessType          *externalRef1.PduSessionType `json:"pduSessType,omitempty"`
	AdditionalProperties map[string]interface{}       `json:"-"`
}

PdnConnectivityStatReport defines model for PdnConnectivityStatReport.

func (PdnConnectivityStatReport) Get

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

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

func (PdnConnectivityStatReport) MarshalJSON

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

Override default JSON handling for PdnConnectivityStatReport to handle AdditionalProperties

func (*PdnConnectivityStatReport) Set

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

Setter for additional properties for PdnConnectivityStatReport

func (*PdnConnectivityStatReport) UnmarshalJSON

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

Override default JSON handling for PdnConnectivityStatReport to handle AdditionalProperties

type PdnConnectivityStatus

type PdnConnectivityStatus string

PdnConnectivityStatus defines model for PdnConnectivityStatus.

const (
	ESTABLISHED PdnConnectivityStatus = "ESTABLISHED"
	RELEASED    PdnConnectivityStatus = "RELEASED"
)

Defines values for PdnConnectivityStatus.

type PduSessionStatusCfg

type PduSessionStatusCfg struct {
	Dnn                  *externalRef1.Dnn      `json:"dnn,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PduSessionStatusCfg defines model for PduSessionStatusCfg.

func (PduSessionStatusCfg) Get

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

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

func (PduSessionStatusCfg) MarshalJSON

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

Override default JSON handling for PduSessionStatusCfg to handle AdditionalProperties

func (*PduSessionStatusCfg) Set

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

Setter for additional properties for PduSessionStatusCfg

func (*PduSessionStatusCfg) UnmarshalJSON

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

Override default JSON handling for PduSessionStatusCfg to handle AdditionalProperties

type ReachabilityForSmsConfiguration

type ReachabilityForSmsConfiguration string

ReachabilityForSmsConfiguration defines model for ReachabilityForSmsConfiguration.

const (
	REACHABILITYFORSMSOVERIP  ReachabilityForSmsConfiguration = "REACHABILITY_FOR_SMS_OVER_IP"
	REACHABILITYFORSMSOVERNAS ReachabilityForSmsConfiguration = "REACHABILITY_FOR_SMS_OVER_NAS"
)

Defines values for ReachabilityForSmsConfiguration.

type ReachabilityForSmsReport

type ReachabilityForSmsReport struct {
	MaxAvailabilityTime  *externalRef1.DateTime  `json:"maxAvailabilityTime,omitempty"`
	SmsfAccessType       externalRef1.AccessType `json:"smsfAccessType"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

ReachabilityForSmsReport defines model for ReachabilityForSmsReport.

func (ReachabilityForSmsReport) Get

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

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

func (ReachabilityForSmsReport) MarshalJSON

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

Override default JSON handling for ReachabilityForSmsReport to handle AdditionalProperties

func (*ReachabilityForSmsReport) Set

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

Setter for additional properties for ReachabilityForSmsReport

func (*ReachabilityForSmsReport) UnmarshalJSON

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

Override default JSON handling for ReachabilityForSmsReport to handle AdditionalProperties

type ReferenceId

type ReferenceId = int

ReferenceId defines model for ReferenceId.

type Report

type Report struct {
	// contains filtered or unexported fields
}

Report defines model for Report.

func (Report) AsChangeOfSupiPeiAssociationReport

func (t Report) AsChangeOfSupiPeiAssociationReport() (ChangeOfSupiPeiAssociationReport, error)

AsChangeOfSupiPeiAssociationReport returns the union data inside the Report as a ChangeOfSupiPeiAssociationReport

func (Report) AsCmInfoReport

func (t Report) AsCmInfoReport() (CmInfoReport, error)

AsCmInfoReport returns the union data inside the Report as a CmInfoReport

func (Report) AsCnTypeChangeReport

func (t Report) AsCnTypeChangeReport() (CnTypeChangeReport, error)

AsCnTypeChangeReport returns the union data inside the Report as a CnTypeChangeReport

func (Report) AsLocationReport

func (t Report) AsLocationReport() (LocationReport, error)

AsLocationReport returns the union data inside the Report as a LocationReport

func (Report) AsLossConnectivityReport

func (t Report) AsLossConnectivityReport() (LossConnectivityReport, error)

AsLossConnectivityReport returns the union data inside the Report as a LossConnectivityReport

func (Report) AsPdnConnectivityStatReport

func (t Report) AsPdnConnectivityStatReport() (PdnConnectivityStatReport, error)

AsPdnConnectivityStatReport returns the union data inside the Report as a PdnConnectivityStatReport

func (Report) AsRoamingStatusReport

func (t Report) AsRoamingStatusReport() (RoamingStatusReport, error)

AsRoamingStatusReport returns the union data inside the Report as a RoamingStatusReport

func (*Report) FromChangeOfSupiPeiAssociationReport

func (t *Report) FromChangeOfSupiPeiAssociationReport(v ChangeOfSupiPeiAssociationReport) error

FromChangeOfSupiPeiAssociationReport overwrites any union data inside the Report as the provided ChangeOfSupiPeiAssociationReport

func (*Report) FromCmInfoReport

func (t *Report) FromCmInfoReport(v CmInfoReport) error

FromCmInfoReport overwrites any union data inside the Report as the provided CmInfoReport

func (*Report) FromCnTypeChangeReport

func (t *Report) FromCnTypeChangeReport(v CnTypeChangeReport) error

FromCnTypeChangeReport overwrites any union data inside the Report as the provided CnTypeChangeReport

func (*Report) FromLocationReport

func (t *Report) FromLocationReport(v LocationReport) error

FromLocationReport overwrites any union data inside the Report as the provided LocationReport

func (*Report) FromLossConnectivityReport

func (t *Report) FromLossConnectivityReport(v LossConnectivityReport) error

FromLossConnectivityReport overwrites any union data inside the Report as the provided LossConnectivityReport

func (*Report) FromPdnConnectivityStatReport

func (t *Report) FromPdnConnectivityStatReport(v PdnConnectivityStatReport) error

FromPdnConnectivityStatReport overwrites any union data inside the Report as the provided PdnConnectivityStatReport

func (*Report) FromRoamingStatusReport

func (t *Report) FromRoamingStatusReport(v RoamingStatusReport) error

FromRoamingStatusReport overwrites any union data inside the Report as the provided RoamingStatusReport

func (Report) MarshalJSON

func (t Report) MarshalJSON() ([]byte, error)

func (*Report) MergeChangeOfSupiPeiAssociationReport

func (t *Report) MergeChangeOfSupiPeiAssociationReport(v ChangeOfSupiPeiAssociationReport) error

MergeChangeOfSupiPeiAssociationReport performs a merge with any union data inside the Report, using the provided ChangeOfSupiPeiAssociationReport

func (*Report) MergeCmInfoReport

func (t *Report) MergeCmInfoReport(v CmInfoReport) error

MergeCmInfoReport performs a merge with any union data inside the Report, using the provided CmInfoReport

func (*Report) MergeCnTypeChangeReport

func (t *Report) MergeCnTypeChangeReport(v CnTypeChangeReport) error

MergeCnTypeChangeReport performs a merge with any union data inside the Report, using the provided CnTypeChangeReport

func (*Report) MergeLocationReport

func (t *Report) MergeLocationReport(v LocationReport) error

MergeLocationReport performs a merge with any union data inside the Report, using the provided LocationReport

func (*Report) MergeLossConnectivityReport

func (t *Report) MergeLossConnectivityReport(v LossConnectivityReport) error

MergeLossConnectivityReport performs a merge with any union data inside the Report, using the provided LossConnectivityReport

func (*Report) MergePdnConnectivityStatReport

func (t *Report) MergePdnConnectivityStatReport(v PdnConnectivityStatReport) error

MergePdnConnectivityStatReport performs a merge with any union data inside the Report, using the provided PdnConnectivityStatReport

func (*Report) MergeRoamingStatusReport

func (t *Report) MergeRoamingStatusReport(v RoamingStatusReport) error

MergeRoamingStatusReport performs a merge with any union data inside the Report, using the provided RoamingStatusReport

func (*Report) UnmarshalJSON

func (t *Report) UnmarshalJSON(b []byte) error

type ReportingOptions

type ReportingOptions struct {
	Expiry               *externalRef1.DateTime     `json:"expiry,omitempty"`
	GuardTime            *externalRef1.DurationSec  `json:"guardTime,omitempty"`
	MaxNumOfReports      *MaxNumOfReports           `json:"maxNumOfReports,omitempty"`
	ReportMode           *EventReportMode           `json:"reportMode,omitempty"`
	ReportPeriod         *externalRef1.DurationSec  `json:"reportPeriod,omitempty"`
	SamplingRatio        externalRef1.SamplingRatio `json:"samplingRatio,omitempty"`
	AdditionalProperties map[string]interface{}     `json:"-"`
}

ReportingOptions defines model for ReportingOptions.

func (ReportingOptions) Get

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

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

func (ReportingOptions) MarshalJSON

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

Override default JSON handling for ReportingOptions to handle AdditionalProperties

func (*ReportingOptions) Set

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

Setter for additional properties for ReportingOptions

func (*ReportingOptions) UnmarshalJSON

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

Override default JSON handling for ReportingOptions 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 RoamingStatusReport

type RoamingStatusReport struct {
	NewServingPlmn       externalRef1.PlmnId    `json:"newServingPlmn"`
	Roaming              bool                   `json:"roaming"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

RoamingStatusReport defines model for RoamingStatusReport.

func (RoamingStatusReport) Get

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

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

func (RoamingStatusReport) MarshalJSON

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

Override default JSON handling for RoamingStatusReport to handle AdditionalProperties

func (*RoamingStatusReport) Set

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

Setter for additional properties for RoamingStatusReport

func (*RoamingStatusReport) UnmarshalJSON

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

Override default JSON handling for RoamingStatusReport to handle AdditionalProperties

type ServerInterface

type ServerInterface interface {
	// Subscribe
	// (POST /{ueIdentity}/ee-subscriptions)
	CreateEeSubscription(c *gin.Context, ueIdentity string)
	// Unsubscribe
	// (DELETE /{ueIdentity}/ee-subscriptions/{subscriptionId})
	DeleteEeSubscription(c *gin.Context, ueIdentity string, subscriptionId string)
	// Patch
	// (PATCH /{ueIdentity}/ee-subscriptions/{subscriptionId})
	UpdateEeSubscription(c *gin.Context, ueIdentity string, subscriptionId string, params UpdateEeSubscriptionParams)
}

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

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

CreateEeSubscription operation middleware

func (*ServerInterfaceWrapper) DeleteEeSubscription

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

DeleteEeSubscription operation middleware

func (*ServerInterfaceWrapper) UpdateEeSubscription

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

UpdateEeSubscription operation middleware

type StrictHandlerFunc

type StrictHandlerFunc = strictgin.StrictGinHandlerFunc

type StrictMiddlewareFunc

type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc

type StrictServerInterface

type StrictServerInterface interface {
	// Subscribe
	// (POST /{ueIdentity}/ee-subscriptions)
	CreateEeSubscription(ctx context.Context, request CreateEeSubscriptionRequestObject) (CreateEeSubscriptionResponseObject, error)
	// Unsubscribe
	// (DELETE /{ueIdentity}/ee-subscriptions/{subscriptionId})
	DeleteEeSubscription(ctx context.Context, request DeleteEeSubscriptionRequestObject) (DeleteEeSubscriptionResponseObject, error)
	// Patch
	// (PATCH /{ueIdentity}/ee-subscriptions/{subscriptionId})
	UpdateEeSubscription(ctx context.Context, request UpdateEeSubscriptionRequestObject) (UpdateEeSubscriptionResponseObject, error)
}

StrictServerInterface represents all server handlers.

type UpdateEeSubscription200JSONResponse

type UpdateEeSubscription200JSONResponse externalRef1.PatchResult

func (UpdateEeSubscription200JSONResponse) VisitUpdateEeSubscriptionResponse

func (response UpdateEeSubscription200JSONResponse) VisitUpdateEeSubscriptionResponse(w http.ResponseWriter) error

type UpdateEeSubscription204Response

type UpdateEeSubscription204Response struct {
}

func (UpdateEeSubscription204Response) VisitUpdateEeSubscriptionResponse

func (response UpdateEeSubscription204Response) VisitUpdateEeSubscriptionResponse(w http.ResponseWriter) error

type UpdateEeSubscription403ApplicationProblemPlusJSONResponse

type UpdateEeSubscription403ApplicationProblemPlusJSONResponse struct {
	externalRef1.N403ApplicationProblemPlusJSONResponse
}

func (UpdateEeSubscription403ApplicationProblemPlusJSONResponse) VisitUpdateEeSubscriptionResponse

func (response UpdateEeSubscription403ApplicationProblemPlusJSONResponse) VisitUpdateEeSubscriptionResponse(w http.ResponseWriter) error

type UpdateEeSubscription404ApplicationProblemPlusJSONResponse

type UpdateEeSubscription404ApplicationProblemPlusJSONResponse struct {
	externalRef1.N404ApplicationProblemPlusJSONResponse
}

func (UpdateEeSubscription404ApplicationProblemPlusJSONResponse) VisitUpdateEeSubscriptionResponse

func (response UpdateEeSubscription404ApplicationProblemPlusJSONResponse) VisitUpdateEeSubscriptionResponse(w http.ResponseWriter) error

type UpdateEeSubscriptionApplicationJSONPatchPlusJSONBody

type UpdateEeSubscriptionApplicationJSONPatchPlusJSONBody = []externalRef1.PatchItem

UpdateEeSubscriptionApplicationJSONPatchPlusJSONBody defines parameters for UpdateEeSubscription.

type UpdateEeSubscriptionApplicationJSONPatchPlusJSONRequestBody

type UpdateEeSubscriptionApplicationJSONPatchPlusJSONRequestBody = UpdateEeSubscriptionApplicationJSONPatchPlusJSONBody

UpdateEeSubscriptionApplicationJSONPatchPlusJSONRequestBody defines body for UpdateEeSubscription for application/json-patch+json ContentType.

type UpdateEeSubscriptionParams

type UpdateEeSubscriptionParams struct {
	// SupportedFeatures Features required to be supported by the target NF
	SupportedFeatures *externalRef1.SupportedFeatures `form:"supported-features,omitempty" json:"supported-features,omitempty"`
}

UpdateEeSubscriptionParams defines parameters for UpdateEeSubscription.

type UpdateEeSubscriptionRequestObject

type UpdateEeSubscriptionRequestObject struct {
	UeIdentity     string `json:"ueIdentity"`
	SubscriptionId string `json:"subscriptionId"`
	Params         UpdateEeSubscriptionParams
	Body           *UpdateEeSubscriptionApplicationJSONPatchPlusJSONRequestBody
}

type UpdateEeSubscriptionResponse

type UpdateEeSubscriptionResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *externalRef1.PatchResult
	ApplicationproblemJSON403     *externalRef1.N403
	ApplicationproblemJSON404     *externalRef1.N404
	ApplicationproblemJSONDefault *externalRef1.ProblemDetails
}

func ParseUpdateEeSubscriptionResponse

func ParseUpdateEeSubscriptionResponse(rsp *http.Response) (*UpdateEeSubscriptionResponse, error)

ParseUpdateEeSubscriptionResponse parses an HTTP response from a UpdateEeSubscriptionWithResponse call

func (UpdateEeSubscriptionResponse) Status

Status returns HTTPResponse.Status

func (UpdateEeSubscriptionResponse) StatusCode

func (r UpdateEeSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateEeSubscriptionResponseObject

type UpdateEeSubscriptionResponseObject interface {
	VisitUpdateEeSubscriptionResponse(w http.ResponseWriter) error
}

type UpdateEeSubscriptiondefaultApplicationProblemPlusJSONResponse

type UpdateEeSubscriptiondefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef1.ProblemDetails
	StatusCode int
}

func (UpdateEeSubscriptiondefaultApplicationProblemPlusJSONResponse) VisitUpdateEeSubscriptionResponse

func (response UpdateEeSubscriptiondefaultApplicationProblemPlusJSONResponse) VisitUpdateEeSubscriptionResponse(w http.ResponseWriter) error

Jump to

Keyboard shortcuts

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