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: 50 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 NewCreateSubscriptionRequest

func NewCreateSubscriptionRequest(server string, body CreateSubscriptionJSONRequestBody) (*http.Request, error)

NewCreateSubscriptionRequest calls the generic CreateSubscription builder with application/json body

func NewCreateSubscriptionRequestWithBody

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

NewCreateSubscriptionRequestWithBody generates requests for CreateSubscription with any type of body

func NewDeleteSubscriptionRequest

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

NewDeleteSubscriptionRequest generates requests for DeleteSubscription

func NewModifySubscriptionRequestWithApplicationJSONPatchPlusJSONBody

func NewModifySubscriptionRequestWithApplicationJSONPatchPlusJSONBody(server string, subscriptionId string, body ModifySubscriptionApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)

NewModifySubscriptionRequestWithApplicationJSONPatchPlusJSONBody calls the generic ModifySubscription builder with application/json-patch+json body

func NewModifySubscriptionRequestWithBody

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

NewModifySubscriptionRequestWithBody generates requests for ModifySubscription 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 AmfCreateEventSubscription

type AmfCreateEventSubscription struct {
	OldGuami             *externalRef0.Guami             `json:"oldGuami,omitempty"`
	Subscription         AmfEventSubscription            `json:"subscription"`
	SupportedFeatures    *externalRef0.SupportedFeatures `json:"supportedFeatures,omitempty"`
	AdditionalProperties map[string]interface{}          `json:"-"`
}

AmfCreateEventSubscription defines model for AmfCreateEventSubscription.

func (AmfCreateEventSubscription) Get

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

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

func (AmfCreateEventSubscription) MarshalJSON

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

Override default JSON handling for AmfCreateEventSubscription to handle AdditionalProperties

func (*AmfCreateEventSubscription) Set

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

Setter for additional properties for AmfCreateEventSubscription

func (*AmfCreateEventSubscription) UnmarshalJSON

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

Override default JSON handling for AmfCreateEventSubscription to handle AdditionalProperties

type AmfCreatedEventSubscription

type AmfCreatedEventSubscription struct {
	ReportList           []AmfEventReport                `json:"reportList,omitempty"`
	Subscription         AmfEventSubscription            `json:"subscription"`
	SubscriptionId       externalRef0.Uri                `json:"subscriptionId"`
	SupportedFeatures    *externalRef0.SupportedFeatures `json:"supportedFeatures,omitempty"`
	AdditionalProperties map[string]interface{}          `json:"-"`
}

AmfCreatedEventSubscription defines model for AmfCreatedEventSubscription.

func (AmfCreatedEventSubscription) Get

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

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

func (AmfCreatedEventSubscription) MarshalJSON

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

Override default JSON handling for AmfCreatedEventSubscription to handle AdditionalProperties

func (*AmfCreatedEventSubscription) Set

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

Setter for additional properties for AmfCreatedEventSubscription

func (*AmfCreatedEventSubscription) UnmarshalJSON

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

Override default JSON handling for AmfCreatedEventSubscription to handle AdditionalProperties

type AmfEvent

type AmfEvent struct {
	AreaList               []AmfEventArea            `json:"areaList,omitempty"`
	IdleStatusInd          *bool                     `json:"idleStatusInd,omitempty"`
	ImmediateFlag          *bool                     `json:"immediateFlag,omitempty"`
	LocationFilterList     []LocationFilter          `json:"locationFilterList,omitempty"`
	MaxReports             *int                      `json:"maxReports,omitempty"`
	MaxResponseTime        *externalRef0.DurationSec `json:"maxResponseTime,omitempty"`
	NextPeriodicReportTime *externalRef0.DateTime    `json:"nextPeriodicReportTime,omitempty"`
	ReachabilityFilter     *ReachabilityFilter       `json:"reachabilityFilter,omitempty"`

	// RefId Original reference TS29503_Nudm_EE.yaml#/components/schemas/ReferenceId
	RefId                 interface{}            `json:"refId,omitempty"`
	ReportUeReachable     *bool                  `json:"reportUeReachable,omitempty"`
	TrafficDescriptorList []TrafficDescriptor    `json:"trafficDescriptorList,omitempty"`
	Type                  AmfEventType           `json:"type"`
	AdditionalProperties  map[string]interface{} `json:"-"`
}

AmfEvent defines model for AmfEvent.

func (AmfEvent) Get

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

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

func (AmfEvent) MarshalJSON

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

Override default JSON handling for AmfEvent to handle AdditionalProperties

func (*AmfEvent) Set

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

Setter for additional properties for AmfEvent

func (*AmfEvent) UnmarshalJSON

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

Override default JSON handling for AmfEvent to handle AdditionalProperties

type AmfEventArea

type AmfEventArea struct {
	LadnInfo             *LadnInfo                  `json:"ladnInfo,omitempty"`
	NsiId                *externalRef2.NsiId        `json:"nsiId,omitempty"`
	PresenceInfo         *externalRef0.PresenceInfo `json:"presenceInfo,omitempty"`
	SNssai               *externalRef0.Snssai       `json:"sNssai,omitempty"`
	AdditionalProperties map[string]interface{}     `json:"-"`
}

AmfEventArea defines model for AmfEventArea.

func (AmfEventArea) Get

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

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

func (AmfEventArea) MarshalJSON

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

Override default JSON handling for AmfEventArea to handle AdditionalProperties

func (*AmfEventArea) Set

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

Setter for additional properties for AmfEventArea

func (*AmfEventArea) UnmarshalJSON

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

Override default JSON handling for AmfEventArea to handle AdditionalProperties

type AmfEventMode

type AmfEventMode struct {
	Expiry               *externalRef0.DateTime     `json:"expiry,omitempty"`
	MaxReports           *int                       `json:"maxReports,omitempty"`
	RepPeriod            *externalRef0.DurationSec  `json:"repPeriod,omitempty"`
	SampRatio            externalRef0.SamplingRatio `json:"sampRatio,omitempty"`
	Trigger              AmfEventTrigger            `json:"trigger"`
	AdditionalProperties map[string]interface{}     `json:"-"`
}

AmfEventMode defines model for AmfEventMode.

func (AmfEventMode) Get

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

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

func (AmfEventMode) MarshalJSON

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

Override default JSON handling for AmfEventMode to handle AdditionalProperties

func (*AmfEventMode) Set

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

Setter for additional properties for AmfEventMode

func (*AmfEventMode) UnmarshalJSON

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

Override default JSON handling for AmfEventMode to handle AdditionalProperties

type AmfEventNotification

type AmfEventNotification struct {
	EventSubsSyncInfo             *AmfEventSubsSyncInfo  `json:"eventSubsSyncInfo,omitempty"`
	NotifyCorrelationId           *string                `json:"notifyCorrelationId,omitempty"`
	ReportList                    []AmfEventReport       `json:"reportList,omitempty"`
	SubsChangeNotifyCorrelationId *string                `json:"subsChangeNotifyCorrelationId,omitempty"`
	AdditionalProperties          map[string]interface{} `json:"-"`
}

AmfEventNotification defines model for AmfEventNotification.

func (AmfEventNotification) Get

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

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

func (AmfEventNotification) MarshalJSON

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

Override default JSON handling for AmfEventNotification to handle AdditionalProperties

func (*AmfEventNotification) Set

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

Setter for additional properties for AmfEventNotification

func (*AmfEventNotification) UnmarshalJSON

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

Override default JSON handling for AmfEventNotification to handle AdditionalProperties

type AmfEventReport

type AmfEventReport struct {
	N5gsUserStateList    []N5GsUserStateInfo        `json:"5gsUserStateList,omitempty"`
	AccessTypeList       []externalRef0.AccessType  `json:"accessTypeList,omitempty"`
	AdditionalLocation   *externalRef0.UserLocation `json:"additionalLocation,omitempty"`
	AnyUe                *bool                      `json:"anyUe,omitempty"`
	AreaList             []AmfEventArea             `json:"areaList,omitempty"`
	CmInfoList           []CmInfo                   `json:"cmInfoList,omitempty"`
	CommFailure          *CommunicationFailure      `json:"commFailure,omitempty"`
	Gpsi                 externalRef0.Gpsi          `json:"gpsi,omitempty"`
	IdleStatusIndication *IdleStatusIndication      `json:"idleStatusIndication,omitempty"`
	Location             *externalRef0.UserLocation `json:"location,omitempty"`
	LossOfConnectReason  *LossOfConnectivityReason  `json:"lossOfConnectReason,omitempty"`
	MaxAvailabilityTime  *externalRef0.DateTime     `json:"maxAvailabilityTime,omitempty"`
	NumberOfUes          *int                       `json:"numberOfUes,omitempty"`
	Pei                  externalRef0.Pei           `json:"pei,omitempty"`
	Reachability         *UeReachability            `json:"reachability,omitempty"`

	// RefId Original reference TS29503_Nudm_EE.yaml#/components/schemas/ReferenceId
	RefId                interface{}            `json:"refId,omitempty"`
	RegistrationNumber   *int                   `json:"registrationNumber,omitempty"`
	RmInfoList           []RmInfo               `json:"rmInfoList,omitempty"`
	State                AmfEventState          `json:"state"`
	SubscriptionId       *externalRef0.Uri      `json:"subscriptionId,omitempty"`
	Supi                 externalRef0.Supi      `json:"supi,omitempty"`
	TimeStamp            externalRef0.DateTime  `json:"timeStamp"`
	Timezone             *externalRef0.TimeZone `json:"timezone,omitempty"`
	Type                 AmfEventType           `json:"type"`
	TypeCode             string                 `json:"typeCode,omitempty"`
	UeIdExt              []UEIdExt              `json:"ueIdExt,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

AmfEventReport defines model for AmfEventReport.

func (AmfEventReport) Get

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

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

func (AmfEventReport) MarshalJSON

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

Override default JSON handling for AmfEventReport to handle AdditionalProperties

func (*AmfEventReport) Set

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

Setter for additional properties for AmfEventReport

func (*AmfEventReport) UnmarshalJSON

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

Override default JSON handling for AmfEventReport to handle AdditionalProperties

type AmfEventState

type AmfEventState struct {
	Active               bool                      `json:"active"`
	RemainDuration       *externalRef0.DurationSec `json:"remainDuration,omitempty"`
	RemainReports        *int                      `json:"remainReports,omitempty"`
	AdditionalProperties map[string]interface{}    `json:"-"`
}

AmfEventState defines model for AmfEventState.

func (AmfEventState) Get

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

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

func (AmfEventState) MarshalJSON

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

Override default JSON handling for AmfEventState to handle AdditionalProperties

func (*AmfEventState) Set

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

Setter for additional properties for AmfEventState

func (*AmfEventState) UnmarshalJSON

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

Override default JSON handling for AmfEventState to handle AdditionalProperties

type AmfEventSubsSyncInfo

type AmfEventSubsSyncInfo struct {
	SubscriptionList     []AmfEventSubscriptionInfo `json:"subscriptionList"`
	AdditionalProperties map[string]interface{}     `json:"-"`
}

AmfEventSubsSyncInfo defines model for AmfEventSubsSyncInfo.

func (AmfEventSubsSyncInfo) Get

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

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

func (AmfEventSubsSyncInfo) MarshalJSON

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

Override default JSON handling for AmfEventSubsSyncInfo to handle AdditionalProperties

func (*AmfEventSubsSyncInfo) Set

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

Setter for additional properties for AmfEventSubsSyncInfo

func (*AmfEventSubsSyncInfo) UnmarshalJSON

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

Override default JSON handling for AmfEventSubsSyncInfo to handle AdditionalProperties

type AmfEventSubscription

type AmfEventSubscription struct {
	AnyUE               *bool                     `json:"anyUE,omitempty"`
	EventList           []AmfEvent                `json:"eventList"`
	EventNotifyUri      externalRef0.Uri          `json:"eventNotifyUri"`
	Gpsi                externalRef0.Gpsi         `json:"gpsi,omitempty"`
	GroupId             externalRef0.GroupId      `json:"groupId,omitempty"`
	NfId                externalRef0.NfInstanceId `json:"nfId"`
	NotifyCorrelationId string                    `json:"notifyCorrelationId"`
	Options             *AmfEventMode             `json:"options,omitempty"`
	Pei                 externalRef0.Pei          `json:"pei,omitempty"`

	// SourceNfType NF types known to NRF
	SourceNfType                  *externalRef1.NFType   `json:"sourceNfType,omitempty"`
	SubsChangeNotifyCorrelationId *string                `json:"subsChangeNotifyCorrelationId,omitempty"`
	SubsChangeNotifyUri           *externalRef0.Uri      `json:"subsChangeNotifyUri,omitempty"`
	Supi                          externalRef0.Supi      `json:"supi,omitempty"`
	AdditionalProperties          map[string]interface{} `json:"-"`
}

AmfEventSubscription defines model for AmfEventSubscription.

func (AmfEventSubscription) Get

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

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

func (AmfEventSubscription) MarshalJSON

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

Override default JSON handling for AmfEventSubscription to handle AdditionalProperties

func (*AmfEventSubscription) Set

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

Setter for additional properties for AmfEventSubscription

func (*AmfEventSubscription) UnmarshalJSON

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

Override default JSON handling for AmfEventSubscription to handle AdditionalProperties

type AmfEventSubscriptionInfo

type AmfEventSubscriptionInfo struct {
	NotifyCorrelationId  *string                `json:"notifyCorrelationId,omitempty"`
	OldSubId             *externalRef0.Uri      `json:"oldSubId,omitempty"`
	RefIdList            []interface{}          `json:"refIdList"`
	SubId                externalRef0.Uri       `json:"subId"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

AmfEventSubscriptionInfo defines model for AmfEventSubscriptionInfo.

func (AmfEventSubscriptionInfo) Get

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

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

func (AmfEventSubscriptionInfo) MarshalJSON

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

Override default JSON handling for AmfEventSubscriptionInfo to handle AdditionalProperties

func (*AmfEventSubscriptionInfo) Set

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

Setter for additional properties for AmfEventSubscriptionInfo

func (*AmfEventSubscriptionInfo) UnmarshalJSON

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

Override default JSON handling for AmfEventSubscriptionInfo to handle AdditionalProperties

type AmfEventTrigger

type AmfEventTrigger string

AmfEventTrigger defines model for AmfEventTrigger.

const (
	CONTINUOUS AmfEventTrigger = "CONTINUOUS"
	ONETIME    AmfEventTrigger = "ONE_TIME"
	PERIODIC   AmfEventTrigger = "PERIODIC"
)

Defines values for AmfEventTrigger.

type AmfEventType

type AmfEventType string

AmfEventType defines model for AmfEventType.

const (
	ACCESSTYPEREPORT                   AmfEventType = "ACCESS_TYPE_REPORT"
	AVAILABILITYAFTERDDNFAILURE        AmfEventType = "AVAILABILITY_AFTER_DDN_FAILURE"
	COMMUNICATIONFAILUREREPORT         AmfEventType = "COMMUNICATION_FAILURE_REPORT"
	CONNECTIVITYSTATEREPORT            AmfEventType = "CONNECTIVITY_STATE_REPORT"
	FREQUENTMOBILITYREGISTRATIONREPORT AmfEventType = "FREQUENT_MOBILITY_REGISTRATION_REPORT"
	LOCATIONREPORT                     AmfEventType = "LOCATION_REPORT"
	LOSSOFCONNECTIVITY                 AmfEventType = "LOSS_OF_CONNECTIVITY"
	N5GSUSERSTATEREPORT                AmfEventType = "5GS_USER_STATE_REPORT"
	PRESENCEINAOIREPORT                AmfEventType = "PRESENCE_IN_AOI_REPORT"
	REACHABILITYREPORT                 AmfEventType = "REACHABILITY_REPORT"
	REGISTRATIONSTATEREPORT            AmfEventType = "REGISTRATION_STATE_REPORT"
	SUBSCRIPTIONIDADDITION             AmfEventType = "SUBSCRIPTION_ID_ADDITION"
	SUBSCRIPTIONIDCHANGE               AmfEventType = "SUBSCRIPTION_ID_CHANGE"
	TIMEZONEREPORT                     AmfEventType = "TIMEZONE_REPORT"
	TYPEALLOCATIONCODEREPORT           AmfEventType = "TYPE_ALLOCATION_CODE_REPORT"
	UESINAREAREPORT                    AmfEventType = "UES_IN_AREA_REPORT"
)

Defines values for AmfEventType.

type AmfUpdateEventOptionItem

type AmfUpdateEventOptionItem struct {
	Op                   AmfUpdateEventOptionItemOp `json:"op"`
	Path                 string                     `json:"path"`
	Value                externalRef0.DateTime      `json:"value"`
	AdditionalProperties map[string]interface{}     `json:"-"`
}

AmfUpdateEventOptionItem defines model for AmfUpdateEventOptionItem.

func (AmfUpdateEventOptionItem) Get

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

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

func (AmfUpdateEventOptionItem) MarshalJSON

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

Override default JSON handling for AmfUpdateEventOptionItem to handle AdditionalProperties

func (*AmfUpdateEventOptionItem) Set

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

Setter for additional properties for AmfUpdateEventOptionItem

func (*AmfUpdateEventOptionItem) UnmarshalJSON

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

Override default JSON handling for AmfUpdateEventOptionItem to handle AdditionalProperties

type AmfUpdateEventOptionItemOp

type AmfUpdateEventOptionItemOp string

AmfUpdateEventOptionItemOp defines model for AmfUpdateEventOptionItem.Op.

const (
	AmfUpdateEventOptionItemOpReplace AmfUpdateEventOptionItemOp = "replace"
)

Defines values for AmfUpdateEventOptionItemOp.

type AmfUpdateEventSubscriptionItem

type AmfUpdateEventSubscriptionItem struct {
	Op                   AmfUpdateEventSubscriptionItemOp `json:"op"`
	Path                 string                           `json:"path"`
	Value                *AmfEvent                        `json:"value,omitempty"`
	AdditionalProperties map[string]interface{}           `json:"-"`
}

AmfUpdateEventSubscriptionItem defines model for AmfUpdateEventSubscriptionItem.

func (AmfUpdateEventSubscriptionItem) Get

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

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

func (AmfUpdateEventSubscriptionItem) MarshalJSON

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

Override default JSON handling for AmfUpdateEventSubscriptionItem to handle AdditionalProperties

func (*AmfUpdateEventSubscriptionItem) Set

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

Setter for additional properties for AmfUpdateEventSubscriptionItem

func (*AmfUpdateEventSubscriptionItem) UnmarshalJSON

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

Override default JSON handling for AmfUpdateEventSubscriptionItem to handle AdditionalProperties

type AmfUpdateEventSubscriptionItemOp

type AmfUpdateEventSubscriptionItemOp string

AmfUpdateEventSubscriptionItemOp defines model for AmfUpdateEventSubscriptionItem.Op.

const (
	AmfUpdateEventSubscriptionItemOpAdd     AmfUpdateEventSubscriptionItemOp = "add"
	AmfUpdateEventSubscriptionItemOpRemove  AmfUpdateEventSubscriptionItemOp = "remove"
	AmfUpdateEventSubscriptionItemOpReplace AmfUpdateEventSubscriptionItemOp = "replace"
)

Defines values for AmfUpdateEventSubscriptionItemOp.

type AmfUpdatedEventSubscription

type AmfUpdatedEventSubscription struct {
	ReportList           []AmfEventReport       `json:"reportList,omitempty"`
	Subscription         AmfEventSubscription   `json:"subscription"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

AmfUpdatedEventSubscription defines model for AmfUpdatedEventSubscription.

func (AmfUpdatedEventSubscription) Get

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

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

func (AmfUpdatedEventSubscription) MarshalJSON

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

Override default JSON handling for AmfUpdatedEventSubscription to handle AdditionalProperties

func (*AmfUpdatedEventSubscription) Set

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

Setter for additional properties for AmfUpdatedEventSubscription

func (*AmfUpdatedEventSubscription) UnmarshalJSON

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

Override default JSON handling for AmfUpdatedEventSubscription 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) CreateSubscription

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

func (*Client) CreateSubscriptionWithBody

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

func (*Client) DeleteSubscription

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

func (*Client) ModifySubscriptionWithApplicationJSONPatchPlusJSONBody

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

func (*Client) ModifySubscriptionWithBody

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

type ClientInterface

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

	CreateSubscription(ctx context.Context, body CreateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	ModifySubscriptionWithApplicationJSONPatchPlusJSONBody(ctx context.Context, subscriptionId string, body ModifySubscriptionApplicationJSONPatchPlusJSONRequestBody, 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) CreateSubscriptionWithBodyWithResponse

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

CreateSubscriptionWithBodyWithResponse request with arbitrary body returning *CreateSubscriptionResponse

func (*ClientWithResponses) CreateSubscriptionWithResponse

func (c *ClientWithResponses) CreateSubscriptionWithResponse(ctx context.Context, body CreateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSubscriptionResponse, error)

func (*ClientWithResponses) DeleteSubscriptionWithResponse

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

DeleteSubscriptionWithResponse request returning *DeleteSubscriptionResponse

func (*ClientWithResponses) ModifySubscriptionWithApplicationJSONPatchPlusJSONBodyWithResponse

func (c *ClientWithResponses) ModifySubscriptionWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, subscriptionId string, body ModifySubscriptionApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySubscriptionResponse, error)

func (*ClientWithResponses) ModifySubscriptionWithBodyWithResponse

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

ModifySubscriptionWithBodyWithResponse request with arbitrary body returning *ModifySubscriptionResponse

type ClientWithResponsesInterface

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

	CreateSubscriptionWithResponse(ctx context.Context, body CreateSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSubscriptionResponse, error)

	// DeleteSubscriptionWithResponse request
	DeleteSubscriptionWithResponse(ctx context.Context, subscriptionId string, reqEditors ...RequestEditorFn) (*DeleteSubscriptionResponse, error)

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

	ModifySubscriptionWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, subscriptionId string, body ModifySubscriptionApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifySubscriptionResponse, error)
}

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

type CmInfo

type CmInfo struct {
	AccessType           externalRef0.AccessType `json:"accessType"`
	CmState              CmState                 `json:"cmState"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

CmInfo defines model for CmInfo.

func (CmInfo) Get

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

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

func (CmInfo) MarshalJSON

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

Override default JSON handling for CmInfo to handle AdditionalProperties

func (*CmInfo) Set

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

Setter for additional properties for CmInfo

func (*CmInfo) UnmarshalJSON

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

Override default JSON handling for CmInfo to handle AdditionalProperties

type CmState

type CmState string

CmState defines model for CmState.

const (
	CONNECTED CmState = "CONNECTED"
	IDLE      CmState = "IDLE"
)

Defines values for CmState.

type CommunicationFailure

type CommunicationFailure struct {
	NasReleaseCode       *string                 `json:"nasReleaseCode,omitempty"`
	RanReleaseCode       *externalRef0.NgApCause `json:"ranReleaseCode,omitempty"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

CommunicationFailure defines model for CommunicationFailure.

func (CommunicationFailure) Get

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

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

func (CommunicationFailure) MarshalJSON

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

Override default JSON handling for CommunicationFailure to handle AdditionalProperties

func (*CommunicationFailure) Set

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

Setter for additional properties for CommunicationFailure

func (*CommunicationFailure) UnmarshalJSON

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

Override default JSON handling for CommunicationFailure to handle AdditionalProperties

type CreateSubscription201JSONResponse

type CreateSubscription201JSONResponse struct {
	Body    AmfCreatedEventSubscription
	Headers CreateSubscription201ResponseHeaders
}

func (CreateSubscription201JSONResponse) VisitCreateSubscriptionResponse

func (response CreateSubscription201JSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error

type CreateSubscription201ResponseHeaders

type CreateSubscription201ResponseHeaders struct {
	Location string
}

type CreateSubscription307JSONResponse

type CreateSubscription307JSONResponse struct{ externalRef0.N307JSONResponse }

func (CreateSubscription307JSONResponse) VisitCreateSubscriptionResponse

func (response CreateSubscription307JSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error

type CreateSubscription308JSONResponse

type CreateSubscription308JSONResponse struct{ externalRef0.N308JSONResponse }

func (CreateSubscription308JSONResponse) VisitCreateSubscriptionResponse

func (response CreateSubscription308JSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error

type CreateSubscription400ApplicationProblemPlusJSONResponse

type CreateSubscription400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (CreateSubscription400ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse

func (response CreateSubscription400ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error

type CreateSubscription403ApplicationProblemPlusJSONResponse

type CreateSubscription403ApplicationProblemPlusJSONResponse struct {
	externalRef0.N403ApplicationProblemPlusJSONResponse
}

func (CreateSubscription403ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse

func (response CreateSubscription403ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error

type CreateSubscription411ApplicationProblemPlusJSONResponse

type CreateSubscription411ApplicationProblemPlusJSONResponse struct {
	externalRef0.N411ApplicationProblemPlusJSONResponse
}

func (CreateSubscription411ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse

func (response CreateSubscription411ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error

type CreateSubscription413ApplicationProblemPlusJSONResponse

type CreateSubscription413ApplicationProblemPlusJSONResponse struct {
	externalRef0.N413ApplicationProblemPlusJSONResponse
}

func (CreateSubscription413ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse

func (response CreateSubscription413ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error

type CreateSubscription415ApplicationProblemPlusJSONResponse

type CreateSubscription415ApplicationProblemPlusJSONResponse struct {
	externalRef0.N415ApplicationProblemPlusJSONResponse
}

func (CreateSubscription415ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse

func (response CreateSubscription415ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error

type CreateSubscription429ApplicationProblemPlusJSONResponse

type CreateSubscription429ApplicationProblemPlusJSONResponse struct {
	externalRef0.N429ApplicationProblemPlusJSONResponse
}

func (CreateSubscription429ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse

func (response CreateSubscription429ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error

type CreateSubscription500ApplicationProblemPlusJSONResponse

type CreateSubscription500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (CreateSubscription500ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse

func (response CreateSubscription500ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error

type CreateSubscription503ApplicationProblemPlusJSONResponse

type CreateSubscription503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (CreateSubscription503ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse

func (response CreateSubscription503ApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error

type CreateSubscriptionJSONRequestBody

type CreateSubscriptionJSONRequestBody = AmfCreateEventSubscription

CreateSubscriptionJSONRequestBody defines body for CreateSubscription for application/json ContentType.

type CreateSubscriptionRequestObject

type CreateSubscriptionRequestObject struct {
	Body *CreateSubscriptionJSONRequestBody
}

type CreateSubscriptionResponse

type CreateSubscriptionResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON201                       *AmfCreatedEventSubscription
	JSON307                       *externalRef0.N307
	JSON308                       *externalRef0.N308
	ApplicationproblemJSON400     *externalRef0.N400
	ApplicationproblemJSON403     *externalRef0.N403
	ApplicationproblemJSON411     *externalRef0.N411
	ApplicationproblemJSON413     *externalRef0.N413
	ApplicationproblemJSON415     *externalRef0.N415
	ApplicationproblemJSON429     *externalRef0.N429
	ApplicationproblemJSON500     *externalRef0.N500
	ApplicationproblemJSON503     *externalRef0.N503
	ApplicationproblemJSONDefault *externalRef0.ProblemDetails
}

func ParseCreateSubscriptionResponse

func ParseCreateSubscriptionResponse(rsp *http.Response) (*CreateSubscriptionResponse, error)

ParseCreateSubscriptionResponse parses an HTTP response from a CreateSubscriptionWithResponse call

func (CreateSubscriptionResponse) Status

Status returns HTTPResponse.Status

func (CreateSubscriptionResponse) StatusCode

func (r CreateSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSubscriptionResponseObject

type CreateSubscriptionResponseObject interface {
	VisitCreateSubscriptionResponse(w http.ResponseWriter) error
}

type CreateSubscriptiondefaultApplicationProblemPlusJSONResponse

type CreateSubscriptiondefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (CreateSubscriptiondefaultApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse

func (response CreateSubscriptiondefaultApplicationProblemPlusJSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error

type DeleteSubscription204Response

type DeleteSubscription204Response struct {
}

func (DeleteSubscription204Response) VisitDeleteSubscriptionResponse

func (response DeleteSubscription204Response) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error

type DeleteSubscription307JSONResponse

type DeleteSubscription307JSONResponse struct{ externalRef0.N307JSONResponse }

func (DeleteSubscription307JSONResponse) VisitDeleteSubscriptionResponse

func (response DeleteSubscription307JSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error

type DeleteSubscription308JSONResponse

type DeleteSubscription308JSONResponse struct{ externalRef0.N308JSONResponse }

func (DeleteSubscription308JSONResponse) VisitDeleteSubscriptionResponse

func (response DeleteSubscription308JSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error

type DeleteSubscription400ApplicationProblemPlusJSONResponse

type DeleteSubscription400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (DeleteSubscription400ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse

func (response DeleteSubscription400ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error

type DeleteSubscription404ApplicationProblemPlusJSONResponse

type DeleteSubscription404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (DeleteSubscription404ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse

func (response DeleteSubscription404ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error

type DeleteSubscription411ApplicationProblemPlusJSONResponse

type DeleteSubscription411ApplicationProblemPlusJSONResponse struct {
	externalRef0.N411ApplicationProblemPlusJSONResponse
}

func (DeleteSubscription411ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse

func (response DeleteSubscription411ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error

type DeleteSubscription413ApplicationProblemPlusJSONResponse

type DeleteSubscription413ApplicationProblemPlusJSONResponse struct {
	externalRef0.N413ApplicationProblemPlusJSONResponse
}

func (DeleteSubscription413ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse

func (response DeleteSubscription413ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error

type DeleteSubscription415ApplicationProblemPlusJSONResponse

type DeleteSubscription415ApplicationProblemPlusJSONResponse struct {
	externalRef0.N415ApplicationProblemPlusJSONResponse
}

func (DeleteSubscription415ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse

func (response DeleteSubscription415ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error

type DeleteSubscription429ApplicationProblemPlusJSONResponse

type DeleteSubscription429ApplicationProblemPlusJSONResponse struct {
	externalRef0.N429ApplicationProblemPlusJSONResponse
}

func (DeleteSubscription429ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse

func (response DeleteSubscription429ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error

type DeleteSubscription500ApplicationProblemPlusJSONResponse

type DeleteSubscription500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (DeleteSubscription500ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse

func (response DeleteSubscription500ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error

type DeleteSubscription503ApplicationProblemPlusJSONResponse

type DeleteSubscription503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (DeleteSubscription503ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse

func (response DeleteSubscription503ApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error

type DeleteSubscriptionRequestObject

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

type DeleteSubscriptionResponse

type DeleteSubscriptionResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON307                       *externalRef0.N307
	JSON308                       *externalRef0.N308
	ApplicationproblemJSON400     *externalRef0.N400
	ApplicationproblemJSON404     *externalRef0.N404
	ApplicationproblemJSON411     *externalRef0.N411
	ApplicationproblemJSON413     *externalRef0.N413
	ApplicationproblemJSON415     *externalRef0.N415
	ApplicationproblemJSON429     *externalRef0.N429
	ApplicationproblemJSON500     *externalRef0.N500
	ApplicationproblemJSON503     *externalRef0.N503
	ApplicationproblemJSONDefault *externalRef0.ProblemDetails
}

func ParseDeleteSubscriptionResponse

func ParseDeleteSubscriptionResponse(rsp *http.Response) (*DeleteSubscriptionResponse, error)

ParseDeleteSubscriptionResponse parses an HTTP response from a DeleteSubscriptionWithResponse call

func (DeleteSubscriptionResponse) Status

Status returns HTTPResponse.Status

func (DeleteSubscriptionResponse) StatusCode

func (r DeleteSubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSubscriptionResponseObject

type DeleteSubscriptionResponseObject interface {
	VisitDeleteSubscriptionResponse(w http.ResponseWriter) error
}

type DeleteSubscriptiondefaultApplicationProblemPlusJSONResponse

type DeleteSubscriptiondefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (DeleteSubscriptiondefaultApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse

func (response DeleteSubscriptiondefaultApplicationProblemPlusJSONResponse) VisitDeleteSubscriptionResponse(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 IdleStatusIndication

type IdleStatusIndication struct {
	ActiveTime              *externalRef0.DurationSec `json:"activeTime,omitempty"`
	EdrxCycleLength         *int                      `json:"edrxCycleLength,omitempty"`
	SubsRegTimer            *externalRef0.DurationSec `json:"subsRegTimer,omitempty"`
	SuggestedNumOfDlPackets *int                      `json:"suggestedNumOfDlPackets,omitempty"`
	TimeStamp               *externalRef0.DateTime    `json:"timeStamp,omitempty"`
	AdditionalProperties    map[string]interface{}    `json:"-"`
}

IdleStatusIndication defines model for IdleStatusIndication.

func (IdleStatusIndication) Get

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

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

func (IdleStatusIndication) MarshalJSON

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

Override default JSON handling for IdleStatusIndication to handle AdditionalProperties

func (*IdleStatusIndication) Set

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

Setter for additional properties for IdleStatusIndication

func (*IdleStatusIndication) UnmarshalJSON

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

Override default JSON handling for IdleStatusIndication to handle AdditionalProperties

type LadnInfo

type LadnInfo struct {
	Ladn                 string                      `json:"ladn"`
	Presence             *externalRef0.PresenceState `json:"presence,omitempty"`
	AdditionalProperties map[string]interface{}      `json:"-"`
}

LadnInfo defines model for LadnInfo.

func (LadnInfo) Get

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

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

func (LadnInfo) MarshalJSON

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

Override default JSON handling for LadnInfo to handle AdditionalProperties

func (*LadnInfo) Set

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

Setter for additional properties for LadnInfo

func (*LadnInfo) UnmarshalJSON

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

Override default JSON handling for LadnInfo to handle AdditionalProperties

type LocationFilter

type LocationFilter string

LocationFilter defines model for LocationFilter.

const (
	CELLID  LocationFilter = "CELL_ID"
	GLI     LocationFilter = "GLI"
	N3IWF   LocationFilter = "N3IWF"
	TAI     LocationFilter = "TAI"
	TNAPID  LocationFilter = "TNAP_ID"
	TWAPID  LocationFilter = "TWAP_ID"
	UDPPORT LocationFilter = "UDP_PORT"
	UEIP    LocationFilter = "UE_IP"
)

Defines values for LocationFilter.

type LossOfConnectivityReason

type LossOfConnectivityReason string

LossOfConnectivityReason defines model for LossOfConnectivityReason.

const (
	LossOfConnectivityReasonDEREGISTERED            LossOfConnectivityReason = "DEREGISTERED"
	LossOfConnectivityReasonMAXDETECTIONTIMEEXPIRED LossOfConnectivityReason = "MAX_DETECTION_TIME_EXPIRED"
	LossOfConnectivityReasonPURGED                  LossOfConnectivityReason = "PURGED"
)

Defines values for LossOfConnectivityReason.

type MiddlewareFunc

type MiddlewareFunc func(c *gin.Context)

type ModifySubscription200JSONResponse

type ModifySubscription200JSONResponse AmfUpdatedEventSubscription

func (ModifySubscription200JSONResponse) VisitModifySubscriptionResponse

func (response ModifySubscription200JSONResponse) VisitModifySubscriptionResponse(w http.ResponseWriter) error

type ModifySubscription307JSONResponse

type ModifySubscription307JSONResponse struct{ externalRef0.N307JSONResponse }

func (ModifySubscription307JSONResponse) VisitModifySubscriptionResponse

func (response ModifySubscription307JSONResponse) VisitModifySubscriptionResponse(w http.ResponseWriter) error

type ModifySubscription308JSONResponse

type ModifySubscription308JSONResponse struct{ externalRef0.N308JSONResponse }

func (ModifySubscription308JSONResponse) VisitModifySubscriptionResponse

func (response ModifySubscription308JSONResponse) VisitModifySubscriptionResponse(w http.ResponseWriter) error

type ModifySubscription400ApplicationProblemPlusJSONResponse

type ModifySubscription400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (ModifySubscription400ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse

func (response ModifySubscription400ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse(w http.ResponseWriter) error

type ModifySubscription403ApplicationProblemPlusJSONResponse

type ModifySubscription403ApplicationProblemPlusJSONResponse struct {
	externalRef0.N403ApplicationProblemPlusJSONResponse
}

func (ModifySubscription403ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse

func (response ModifySubscription403ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse(w http.ResponseWriter) error

type ModifySubscription404ApplicationProblemPlusJSONResponse

type ModifySubscription404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (ModifySubscription404ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse

func (response ModifySubscription404ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse(w http.ResponseWriter) error

type ModifySubscription411ApplicationProblemPlusJSONResponse

type ModifySubscription411ApplicationProblemPlusJSONResponse struct {
	externalRef0.N411ApplicationProblemPlusJSONResponse
}

func (ModifySubscription411ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse

func (response ModifySubscription411ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse(w http.ResponseWriter) error

type ModifySubscription413ApplicationProblemPlusJSONResponse

type ModifySubscription413ApplicationProblemPlusJSONResponse struct {
	externalRef0.N413ApplicationProblemPlusJSONResponse
}

func (ModifySubscription413ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse

func (response ModifySubscription413ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse(w http.ResponseWriter) error

type ModifySubscription415ApplicationProblemPlusJSONResponse

type ModifySubscription415ApplicationProblemPlusJSONResponse struct {
	externalRef0.N415ApplicationProblemPlusJSONResponse
}

func (ModifySubscription415ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse

func (response ModifySubscription415ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse(w http.ResponseWriter) error

type ModifySubscription429ApplicationProblemPlusJSONResponse

type ModifySubscription429ApplicationProblemPlusJSONResponse struct {
	externalRef0.N429ApplicationProblemPlusJSONResponse
}

func (ModifySubscription429ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse

func (response ModifySubscription429ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse(w http.ResponseWriter) error

type ModifySubscription500ApplicationProblemPlusJSONResponse

type ModifySubscription500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (ModifySubscription500ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse

func (response ModifySubscription500ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse(w http.ResponseWriter) error

type ModifySubscription503ApplicationProblemPlusJSONResponse

type ModifySubscription503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (ModifySubscription503ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse

func (response ModifySubscription503ApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse(w http.ResponseWriter) error

type ModifySubscriptionApplicationJSONPatchPlusJSONBody

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

ModifySubscriptionApplicationJSONPatchPlusJSONBody defines parameters for ModifySubscription.

type ModifySubscriptionApplicationJSONPatchPlusJSONBody0

type ModifySubscriptionApplicationJSONPatchPlusJSONBody0 = []AmfUpdateEventSubscriptionItem

ModifySubscriptionApplicationJSONPatchPlusJSONBody0 defines parameters for ModifySubscription.

type ModifySubscriptionApplicationJSONPatchPlusJSONBody1

type ModifySubscriptionApplicationJSONPatchPlusJSONBody1 = []AmfUpdateEventOptionItem

ModifySubscriptionApplicationJSONPatchPlusJSONBody1 defines parameters for ModifySubscription.

type ModifySubscriptionApplicationJSONPatchPlusJSONRequestBody

type ModifySubscriptionApplicationJSONPatchPlusJSONRequestBody ModifySubscriptionApplicationJSONPatchPlusJSONBody

ModifySubscriptionApplicationJSONPatchPlusJSONRequestBody defines body for ModifySubscription for application/json-patch+json ContentType.

type ModifySubscriptionRequestObject

type ModifySubscriptionRequestObject struct {
	SubscriptionId string `json:"subscriptionId"`
	Body           *ModifySubscriptionApplicationJSONPatchPlusJSONRequestBody
}

type ModifySubscriptionResponse

type ModifySubscriptionResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *AmfUpdatedEventSubscription
	JSON307                       *externalRef0.N307
	JSON308                       *externalRef0.N308
	ApplicationproblemJSON400     *externalRef0.N400
	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.ProblemDetails
}

func ParseModifySubscriptionResponse

func ParseModifySubscriptionResponse(rsp *http.Response) (*ModifySubscriptionResponse, error)

ParseModifySubscriptionResponse parses an HTTP response from a ModifySubscriptionWithResponse call

func (ModifySubscriptionResponse) Status

Status returns HTTPResponse.Status

func (ModifySubscriptionResponse) StatusCode

func (r ModifySubscriptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ModifySubscriptionResponseObject

type ModifySubscriptionResponseObject interface {
	VisitModifySubscriptionResponse(w http.ResponseWriter) error
}

type ModifySubscriptiondefaultApplicationProblemPlusJSONResponse

type ModifySubscriptiondefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (ModifySubscriptiondefaultApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse

func (response ModifySubscriptiondefaultApplicationProblemPlusJSONResponse) VisitModifySubscriptionResponse(w http.ResponseWriter) error

type N5GsUserState

type N5GsUserState string

N5GsUserState defines model for 5GsUserState.

const (
	N5GsUserStateCONNECTEDNOTREACHABLEFORPAGING N5GsUserState = "CONNECTED_NOT_REACHABLE_FOR_PAGING"
	N5GsUserStateCONNECTEDREACHABLEFORPAGING    N5GsUserState = "CONNECTED_REACHABLE_FOR_PAGING"
	N5GsUserStateDEREGISTERED                   N5GsUserState = "DEREGISTERED"
	N5GsUserStateNOTPROVIDEDFROMAMF             N5GsUserState = "NOT_PROVIDED_FROM_AMF"
)

Defines values for N5GsUserState.

type N5GsUserStateInfo

type N5GsUserStateInfo struct {
	N5gsUserState        N5GsUserState           `json:"5gsUserState"`
	AccessType           externalRef0.AccessType `json:"accessType"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

N5GsUserStateInfo defines model for 5GsUserStateInfo.

func (N5GsUserStateInfo) Get

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

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

func (N5GsUserStateInfo) MarshalJSON

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

Override default JSON handling for N5GsUserStateInfo to handle AdditionalProperties

func (*N5GsUserStateInfo) Set

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

Setter for additional properties for N5GsUserStateInfo

func (*N5GsUserStateInfo) UnmarshalJSON

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

Override default JSON handling for N5GsUserStateInfo to handle AdditionalProperties

type ReachabilityFilter

type ReachabilityFilter string

ReachabilityFilter defines model for ReachabilityFilter.

const (
	UEREACHABILITYSTATUSCHANGE ReachabilityFilter = "UE_REACHABILITY_STATUS_CHANGE"
	UEREACHABLEDLTRAFFIC       ReachabilityFilter = "UE_REACHABLE_DL_TRAFFIC"
)

Defines values for ReachabilityFilter.

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type RmInfo

type RmInfo struct {
	AccessType           externalRef0.AccessType `json:"accessType"`
	RmState              RmState                 `json:"rmState"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

RmInfo defines model for RmInfo.

func (RmInfo) Get

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

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

func (RmInfo) MarshalJSON

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

Override default JSON handling for RmInfo to handle AdditionalProperties

func (*RmInfo) Set

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

Setter for additional properties for RmInfo

func (*RmInfo) UnmarshalJSON

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

Override default JSON handling for RmInfo to handle AdditionalProperties

type RmState

type RmState string

RmState defines model for RmState.

const (
	DEREGISTERED RmState = "DEREGISTERED"
	REGISTERED   RmState = "REGISTERED"
)

Defines values for RmState.

type ServerInterface

type ServerInterface interface {
	// Namf_EventExposure Subscribe service Operation
	// (POST /subscriptions)
	CreateSubscription(c *gin.Context)
	// Namf_EventExposure Unsubscribe service Operation
	// (DELETE /subscriptions/{subscriptionId})
	DeleteSubscription(c *gin.Context, subscriptionId string)
	// Namf_EventExposure Subscribe Modify service Operation
	// (PATCH /subscriptions/{subscriptionId})
	ModifySubscription(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) CreateSubscription

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

CreateSubscription operation middleware

func (*ServerInterfaceWrapper) DeleteSubscription

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

DeleteSubscription operation middleware

func (*ServerInterfaceWrapper) ModifySubscription

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

ModifySubscription operation middleware

type StrictHandlerFunc

type StrictHandlerFunc = strictgin.StrictGinHandlerFunc

type StrictMiddlewareFunc

type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc

type StrictServerInterface

type StrictServerInterface interface {
	// Namf_EventExposure Subscribe service Operation
	// (POST /subscriptions)
	CreateSubscription(ctx context.Context, request CreateSubscriptionRequestObject) (CreateSubscriptionResponseObject, error)
	// Namf_EventExposure Unsubscribe service Operation
	// (DELETE /subscriptions/{subscriptionId})
	DeleteSubscription(ctx context.Context, request DeleteSubscriptionRequestObject) (DeleteSubscriptionResponseObject, error)
	// Namf_EventExposure Subscribe Modify service Operation
	// (PATCH /subscriptions/{subscriptionId})
	ModifySubscription(ctx context.Context, request ModifySubscriptionRequestObject) (ModifySubscriptionResponseObject, error)
}

StrictServerInterface represents all server handlers.

type TrafficDescriptor

type TrafficDescriptor struct {
	DddTrafficDescriptorList []externalRef0.DddTrafficDescriptor `json:"dddTrafficDescriptorList,omitempty"`
	Dnn                      *externalRef0.Dnn                   `json:"dnn,omitempty"`
	SNssai                   *externalRef0.Snssai                `json:"sNssai,omitempty"`
	AdditionalProperties     map[string]interface{}              `json:"-"`
}

TrafficDescriptor defines model for TrafficDescriptor.

func (TrafficDescriptor) Get

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

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

func (TrafficDescriptor) MarshalJSON

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

Override default JSON handling for TrafficDescriptor to handle AdditionalProperties

func (*TrafficDescriptor) Set

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

Setter for additional properties for TrafficDescriptor

func (*TrafficDescriptor) UnmarshalJSON

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

Override default JSON handling for TrafficDescriptor to handle AdditionalProperties

type UEIdExt

type UEIdExt struct {
	Gpsi                 externalRef0.Gpsi      `json:"gpsi,omitempty"`
	Supi                 externalRef0.Supi      `json:"supi,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

UEIdExt defines model for UEIdExt.

func (UEIdExt) Get

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

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

func (UEIdExt) MarshalJSON

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

Override default JSON handling for UEIdExt to handle AdditionalProperties

func (*UEIdExt) Set

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

Setter for additional properties for UEIdExt

func (*UEIdExt) UnmarshalJSON

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

Override default JSON handling for UEIdExt to handle AdditionalProperties

type UeReachability

type UeReachability string

UeReachability defines model for UeReachability.

const (
	REACHABLE      UeReachability = "REACHABLE"
	REGULATORYONLY UeReachability = "REGULATORY_ONLY"
	UNREACHABLE    UeReachability = "UNREACHABLE"
)

Defines values for UeReachability.

Jump to

Keyboard shortcuts

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