location

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

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 51 Imported by: 0

Documentation

Overview

Package location 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 NewCancelLocationRequest

func NewCancelLocationRequest(server string, ueContextId string, body CancelLocationJSONRequestBody) (*http.Request, error)

NewCancelLocationRequest calls the generic CancelLocation builder with application/json body

func NewCancelLocationRequestWithBody

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

NewCancelLocationRequestWithBody generates requests for CancelLocation with any type of body

func NewProvideLocationInfoRequest

func NewProvideLocationInfoRequest(server string, ueContextId string, body ProvideLocationInfoJSONRequestBody) (*http.Request, error)

NewProvideLocationInfoRequest calls the generic ProvideLocationInfo builder with application/json body

func NewProvideLocationInfoRequestWithBody

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

NewProvideLocationInfoRequestWithBody generates requests for ProvideLocationInfo with any type of body

func NewProvidePositioningInfoRequest

func NewProvidePositioningInfoRequest(server string, ueContextId string, body ProvidePositioningInfoJSONRequestBody) (*http.Request, error)

NewProvidePositioningInfoRequest calls the generic ProvidePositioningInfo builder with application/json body

func NewProvidePositioningInfoRequestWithBody

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

NewProvidePositioningInfoRequestWithBody generates requests for ProvidePositioningInfo 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 CancelLocation204Response

type CancelLocation204Response struct {
}

func (CancelLocation204Response) VisitCancelLocationResponse

func (response CancelLocation204Response) VisitCancelLocationResponse(w http.ResponseWriter) error

type CancelLocation307JSONResponse

type CancelLocation307JSONResponse struct{ externalRef0.N307JSONResponse }

func (CancelLocation307JSONResponse) VisitCancelLocationResponse

func (response CancelLocation307JSONResponse) VisitCancelLocationResponse(w http.ResponseWriter) error

type CancelLocation308JSONResponse

type CancelLocation308JSONResponse struct{ externalRef0.N308JSONResponse }

func (CancelLocation308JSONResponse) VisitCancelLocationResponse

func (response CancelLocation308JSONResponse) VisitCancelLocationResponse(w http.ResponseWriter) error

type CancelLocation400ApplicationProblemPlusJSONResponse

type CancelLocation400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (CancelLocation400ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse

func (response CancelLocation400ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse(w http.ResponseWriter) error

type CancelLocation401ApplicationProblemPlusJSONResponse

type CancelLocation401ApplicationProblemPlusJSONResponse struct {
	externalRef0.N401ApplicationProblemPlusJSONResponse
}

func (CancelLocation401ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse

func (response CancelLocation401ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse(w http.ResponseWriter) error

type CancelLocation403ApplicationProblemPlusJSONResponse

type CancelLocation403ApplicationProblemPlusJSONResponse struct {
	externalRef0.N403ApplicationProblemPlusJSONResponse
}

func (CancelLocation403ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse

func (response CancelLocation403ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse(w http.ResponseWriter) error

type CancelLocation404ApplicationProblemPlusJSONResponse

type CancelLocation404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (CancelLocation404ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse

func (response CancelLocation404ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse(w http.ResponseWriter) error

type CancelLocation411ApplicationProblemPlusJSONResponse

type CancelLocation411ApplicationProblemPlusJSONResponse struct {
	externalRef0.N411ApplicationProblemPlusJSONResponse
}

func (CancelLocation411ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse

func (response CancelLocation411ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse(w http.ResponseWriter) error

type CancelLocation413ApplicationProblemPlusJSONResponse

type CancelLocation413ApplicationProblemPlusJSONResponse struct {
	externalRef0.N413ApplicationProblemPlusJSONResponse
}

func (CancelLocation413ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse

func (response CancelLocation413ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse(w http.ResponseWriter) error

type CancelLocation415ApplicationProblemPlusJSONResponse

type CancelLocation415ApplicationProblemPlusJSONResponse struct {
	externalRef0.N415ApplicationProblemPlusJSONResponse
}

func (CancelLocation415ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse

func (response CancelLocation415ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse(w http.ResponseWriter) error

type CancelLocation429ApplicationProblemPlusJSONResponse

type CancelLocation429ApplicationProblemPlusJSONResponse struct {
	externalRef0.N429ApplicationProblemPlusJSONResponse
}

func (CancelLocation429ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse

func (response CancelLocation429ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse(w http.ResponseWriter) error

type CancelLocation500ApplicationProblemPlusJSONResponse

type CancelLocation500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (CancelLocation500ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse

func (response CancelLocation500ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse(w http.ResponseWriter) error

type CancelLocation503ApplicationProblemPlusJSONResponse

type CancelLocation503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (CancelLocation503ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse

func (response CancelLocation503ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse(w http.ResponseWriter) error

type CancelLocation504ApplicationProblemPlusJSONResponse

type CancelLocation504ApplicationProblemPlusJSONResponse struct {
	externalRef0.N504ApplicationProblemPlusJSONResponse
}

func (CancelLocation504ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse

func (response CancelLocation504ApplicationProblemPlusJSONResponse) VisitCancelLocationResponse(w http.ResponseWriter) error

type CancelLocationJSONRequestBody

type CancelLocationJSONRequestBody = CancelPosInfo

CancelLocationJSONRequestBody defines body for CancelLocation for application/json ContentType.

type CancelLocationRequestObject

type CancelLocationRequestObject struct {
	UeContextId string `json:"ueContextId"`
	Body        *CancelLocationJSONRequestBody
}

type CancelLocationResponse

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

func ParseCancelLocationResponse

func ParseCancelLocationResponse(rsp *http.Response) (*CancelLocationResponse, error)

ParseCancelLocationResponse parses an HTTP response from a CancelLocationWithResponse call

func (CancelLocationResponse) Status

func (r CancelLocationResponse) Status() string

Status returns HTTPResponse.Status

func (CancelLocationResponse) StatusCode

func (r CancelLocationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CancelLocationResponseObject

type CancelLocationResponseObject interface {
	VisitCancelLocationResponse(w http.ResponseWriter) error
}

type CancelLocationdefaultApplicationProblemPlusJSONResponse

type CancelLocationdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (CancelLocationdefaultApplicationProblemPlusJSONResponse) VisitCancelLocationResponse

func (response CancelLocationdefaultApplicationProblemPlusJSONResponse) VisitCancelLocationResponse(w http.ResponseWriter) error

type CancelPosInfo

type CancelPosInfo struct {
	HgmlcCallBackURI externalRef0.Uri `json:"hgmlcCallBackURI"`

	// LdrReference Original reference TS29572_Nlmf_Location.yaml#/components/schemas/LdrReference
	LdrReference string `json:"ldrReference"`

	// ServingLMFIdentification Original reference TS29572_Nlmf_Location.yaml#/components/schemas/LMFIdentification
	ServingLMFIdentification *string                         `json:"servingLMFIdentification,omitempty"`
	Supi                     externalRef0.Supi               `json:"supi"`
	SupportedFeatures        *externalRef0.SupportedFeatures `json:"supportedFeatures,omitempty"`
	AdditionalProperties     map[string]interface{}          `json:"-"`
}

CancelPosInfo defines model for CancelPosInfo.

func (CancelPosInfo) Get

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

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

func (CancelPosInfo) MarshalJSON

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

Override default JSON handling for CancelPosInfo to handle AdditionalProperties

func (*CancelPosInfo) Set

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

Setter for additional properties for CancelPosInfo

func (*CancelPosInfo) UnmarshalJSON

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

Override default JSON handling for CancelPosInfo 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) CancelLocation

func (c *Client) CancelLocation(ctx context.Context, ueContextId string, body CancelLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CancelLocationWithBody

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

func (*Client) ProvideLocationInfo

func (c *Client) ProvideLocationInfo(ctx context.Context, ueContextId string, body ProvideLocationInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProvideLocationInfoWithBody

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

func (*Client) ProvidePositioningInfo

func (c *Client) ProvidePositioningInfo(ctx context.Context, ueContextId string, body ProvidePositioningInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProvidePositioningInfoWithBody

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

type ClientInterface

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

	CancelLocation(ctx context.Context, ueContextId string, body CancelLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	ProvideLocationInfo(ctx context.Context, ueContextId string, body ProvideLocationInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	ProvidePositioningInfo(ctx context.Context, ueContextId string, body ProvidePositioningInfoJSONRequestBody, 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) CancelLocationWithBodyWithResponse

func (c *ClientWithResponses) CancelLocationWithBodyWithResponse(ctx context.Context, ueContextId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelLocationResponse, error)

CancelLocationWithBodyWithResponse request with arbitrary body returning *CancelLocationResponse

func (*ClientWithResponses) CancelLocationWithResponse

func (c *ClientWithResponses) CancelLocationWithResponse(ctx context.Context, ueContextId string, body CancelLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelLocationResponse, error)

func (*ClientWithResponses) ProvideLocationInfoWithBodyWithResponse

func (c *ClientWithResponses) ProvideLocationInfoWithBodyWithResponse(ctx context.Context, ueContextId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProvideLocationInfoResponse, error)

ProvideLocationInfoWithBodyWithResponse request with arbitrary body returning *ProvideLocationInfoResponse

func (*ClientWithResponses) ProvideLocationInfoWithResponse

func (c *ClientWithResponses) ProvideLocationInfoWithResponse(ctx context.Context, ueContextId string, body ProvideLocationInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*ProvideLocationInfoResponse, error)

func (*ClientWithResponses) ProvidePositioningInfoWithBodyWithResponse

func (c *ClientWithResponses) ProvidePositioningInfoWithBodyWithResponse(ctx context.Context, ueContextId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProvidePositioningInfoResponse, error)

ProvidePositioningInfoWithBodyWithResponse request with arbitrary body returning *ProvidePositioningInfoResponse

func (*ClientWithResponses) ProvidePositioningInfoWithResponse

func (c *ClientWithResponses) ProvidePositioningInfoWithResponse(ctx context.Context, ueContextId string, body ProvidePositioningInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*ProvidePositioningInfoResponse, error)

type ClientWithResponsesInterface

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

	CancelLocationWithResponse(ctx context.Context, ueContextId string, body CancelLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelLocationResponse, error)

	// ProvideLocationInfoWithBodyWithResponse request with any body
	ProvideLocationInfoWithBodyWithResponse(ctx context.Context, ueContextId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProvideLocationInfoResponse, error)

	ProvideLocationInfoWithResponse(ctx context.Context, ueContextId string, body ProvideLocationInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*ProvideLocationInfoResponse, error)

	// ProvidePositioningInfoWithBodyWithResponse request with any body
	ProvidePositioningInfoWithBodyWithResponse(ctx context.Context, ueContextId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProvidePositioningInfoResponse, error)

	ProvidePositioningInfoWithResponse(ctx context.Context, ueContextId string, body ProvidePositioningInfoJSONRequestBody, reqEditors ...RequestEditorFn) (*ProvidePositioningInfoResponse, error)
}

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

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 LocationEvent

type LocationEvent string

LocationEvent defines model for LocationEvent.

const (
	ACTIVATIONOFDEFERREDLOCATION   LocationEvent = "ACTIVATION_OF_DEFERRED_LOCATION"
	CANCELLATIONOFDEFERREDLOCATION LocationEvent = "CANCELLATION_OF_DEFERRED_LOCATION"
	EMERGENCYCALLHANDOVER          LocationEvent = "EMERGENCY_CALL_HANDOVER"
	EMERGENCYCALLORIGINATION       LocationEvent = "EMERGENCY_CALL_ORIGINATION"
	EMERGENCYCALLRELEASE           LocationEvent = "EMERGENCY_CALL_RELEASE"
	UEMOBILITYFORDEFERREDLOCATION  LocationEvent = "UE_MOBILITY_FOR_DEFERRED_LOCATION"
)

Defines values for LocationEvent.

type LocationPrivacyVerResult

type LocationPrivacyVerResult string

LocationPrivacyVerResult defines model for LocationPrivacyVerResult.

const (
	LOCATIONALLOWED    LocationPrivacyVerResult = "LOCATION_ALLOWED"
	LOCATIONNOTALLOWED LocationPrivacyVerResult = "LOCATION_NOT_ALLOWED"
	RESPONSETIMEOUT    LocationPrivacyVerResult = "RESPONSE_TIME_OUT"
)

Defines values for LocationPrivacyVerResult.

type LocationType

type LocationType string

LocationType defines model for LocationType.

const (
	CURRENTLOCATION              LocationType = "CURRENT_LOCATION"
	CURRENTORLASTKNOWNLOCATION   LocationType = "CURRENT_OR_LAST_KNOWN_LOCATION"
	DEFERREDLOCATION             LocationType = "DEFERRED_LOCATION"
	NOTIFICATIONVERIFICATIONONLY LocationType = "NOTIFICATION_VERIFICATION_ONLY"
)

Defines values for LocationType.

type MiddlewareFunc

type MiddlewareFunc func(c *gin.Context)

type NotifiedPosInfo

type NotifiedPosInfo struct {
	// AgeOfLocationEstimate Original reference TS29572_Nlmf_Location.yaml#/components/schemas/AgeOfLocationEstimate
	AgeOfLocationEstimate interface{} `json:"ageOfLocationEstimate,omitempty"`

	// Altitude Original reference TS29572_Nlmf_Location.yaml#/components/schemas/Altitude
	Altitude interface{} `json:"altitude,omitempty"`

	// BarometricPressure Original reference TS29572_Nlmf_Location.yaml#/components/schemas/BarometricPressure
	BarometricPressure interface{} `json:"barometricPressure,omitempty"`

	// CivicAddress Original reference TS29572_Nlmf_Location.yaml#/components/schemas/CivicAddress
	CivicAddress            interface{}        `json:"civicAddress,omitempty"`
	Ecgi                    *externalRef0.Ecgi `json:"ecgi,omitempty"`
	GnssPositioningDataList *[]interface{}     `json:"gnssPositioningDataList,omitempty"`
	Gpsi                    externalRef0.Gpsi  `json:"gpsi,omitempty"`
	HgmlcCallBackURI        *externalRef0.Uri  `json:"hgmlcCallBackURI,omitempty"`

	// LdrReference Original reference TS29572_Nlmf_Location.yaml#/components/schemas/LdrReference
	LdrReference *string `json:"ldrReference,omitempty"`

	// LocationEstimate Original reference TS29572_Nlmf_Location.yaml#/components/schemas/GeographicArea
	LocationEstimate    interface{}             `json:"locationEstimate,omitempty"`
	LocationEvent       LocationEvent           `json:"locationEvent"`
	MscServerId         externalRef1.E164Number `json:"mscServerId,omitempty"`
	Ncgi                *externalRef0.Ncgi      `json:"ncgi,omitempty"`
	Pei                 externalRef0.Pei        `json:"pei,omitempty"`
	PositioningDataList *[]interface{}          `json:"positioningDataList,omitempty"`

	// ServingLMFIdentification Original reference TS29572_Nlmf_Location.yaml#/components/schemas/LMFIdentification
	ServingLMFIdentification *string                       `json:"servingLMFIdentification,omitempty"`
	ServingNode              *externalRef0.NfInstanceId    `json:"servingNode,omitempty"`
	Supi                     externalRef0.Supi             `json:"supi,omitempty"`
	TargetMmeName            externalRef0.DiameterIdentity `json:"targetMmeName,omitempty"`
	TargetMmeRealm           externalRef0.DiameterIdentity `json:"targetMmeRealm,omitempty"`

	// TerminationCause Original reference TS29572_Nlmf_Location.yaml#/components/schemas/TerminationCause
	TerminationCause *string `json:"terminationCause,omitempty"`
	UtranSrvccInd    *bool   `json:"utranSrvccInd,omitempty"`

	// VelocityEstimate Original reference TS29572_Nlmf_Location.yaml#/components/schemas/VelocityEstimate
	VelocityEstimate     interface{}            `json:"velocityEstimate,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

NotifiedPosInfo defines model for NotifiedPosInfo.

func (NotifiedPosInfo) Get

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

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

func (NotifiedPosInfo) MarshalJSON

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

Override default JSON handling for NotifiedPosInfo to handle AdditionalProperties

func (*NotifiedPosInfo) Set

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

Setter for additional properties for NotifiedPosInfo

func (*NotifiedPosInfo) UnmarshalJSON

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

Override default JSON handling for NotifiedPosInfo to handle AdditionalProperties

type ProvideLocInfo

type ProvideLocInfo struct {
	AdditionalLocation *externalRef0.UserLocation `json:"additionalLocation,omitempty"`
	CurrentLoc         *bool                      `json:"currentLoc,omitempty"`

	// GeoInfo Original reference TS29572_Nlmf_Location.yaml#/components/schemas/GeographicArea
	GeoInfo  interface{}                `json:"geoInfo,omitempty"`
	Location *externalRef0.UserLocation `json:"location,omitempty"`

	// LocationAge Original reference TS29572_Nlmf_Location.yaml#/components/schemas/AgeOfLocationEstimate
	LocationAge          interface{}                     `json:"locationAge,omitempty"`
	OldGuami             *externalRef0.Guami             `json:"oldGuami,omitempty"`
	RatType              *externalRef0.RatType           `json:"ratType,omitempty"`
	SupportedFeatures    *externalRef0.SupportedFeatures `json:"supportedFeatures,omitempty"`
	Timezone             *externalRef0.TimeZone          `json:"timezone,omitempty"`
	AdditionalProperties map[string]interface{}          `json:"-"`
}

ProvideLocInfo defines model for ProvideLocInfo.

func (ProvideLocInfo) Get

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

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

func (ProvideLocInfo) MarshalJSON

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

Override default JSON handling for ProvideLocInfo to handle AdditionalProperties

func (*ProvideLocInfo) Set

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

Setter for additional properties for ProvideLocInfo

func (*ProvideLocInfo) UnmarshalJSON

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

Override default JSON handling for ProvideLocInfo to handle AdditionalProperties

type ProvideLocationInfo200JSONResponse

type ProvideLocationInfo200JSONResponse ProvideLocInfo

func (ProvideLocationInfo200JSONResponse) VisitProvideLocationInfoResponse

func (response ProvideLocationInfo200JSONResponse) VisitProvideLocationInfoResponse(w http.ResponseWriter) error

type ProvideLocationInfo307JSONResponse

type ProvideLocationInfo307JSONResponse struct{ externalRef0.N307JSONResponse }

func (ProvideLocationInfo307JSONResponse) VisitProvideLocationInfoResponse

func (response ProvideLocationInfo307JSONResponse) VisitProvideLocationInfoResponse(w http.ResponseWriter) error

type ProvideLocationInfo308JSONResponse

type ProvideLocationInfo308JSONResponse struct{ externalRef0.N308JSONResponse }

func (ProvideLocationInfo308JSONResponse) VisitProvideLocationInfoResponse

func (response ProvideLocationInfo308JSONResponse) VisitProvideLocationInfoResponse(w http.ResponseWriter) error

type ProvideLocationInfo400ApplicationProblemPlusJSONResponse

type ProvideLocationInfo400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (ProvideLocationInfo400ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse

func (response ProvideLocationInfo400ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse(w http.ResponseWriter) error

type ProvideLocationInfo403ApplicationProblemPlusJSONResponse

type ProvideLocationInfo403ApplicationProblemPlusJSONResponse struct {
	externalRef0.N403ApplicationProblemPlusJSONResponse
}

func (ProvideLocationInfo403ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse

func (response ProvideLocationInfo403ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse(w http.ResponseWriter) error

type ProvideLocationInfo404ApplicationProblemPlusJSONResponse

type ProvideLocationInfo404ApplicationProblemPlusJSONResponse struct {
	externalRef0.N404ApplicationProblemPlusJSONResponse
}

func (ProvideLocationInfo404ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse

func (response ProvideLocationInfo404ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse(w http.ResponseWriter) error

type ProvideLocationInfo411ApplicationProblemPlusJSONResponse

type ProvideLocationInfo411ApplicationProblemPlusJSONResponse struct {
	externalRef0.N411ApplicationProblemPlusJSONResponse
}

func (ProvideLocationInfo411ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse

func (response ProvideLocationInfo411ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse(w http.ResponseWriter) error

type ProvideLocationInfo413ApplicationProblemPlusJSONResponse

type ProvideLocationInfo413ApplicationProblemPlusJSONResponse struct {
	externalRef0.N413ApplicationProblemPlusJSONResponse
}

func (ProvideLocationInfo413ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse

func (response ProvideLocationInfo413ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse(w http.ResponseWriter) error

type ProvideLocationInfo415ApplicationProblemPlusJSONResponse

type ProvideLocationInfo415ApplicationProblemPlusJSONResponse struct {
	externalRef0.N415ApplicationProblemPlusJSONResponse
}

func (ProvideLocationInfo415ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse

func (response ProvideLocationInfo415ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse(w http.ResponseWriter) error

type ProvideLocationInfo429ApplicationProblemPlusJSONResponse

type ProvideLocationInfo429ApplicationProblemPlusJSONResponse struct {
	externalRef0.N429ApplicationProblemPlusJSONResponse
}

func (ProvideLocationInfo429ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse

func (response ProvideLocationInfo429ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse(w http.ResponseWriter) error

type ProvideLocationInfo500ApplicationProblemPlusJSONResponse

type ProvideLocationInfo500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (ProvideLocationInfo500ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse

func (response ProvideLocationInfo500ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse(w http.ResponseWriter) error

type ProvideLocationInfo503ApplicationProblemPlusJSONResponse

type ProvideLocationInfo503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (ProvideLocationInfo503ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse

func (response ProvideLocationInfo503ApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse(w http.ResponseWriter) error

type ProvideLocationInfoJSONRequestBody

type ProvideLocationInfoJSONRequestBody = RequestLocInfo

ProvideLocationInfoJSONRequestBody defines body for ProvideLocationInfo for application/json ContentType.

type ProvideLocationInfoRequestObject

type ProvideLocationInfoRequestObject struct {
	UeContextId string `json:"ueContextId"`
	Body        *ProvideLocationInfoJSONRequestBody
}

type ProvideLocationInfoResponse

type ProvideLocationInfoResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *ProvideLocInfo
	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 ParseProvideLocationInfoResponse

func ParseProvideLocationInfoResponse(rsp *http.Response) (*ProvideLocationInfoResponse, error)

ParseProvideLocationInfoResponse parses an HTTP response from a ProvideLocationInfoWithResponse call

func (ProvideLocationInfoResponse) Status

Status returns HTTPResponse.Status

func (ProvideLocationInfoResponse) StatusCode

func (r ProvideLocationInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProvideLocationInfoResponseObject

type ProvideLocationInfoResponseObject interface {
	VisitProvideLocationInfoResponse(w http.ResponseWriter) error
}

type ProvideLocationInfodefaultApplicationProblemPlusJSONResponse

type ProvideLocationInfodefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (ProvideLocationInfodefaultApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse

func (response ProvideLocationInfodefaultApplicationProblemPlusJSONResponse) VisitProvideLocationInfoResponse(w http.ResponseWriter) error

type ProvidePosInfo

type ProvidePosInfo struct {
	// AccuracyFulfilmentIndicator Original reference TS29572_Nlmf_Location.yaml#/components/schemas/AccuracyFulfilmentIndicator
	AccuracyFulfilmentIndicator *string `json:"accuracyFulfilmentIndicator,omitempty"`

	// AgeOfLocationEstimate Original reference TS29572_Nlmf_Location.yaml#/components/schemas/AgeOfLocationEstimate
	AgeOfLocationEstimate interface{} `json:"ageOfLocationEstimate,omitempty"`

	// Altitude Original reference TS29572_Nlmf_Location.yaml#/components/schemas/Altitude
	Altitude interface{} `json:"altitude,omitempty"`

	// BarometricPressure Original reference TS29572_Nlmf_Location.yaml#/components/schemas/BarometricPressure
	BarometricPressure interface{} `json:"barometricPressure,omitempty"`

	// CivicAddress Original reference TS29572_Nlmf_Location.yaml#/components/schemas/CivicAddress
	CivicAddress            interface{}        `json:"civicAddress,omitempty"`
	Ecgi                    *externalRef0.Ecgi `json:"ecgi,omitempty"`
	GnssPositioningDataList *[]interface{}     `json:"gnssPositioningDataList,omitempty"`

	// LocationEstimate Original reference TS29572_Nlmf_Location.yaml#/components/schemas/GeographicArea
	LocationEstimate         interface{}               `json:"locationEstimate,omitempty"`
	LocationPrivacyVerResult *LocationPrivacyVerResult `json:"locationPrivacyVerResult,omitempty"`
	Ncgi                     *externalRef0.Ncgi        `json:"ncgi,omitempty"`
	PositioningDataList      *[]interface{}            `json:"positioningDataList,omitempty"`

	// ServingLMFIdentification Original reference TS29572_Nlmf_Location.yaml#/components/schemas/LMFIdentification
	ServingLMFIdentification *string                         `json:"servingLMFIdentification,omitempty"`
	SupportedFeatures        *externalRef0.SupportedFeatures `json:"supportedFeatures,omitempty"`
	TargetMmeName            externalRef0.DiameterIdentity   `json:"targetMmeName,omitempty"`
	TargetMmeRealm           externalRef0.DiameterIdentity   `json:"targetMmeRealm,omitempty"`
	TargetServingNode        *externalRef0.NfInstanceId      `json:"targetServingNode,omitempty"`
	UtranSrvccInd            *bool                           `json:"utranSrvccInd,omitempty"`

	// VelocityEstimate Original reference TS29572_Nlmf_Location.yaml#/components/schemas/VelocityEstimate
	VelocityEstimate     interface{}            `json:"velocityEstimate,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ProvidePosInfo defines model for ProvidePosInfo.

func (ProvidePosInfo) Get

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

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

func (ProvidePosInfo) MarshalJSON

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

Override default JSON handling for ProvidePosInfo to handle AdditionalProperties

func (*ProvidePosInfo) Set

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

Setter for additional properties for ProvidePosInfo

func (*ProvidePosInfo) UnmarshalJSON

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

Override default JSON handling for ProvidePosInfo to handle AdditionalProperties

type ProvidePositioningInfo200JSONResponse

type ProvidePositioningInfo200JSONResponse ProvidePosInfo

func (ProvidePositioningInfo200JSONResponse) VisitProvidePositioningInfoResponse

func (response ProvidePositioningInfo200JSONResponse) VisitProvidePositioningInfoResponse(w http.ResponseWriter) error

type ProvidePositioningInfo204Response

type ProvidePositioningInfo204Response struct {
}

func (ProvidePositioningInfo204Response) VisitProvidePositioningInfoResponse

func (response ProvidePositioningInfo204Response) VisitProvidePositioningInfoResponse(w http.ResponseWriter) error

type ProvidePositioningInfo307JSONResponse

type ProvidePositioningInfo307JSONResponse struct{ externalRef0.N307JSONResponse }

func (ProvidePositioningInfo307JSONResponse) VisitProvidePositioningInfoResponse

func (response ProvidePositioningInfo307JSONResponse) VisitProvidePositioningInfoResponse(w http.ResponseWriter) error

type ProvidePositioningInfo308JSONResponse

type ProvidePositioningInfo308JSONResponse struct{ externalRef0.N308JSONResponse }

func (ProvidePositioningInfo308JSONResponse) VisitProvidePositioningInfoResponse

func (response ProvidePositioningInfo308JSONResponse) VisitProvidePositioningInfoResponse(w http.ResponseWriter) error

type ProvidePositioningInfo400ApplicationProblemPlusJSONResponse

type ProvidePositioningInfo400ApplicationProblemPlusJSONResponse struct {
	externalRef0.N400ApplicationProblemPlusJSONResponse
}

func (ProvidePositioningInfo400ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse

func (response ProvidePositioningInfo400ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse(w http.ResponseWriter) error

type ProvidePositioningInfo403ApplicationProblemPlusJSONResponse

type ProvidePositioningInfo403ApplicationProblemPlusJSONResponse struct {
	externalRef0.N403ApplicationProblemPlusJSONResponse
}

func (ProvidePositioningInfo403ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse

func (response ProvidePositioningInfo403ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse(w http.ResponseWriter) error

type ProvidePositioningInfo411ApplicationProblemPlusJSONResponse

type ProvidePositioningInfo411ApplicationProblemPlusJSONResponse struct {
	externalRef0.N411ApplicationProblemPlusJSONResponse
}

func (ProvidePositioningInfo411ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse

func (response ProvidePositioningInfo411ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse(w http.ResponseWriter) error

type ProvidePositioningInfo413ApplicationProblemPlusJSONResponse

type ProvidePositioningInfo413ApplicationProblemPlusJSONResponse struct {
	externalRef0.N413ApplicationProblemPlusJSONResponse
}

func (ProvidePositioningInfo413ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse

func (response ProvidePositioningInfo413ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse(w http.ResponseWriter) error

type ProvidePositioningInfo415ApplicationProblemPlusJSONResponse

type ProvidePositioningInfo415ApplicationProblemPlusJSONResponse struct {
	externalRef0.N415ApplicationProblemPlusJSONResponse
}

func (ProvidePositioningInfo415ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse

func (response ProvidePositioningInfo415ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse(w http.ResponseWriter) error

type ProvidePositioningInfo429ApplicationProblemPlusJSONResponse

type ProvidePositioningInfo429ApplicationProblemPlusJSONResponse struct {
	externalRef0.N429ApplicationProblemPlusJSONResponse
}

func (ProvidePositioningInfo429ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse

func (response ProvidePositioningInfo429ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse(w http.ResponseWriter) error

type ProvidePositioningInfo500ApplicationProblemPlusJSONResponse

type ProvidePositioningInfo500ApplicationProblemPlusJSONResponse struct {
	externalRef0.N500ApplicationProblemPlusJSONResponse
}

func (ProvidePositioningInfo500ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse

func (response ProvidePositioningInfo500ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse(w http.ResponseWriter) error

type ProvidePositioningInfo503ApplicationProblemPlusJSONResponse

type ProvidePositioningInfo503ApplicationProblemPlusJSONResponse struct {
	externalRef0.N503ApplicationProblemPlusJSONResponse
}

func (ProvidePositioningInfo503ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse

func (response ProvidePositioningInfo503ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse(w http.ResponseWriter) error

type ProvidePositioningInfo504ApplicationProblemPlusJSONResponse

type ProvidePositioningInfo504ApplicationProblemPlusJSONResponse struct {
	externalRef0.N504ApplicationProblemPlusJSONResponse
}

func (ProvidePositioningInfo504ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse

func (response ProvidePositioningInfo504ApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse(w http.ResponseWriter) error

type ProvidePositioningInfoJSONRequestBody

type ProvidePositioningInfoJSONRequestBody = RequestPosInfo

ProvidePositioningInfoJSONRequestBody defines body for ProvidePositioningInfo for application/json ContentType.

type ProvidePositioningInfoRequestObject

type ProvidePositioningInfoRequestObject struct {
	UeContextId string `json:"ueContextId"`
	Body        *ProvidePositioningInfoJSONRequestBody
}

type ProvidePositioningInfoResponse

type ProvidePositioningInfoResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *ProvidePosInfo
	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
	ApplicationproblemJSON504     *externalRef0.N504
	ApplicationproblemJSONDefault *externalRef0.ProblemDetails
}

func ParseProvidePositioningInfoResponse

func ParseProvidePositioningInfoResponse(rsp *http.Response) (*ProvidePositioningInfoResponse, error)

ParseProvidePositioningInfoResponse parses an HTTP response from a ProvidePositioningInfoWithResponse call

func (ProvidePositioningInfoResponse) Status

Status returns HTTPResponse.Status

func (ProvidePositioningInfoResponse) StatusCode

func (r ProvidePositioningInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProvidePositioningInfoResponseObject

type ProvidePositioningInfoResponseObject interface {
	VisitProvidePositioningInfoResponse(w http.ResponseWriter) error
}

type ProvidePositioningInfodefaultApplicationProblemPlusJSONResponse

type ProvidePositioningInfodefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef0.ProblemDetails
	StatusCode int
}

func (ProvidePositioningInfodefaultApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse

func (response ProvidePositioningInfodefaultApplicationProblemPlusJSONResponse) VisitProvidePositioningInfoResponse(w http.ResponseWriter) error

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type RequestLocInfo

type RequestLocInfo struct {
	Req5gsLoc            *bool                           `json:"req5gsLoc,omitempty"`
	ReqCurrentLoc        *bool                           `json:"reqCurrentLoc,omitempty"`
	ReqRatType           *bool                           `json:"reqRatType,omitempty"`
	ReqTimeZone          *bool                           `json:"reqTimeZone,omitempty"`
	SupportedFeatures    *externalRef0.SupportedFeatures `json:"supportedFeatures,omitempty"`
	AdditionalProperties map[string]interface{}          `json:"-"`
}

RequestLocInfo defines model for RequestLocInfo.

func (RequestLocInfo) Get

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

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

func (RequestLocInfo) MarshalJSON

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

Override default JSON handling for RequestLocInfo to handle AdditionalProperties

func (*RequestLocInfo) Set

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

Setter for additional properties for RequestLocInfo

func (*RequestLocInfo) UnmarshalJSON

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

Override default JSON handling for RequestLocInfo to handle AdditionalProperties

type RequestPosInfo

type RequestPosInfo struct {
	AdditionalLcsSuppGADShapes []string                   `json:"additionalLcsSuppGADShapes,omitempty"`
	AfID                       *externalRef0.NfInstanceId `json:"afID,omitempty"`

	// AreaEventInfo Original reference TS29572_Nlmf_Location.yaml#/components/schemas/AreaEventInfo
	AreaEventInfo interface{} `json:"areaEventInfo,omitempty"`

	// CodeWord Original reference TS29515_Ngmlc_Location.yaml#/components/schemas/CodeWord
	CodeWord *string `json:"codeWord,omitempty"`

	// ExternalClientIdentification Original reference TS29515_Ngmlc_Location.yaml#/components/schemas/ExternalClientIdentification
	ExternalClientIdentification *string           `json:"externalClientIdentification,omitempty"`
	Gpsi                         externalRef0.Gpsi `json:"gpsi,omitempty"`
	HgmlcCallBackURI             *externalRef0.Uri `json:"hgmlcCallBackURI,omitempty"`

	// LcsClientType Original reference TS29572_Nlmf_Location.yaml#/components/schemas/ExternalClientType
	LcsClientType string       `json:"lcsClientType"`
	LcsLocation   LocationType `json:"lcsLocation"`

	// LcsQoS Original reference TS29572_Nlmf_Location.yaml#/components/schemas/LocationQoS
	LcsQoS interface{} `json:"lcsQoS,omitempty"`

	// LcsServiceType Original reference TS29572_Nlmf_Location.yaml#/components/schemas/LcsServiceType
	LcsServiceType interface{} `json:"lcsServiceType,omitempty"`

	// LcsSupportedGADShapes Original reference TS29572_Nlmf_Location.yaml#/components/schemas/SupportedGADShapes
	LcsSupportedGADShapes *string `json:"lcsSupportedGADShapes,omitempty"`

	// LdrReference Original reference TS29572_Nlmf_Location.yaml#/components/schemas/LdrReference
	LdrReference *string `json:"ldrReference,omitempty"`

	// LdrType Original reference TS29572_Nlmf_Location.yaml#/components/schemas/LdrType
	LdrType                 *string           `json:"ldrType,omitempty"`
	LocationNotificationUri *externalRef0.Uri `json:"locationNotificationUri,omitempty"`

	// MotionEventInfo Original reference TS29572_Nlmf_Location.yaml#/components/schemas/MotionEventInfo
	MotionEventInfo interface{}         `json:"motionEventInfo,omitempty"`
	OldGuami        *externalRef0.Guami `json:"oldGuami,omitempty"`
	Pei             externalRef0.Pei    `json:"pei,omitempty"`

	// PeriodicEventInfo Original reference TS29572_Nlmf_Location.yaml#/components/schemas/PeriodicEventInfo
	PeriodicEventInfo interface{} `json:"periodicEventInfo,omitempty"`

	// Priority Original reference TS29572_Nlmf_Location.yaml#/components/schemas/LcsPriority
	Priority          *string                         `json:"priority,omitempty"`
	Supi              externalRef0.Supi               `json:"supi,omitempty"`
	SupportedFeatures *externalRef0.SupportedFeatures `json:"supportedFeatures,omitempty"`

	// UePrivacyRequirements Original reference TS29515_Ngmlc_Location.yaml#/components/schemas/UePrivacyRequirements
	UePrivacyRequirements interface{} `json:"uePrivacyRequirements,omitempty"`

	// VelocityRequested Original reference TS29572_Nlmf_Location.yaml#/components/schemas/VelocityRequested
	VelocityRequested    *string                `json:"velocityRequested,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

RequestPosInfo defines model for RequestPosInfo.

func (RequestPosInfo) Get

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

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

func (RequestPosInfo) MarshalJSON

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

Override default JSON handling for RequestPosInfo to handle AdditionalProperties

func (*RequestPosInfo) Set

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

Setter for additional properties for RequestPosInfo

func (*RequestPosInfo) UnmarshalJSON

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

Override default JSON handling for RequestPosInfo to handle AdditionalProperties

type ServerInterface

type ServerInterface interface {
	// Namf_Location CancelLocation service operation
	// (POST /{ueContextId}/cancel-pos-info)
	CancelLocation(c *gin.Context, ueContextId string)
	// Namf_Location ProvideLocationInfo service Operation
	// (POST /{ueContextId}/provide-loc-info)
	ProvideLocationInfo(c *gin.Context, ueContextId string)
	// Namf_Location ProvidePositioningInfo service Operation
	// (POST /{ueContextId}/provide-pos-info)
	ProvidePositioningInfo(c *gin.Context, ueContextId 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) CancelLocation

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

CancelLocation operation middleware

func (*ServerInterfaceWrapper) ProvideLocationInfo

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

ProvideLocationInfo operation middleware

func (*ServerInterfaceWrapper) ProvidePositioningInfo

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

ProvidePositioningInfo operation middleware

type StrictHandlerFunc

type StrictHandlerFunc = strictgin.StrictGinHandlerFunc

type StrictMiddlewareFunc

type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc

type StrictServerInterface

type StrictServerInterface interface {
	// Namf_Location CancelLocation service operation
	// (POST /{ueContextId}/cancel-pos-info)
	CancelLocation(ctx context.Context, request CancelLocationRequestObject) (CancelLocationResponseObject, error)
	// Namf_Location ProvideLocationInfo service Operation
	// (POST /{ueContextId}/provide-loc-info)
	ProvideLocationInfo(ctx context.Context, request ProvideLocationInfoRequestObject) (ProvideLocationInfoResponseObject, error)
	// Namf_Location ProvidePositioningInfo service Operation
	// (POST /{ueContextId}/provide-pos-info)
	ProvidePositioningInfo(ctx context.Context, request ProvidePositioningInfoRequestObject) (ProvidePositioningInfoResponseObject, error)
}

StrictServerInterface represents all server handlers.

Jump to

Keyboard shortcuts

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