mt

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 mt 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 NewEnableUeReachabilityRequest

func NewEnableUeReachabilityRequest(server string, ueContextId string, body EnableUeReachabilityJSONRequestBody) (*http.Request, error)

NewEnableUeReachabilityRequest calls the generic EnableUeReachability builder with application/json body

func NewEnableUeReachabilityRequestWithBody

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

NewEnableUeReachabilityRequestWithBody generates requests for EnableUeReachability with any type of body

func NewProvideDomainSelectionInfoRequest

func NewProvideDomainSelectionInfoRequest(server string, ueContextId string, params *ProvideDomainSelectionInfoParams) (*http.Request, error)

NewProvideDomainSelectionInfoRequest generates requests for ProvideDomainSelectionInfo

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 AdditionInfoEnableUeReachability

type AdditionInfoEnableUeReachability struct {
	MaxWaitingTime       *externalRef1.DurationSec `json:"maxWaitingTime,omitempty"`
	AdditionalProperties map[string]interface{}    `json:"-"`
}

AdditionInfoEnableUeReachability defines model for AdditionInfoEnableUeReachability.

func (AdditionInfoEnableUeReachability) Get

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

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

func (AdditionInfoEnableUeReachability) MarshalJSON

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

Override default JSON handling for AdditionInfoEnableUeReachability to handle AdditionalProperties

func (*AdditionInfoEnableUeReachability) Set

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

Setter for additional properties for AdditionInfoEnableUeReachability

func (*AdditionInfoEnableUeReachability) UnmarshalJSON

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

Override default JSON handling for AdditionInfoEnableUeReachability 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) EnableUeReachability

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

func (*Client) EnableUeReachabilityWithBody

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

func (*Client) ProvideDomainSelectionInfo

func (c *Client) ProvideDomainSelectionInfo(ctx context.Context, ueContextId string, params *ProvideDomainSelectionInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// ProvideDomainSelectionInfo request
	ProvideDomainSelectionInfo(ctx context.Context, ueContextId string, params *ProvideDomainSelectionInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	EnableUeReachability(ctx context.Context, ueContextId string, body EnableUeReachabilityJSONRequestBody, 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) EnableUeReachabilityWithBodyWithResponse

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

EnableUeReachabilityWithBodyWithResponse request with arbitrary body returning *EnableUeReachabilityResponse

func (*ClientWithResponses) EnableUeReachabilityWithResponse

func (c *ClientWithResponses) EnableUeReachabilityWithResponse(ctx context.Context, ueContextId string, body EnableUeReachabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*EnableUeReachabilityResponse, error)

func (*ClientWithResponses) ProvideDomainSelectionInfoWithResponse

func (c *ClientWithResponses) ProvideDomainSelectionInfoWithResponse(ctx context.Context, ueContextId string, params *ProvideDomainSelectionInfoParams, reqEditors ...RequestEditorFn) (*ProvideDomainSelectionInfoResponse, error)

ProvideDomainSelectionInfoWithResponse request returning *ProvideDomainSelectionInfoResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ProvideDomainSelectionInfoWithResponse request
	ProvideDomainSelectionInfoWithResponse(ctx context.Context, ueContextId string, params *ProvideDomainSelectionInfoParams, reqEditors ...RequestEditorFn) (*ProvideDomainSelectionInfoResponse, error)

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

	EnableUeReachabilityWithResponse(ctx context.Context, ueContextId string, body EnableUeReachabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*EnableUeReachabilityResponse, error)
}

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

type EnableUeReachability200JSONResponse

type EnableUeReachability200JSONResponse EnableUeReachabilityRspData

func (EnableUeReachability200JSONResponse) VisitEnableUeReachabilityResponse

func (response EnableUeReachability200JSONResponse) VisitEnableUeReachabilityResponse(w http.ResponseWriter) error

type EnableUeReachability307JSONResponse

type EnableUeReachability307JSONResponse struct{ externalRef1.N307JSONResponse }

func (EnableUeReachability307JSONResponse) VisitEnableUeReachabilityResponse

func (response EnableUeReachability307JSONResponse) VisitEnableUeReachabilityResponse(w http.ResponseWriter) error

type EnableUeReachability308JSONResponse

type EnableUeReachability308JSONResponse struct{ externalRef1.N308JSONResponse }

func (EnableUeReachability308JSONResponse) VisitEnableUeReachabilityResponse

func (response EnableUeReachability308JSONResponse) VisitEnableUeReachabilityResponse(w http.ResponseWriter) error

type EnableUeReachability400ApplicationProblemPlusJSONResponse

type EnableUeReachability400ApplicationProblemPlusJSONResponse struct {
	externalRef1.N400ApplicationProblemPlusJSONResponse
}

func (EnableUeReachability400ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse

func (response EnableUeReachability400ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse(w http.ResponseWriter) error

type EnableUeReachability403ApplicationProblemPlusJSONResponse

type EnableUeReachability403ApplicationProblemPlusJSONResponse ProblemDetailsEnableUeReachability

func (EnableUeReachability403ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse

func (response EnableUeReachability403ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse(w http.ResponseWriter) error

type EnableUeReachability404ApplicationProblemPlusJSONResponse

type EnableUeReachability404ApplicationProblemPlusJSONResponse struct {
	externalRef1.N404ApplicationProblemPlusJSONResponse
}

func (EnableUeReachability404ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse

func (response EnableUeReachability404ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse(w http.ResponseWriter) error

type EnableUeReachability411ApplicationProblemPlusJSONResponse

type EnableUeReachability411ApplicationProblemPlusJSONResponse struct {
	externalRef1.N411ApplicationProblemPlusJSONResponse
}

func (EnableUeReachability411ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse

func (response EnableUeReachability411ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse(w http.ResponseWriter) error

type EnableUeReachability413ApplicationProblemPlusJSONResponse

type EnableUeReachability413ApplicationProblemPlusJSONResponse struct {
	externalRef1.N413ApplicationProblemPlusJSONResponse
}

func (EnableUeReachability413ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse

func (response EnableUeReachability413ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse(w http.ResponseWriter) error

type EnableUeReachability415ApplicationProblemPlusJSONResponse

type EnableUeReachability415ApplicationProblemPlusJSONResponse struct {
	externalRef1.N415ApplicationProblemPlusJSONResponse
}

func (EnableUeReachability415ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse

func (response EnableUeReachability415ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse(w http.ResponseWriter) error

type EnableUeReachability429ApplicationProblemPlusJSONResponse

type EnableUeReachability429ApplicationProblemPlusJSONResponse struct {
	externalRef1.N429ApplicationProblemPlusJSONResponse
}

func (EnableUeReachability429ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse

func (response EnableUeReachability429ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse(w http.ResponseWriter) error

type EnableUeReachability500ApplicationProblemPlusJSONResponse

type EnableUeReachability500ApplicationProblemPlusJSONResponse struct {
	externalRef1.N500ApplicationProblemPlusJSONResponse
}

func (EnableUeReachability500ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse

func (response EnableUeReachability500ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse(w http.ResponseWriter) error

type EnableUeReachability503ApplicationProblemPlusJSONResponse

type EnableUeReachability503ApplicationProblemPlusJSONResponse struct {
	externalRef1.N503ApplicationProblemPlusJSONResponse
}

func (EnableUeReachability503ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse

func (response EnableUeReachability503ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse(w http.ResponseWriter) error

type EnableUeReachability504ApplicationProblemPlusJSONResponse

type EnableUeReachability504ApplicationProblemPlusJSONResponse ProblemDetailsEnableUeReachability

func (EnableUeReachability504ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse

func (response EnableUeReachability504ApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse(w http.ResponseWriter) error

type EnableUeReachabilityJSONRequestBody

type EnableUeReachabilityJSONRequestBody = EnableUeReachabilityReqData

EnableUeReachabilityJSONRequestBody defines body for EnableUeReachability for application/json ContentType.

type EnableUeReachabilityReqData

type EnableUeReachabilityReqData struct {
	ExtBufSupport        *bool                           `json:"extBufSupport,omitempty"`
	OldGuami             *externalRef1.Guami             `json:"oldGuami,omitempty"`
	Reachability         externalRef0.UeReachability     `json:"reachability"`
	SupportedFeatures    *externalRef1.SupportedFeatures `json:"supportedFeatures,omitempty"`
	AdditionalProperties map[string]interface{}          `json:"-"`
}

EnableUeReachabilityReqData defines model for EnableUeReachabilityReqData.

func (EnableUeReachabilityReqData) Get

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

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

func (EnableUeReachabilityReqData) MarshalJSON

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

Override default JSON handling for EnableUeReachabilityReqData to handle AdditionalProperties

func (*EnableUeReachabilityReqData) Set

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

Setter for additional properties for EnableUeReachabilityReqData

func (*EnableUeReachabilityReqData) UnmarshalJSON

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

Override default JSON handling for EnableUeReachabilityReqData to handle AdditionalProperties

type EnableUeReachabilityRequestObject

type EnableUeReachabilityRequestObject struct {
	UeContextId string `json:"ueContextId"`
	Body        *EnableUeReachabilityJSONRequestBody
}

type EnableUeReachabilityResponse

type EnableUeReachabilityResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *EnableUeReachabilityRspData
	JSON307                       *externalRef1.N307
	JSON308                       *externalRef1.N308
	ApplicationproblemJSON400     *externalRef1.N400
	ApplicationproblemJSON403     *ProblemDetailsEnableUeReachability
	ApplicationproblemJSON404     *externalRef1.N404
	ApplicationproblemJSON411     *externalRef1.N411
	ApplicationproblemJSON413     *externalRef1.N413
	ApplicationproblemJSON415     *externalRef1.N415
	ApplicationproblemJSON429     *externalRef1.N429
	ApplicationproblemJSON500     *externalRef1.N500
	ApplicationproblemJSON503     *externalRef1.N503
	ApplicationproblemJSON504     *ProblemDetailsEnableUeReachability
	ApplicationproblemJSONDefault *externalRef1.ProblemDetails
}

func ParseEnableUeReachabilityResponse

func ParseEnableUeReachabilityResponse(rsp *http.Response) (*EnableUeReachabilityResponse, error)

ParseEnableUeReachabilityResponse parses an HTTP response from a EnableUeReachabilityWithResponse call

func (EnableUeReachabilityResponse) Status

Status returns HTTPResponse.Status

func (EnableUeReachabilityResponse) StatusCode

func (r EnableUeReachabilityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EnableUeReachabilityResponseObject

type EnableUeReachabilityResponseObject interface {
	VisitEnableUeReachabilityResponse(w http.ResponseWriter) error
}

type EnableUeReachabilityRspData

type EnableUeReachabilityRspData struct {
	Reachability         externalRef0.UeReachability     `json:"reachability"`
	SupportedFeatures    *externalRef1.SupportedFeatures `json:"supportedFeatures,omitempty"`
	AdditionalProperties map[string]interface{}          `json:"-"`
}

EnableUeReachabilityRspData defines model for EnableUeReachabilityRspData.

func (EnableUeReachabilityRspData) Get

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

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

func (EnableUeReachabilityRspData) MarshalJSON

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

Override default JSON handling for EnableUeReachabilityRspData to handle AdditionalProperties

func (*EnableUeReachabilityRspData) Set

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

Setter for additional properties for EnableUeReachabilityRspData

func (*EnableUeReachabilityRspData) UnmarshalJSON

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

Override default JSON handling for EnableUeReachabilityRspData to handle AdditionalProperties

type EnableUeReachabilitydefaultApplicationProblemPlusJSONResponse

type EnableUeReachabilitydefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef1.ProblemDetails
	StatusCode int
}

func (EnableUeReachabilitydefaultApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse

func (response EnableUeReachabilitydefaultApplicationProblemPlusJSONResponse) VisitEnableUeReachabilityResponse(w http.ResponseWriter) error

type GinServerOptions

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

GinServerOptions provides options for the Gin server.

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type MiddlewareFunc

type MiddlewareFunc func(c *gin.Context)

type ProblemDetailsEnableUeReachability

type ProblemDetailsEnableUeReachability struct {
	// AccessTokenError Error returned in the access token response message (Original reference TS29510_Nnrf_AccessToken.yaml#/components/schemas/AccessTokenErr)
	AccessTokenError interface{} `json:"accessTokenError,omitempty"`

	// AccessTokenRequest Contains information related to the access token request (Original reference TS29510_Nnrf_AccessToken.yaml#/components/schemas/AccessTokenReq)
	AccessTokenRequest   interface{}                     `json:"accessTokenRequest,omitempty"`
	Cause                *string                         `json:"cause,omitempty"`
	Detail               *string                         `json:"detail,omitempty"`
	Instance             *externalRef1.Uri               `json:"instance,omitempty"`
	InvalidParams        []externalRef1.InvalidParam     `json:"invalidParams,omitempty"`
	MaxWaitingTime       *externalRef1.DurationSec       `json:"maxWaitingTime,omitempty"`
	NrfId                *string                         `json:"nrfId,omitempty"`
	Status               int                             `json:"status,omitempty"`
	SupportedFeatures    *externalRef1.SupportedFeatures `json:"supportedFeatures,omitempty"`
	Title                *string                         `json:"title,omitempty"`
	Type                 *externalRef1.Uri               `json:"type,omitempty"`
	AdditionalProperties map[string]interface{}          `json:"-"`
}

ProblemDetailsEnableUeReachability defines model for ProblemDetailsEnableUeReachability.

func (ProblemDetailsEnableUeReachability) Get

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

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

func (ProblemDetailsEnableUeReachability) MarshalJSON

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

Override default JSON handling for ProblemDetailsEnableUeReachability to handle AdditionalProperties

func (*ProblemDetailsEnableUeReachability) Set

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

Setter for additional properties for ProblemDetailsEnableUeReachability

func (*ProblemDetailsEnableUeReachability) UnmarshalJSON

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

Override default JSON handling for ProblemDetailsEnableUeReachability to handle AdditionalProperties

type ProvideDomainSelectionInfo200JSONResponse

type ProvideDomainSelectionInfo200JSONResponse UeContextInfo

func (ProvideDomainSelectionInfo200JSONResponse) VisitProvideDomainSelectionInfoResponse

func (response ProvideDomainSelectionInfo200JSONResponse) VisitProvideDomainSelectionInfoResponse(w http.ResponseWriter) error

type ProvideDomainSelectionInfo307JSONResponse

type ProvideDomainSelectionInfo307JSONResponse struct{ externalRef1.N307JSONResponse }

func (ProvideDomainSelectionInfo307JSONResponse) VisitProvideDomainSelectionInfoResponse

func (response ProvideDomainSelectionInfo307JSONResponse) VisitProvideDomainSelectionInfoResponse(w http.ResponseWriter) error

type ProvideDomainSelectionInfo308JSONResponse

type ProvideDomainSelectionInfo308JSONResponse struct{ externalRef1.N308JSONResponse }

func (ProvideDomainSelectionInfo308JSONResponse) VisitProvideDomainSelectionInfoResponse

func (response ProvideDomainSelectionInfo308JSONResponse) VisitProvideDomainSelectionInfoResponse(w http.ResponseWriter) error

type ProvideDomainSelectionInfo400ApplicationProblemPlusJSONResponse

type ProvideDomainSelectionInfo400ApplicationProblemPlusJSONResponse struct {
	externalRef1.N400ApplicationProblemPlusJSONResponse
}

func (ProvideDomainSelectionInfo400ApplicationProblemPlusJSONResponse) VisitProvideDomainSelectionInfoResponse

func (response ProvideDomainSelectionInfo400ApplicationProblemPlusJSONResponse) VisitProvideDomainSelectionInfoResponse(w http.ResponseWriter) error

type ProvideDomainSelectionInfo403ApplicationProblemPlusJSONResponse

type ProvideDomainSelectionInfo403ApplicationProblemPlusJSONResponse struct {
	externalRef1.N403ApplicationProblemPlusJSONResponse
}

func (ProvideDomainSelectionInfo403ApplicationProblemPlusJSONResponse) VisitProvideDomainSelectionInfoResponse

func (response ProvideDomainSelectionInfo403ApplicationProblemPlusJSONResponse) VisitProvideDomainSelectionInfoResponse(w http.ResponseWriter) error

type ProvideDomainSelectionInfo404ApplicationProblemPlusJSONResponse

type ProvideDomainSelectionInfo404ApplicationProblemPlusJSONResponse struct {
	externalRef1.N404ApplicationProblemPlusJSONResponse
}

func (ProvideDomainSelectionInfo404ApplicationProblemPlusJSONResponse) VisitProvideDomainSelectionInfoResponse

func (response ProvideDomainSelectionInfo404ApplicationProblemPlusJSONResponse) VisitProvideDomainSelectionInfoResponse(w http.ResponseWriter) error

type ProvideDomainSelectionInfo414ApplicationProblemPlusJSONResponse

type ProvideDomainSelectionInfo414ApplicationProblemPlusJSONResponse struct {
	externalRef1.N414ApplicationProblemPlusJSONResponse
}

func (ProvideDomainSelectionInfo414ApplicationProblemPlusJSONResponse) VisitProvideDomainSelectionInfoResponse

func (response ProvideDomainSelectionInfo414ApplicationProblemPlusJSONResponse) VisitProvideDomainSelectionInfoResponse(w http.ResponseWriter) error

type ProvideDomainSelectionInfo429ApplicationProblemPlusJSONResponse

type ProvideDomainSelectionInfo429ApplicationProblemPlusJSONResponse struct {
	externalRef1.N429ApplicationProblemPlusJSONResponse
}

func (ProvideDomainSelectionInfo429ApplicationProblemPlusJSONResponse) VisitProvideDomainSelectionInfoResponse

func (response ProvideDomainSelectionInfo429ApplicationProblemPlusJSONResponse) VisitProvideDomainSelectionInfoResponse(w http.ResponseWriter) error

type ProvideDomainSelectionInfo500ApplicationProblemPlusJSONResponse

type ProvideDomainSelectionInfo500ApplicationProblemPlusJSONResponse struct {
	externalRef1.N500ApplicationProblemPlusJSONResponse
}

func (ProvideDomainSelectionInfo500ApplicationProblemPlusJSONResponse) VisitProvideDomainSelectionInfoResponse

func (response ProvideDomainSelectionInfo500ApplicationProblemPlusJSONResponse) VisitProvideDomainSelectionInfoResponse(w http.ResponseWriter) error

type ProvideDomainSelectionInfo503ApplicationProblemPlusJSONResponse

type ProvideDomainSelectionInfo503ApplicationProblemPlusJSONResponse struct {
	externalRef1.N503ApplicationProblemPlusJSONResponse
}

func (ProvideDomainSelectionInfo503ApplicationProblemPlusJSONResponse) VisitProvideDomainSelectionInfoResponse

func (response ProvideDomainSelectionInfo503ApplicationProblemPlusJSONResponse) VisitProvideDomainSelectionInfoResponse(w http.ResponseWriter) error

type ProvideDomainSelectionInfoParams

type ProvideDomainSelectionInfoParams struct {
	// InfoClass UE Context Information Class
	InfoClass *UeContextInfoClass `form:"info-class,omitempty" json:"info-class,omitempty"`

	// SupportedFeatures Supported Features
	SupportedFeatures *externalRef1.SupportedFeatures `form:"supported-features,omitempty" json:"supported-features,omitempty"`

	// OldGuami Old GUAMI
	OldGuami *externalRef1.Guami `form:"old-guami,omitempty" json:"old-guami,omitempty"`
}

ProvideDomainSelectionInfoParams defines parameters for ProvideDomainSelectionInfo.

type ProvideDomainSelectionInfoRequestObject

type ProvideDomainSelectionInfoRequestObject struct {
	UeContextId string `json:"ueContextId"`
	Params      ProvideDomainSelectionInfoParams
}

type ProvideDomainSelectionInfoResponse

type ProvideDomainSelectionInfoResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *UeContextInfo
	JSON307                       *externalRef1.N307
	JSON308                       *externalRef1.N308
	ApplicationproblemJSON400     *externalRef1.N400
	ApplicationproblemJSON403     *externalRef1.N403
	ApplicationproblemJSON404     *externalRef1.N404
	ApplicationproblemJSON414     *externalRef1.N414
	ApplicationproblemJSON429     *externalRef1.N429
	ApplicationproblemJSON500     *externalRef1.N500
	ApplicationproblemJSON503     *externalRef1.N503
	ApplicationproblemJSONDefault *externalRef1.ProblemDetails
}

func ParseProvideDomainSelectionInfoResponse

func ParseProvideDomainSelectionInfoResponse(rsp *http.Response) (*ProvideDomainSelectionInfoResponse, error)

ParseProvideDomainSelectionInfoResponse parses an HTTP response from a ProvideDomainSelectionInfoWithResponse call

func (ProvideDomainSelectionInfoResponse) Status

Status returns HTTPResponse.Status

func (ProvideDomainSelectionInfoResponse) StatusCode

func (r ProvideDomainSelectionInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProvideDomainSelectionInfoResponseObject

type ProvideDomainSelectionInfoResponseObject interface {
	VisitProvideDomainSelectionInfoResponse(w http.ResponseWriter) error
}

type ProvideDomainSelectionInfodefaultApplicationProblemPlusJSONResponse

type ProvideDomainSelectionInfodefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef1.ProblemDetails
	StatusCode int
}

func (ProvideDomainSelectionInfodefaultApplicationProblemPlusJSONResponse) VisitProvideDomainSelectionInfoResponse

func (response ProvideDomainSelectionInfodefaultApplicationProblemPlusJSONResponse) VisitProvideDomainSelectionInfoResponse(w http.ResponseWriter) error

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type ServerInterface

type ServerInterface interface {
	// Namf_MT Provide Domain Selection Info service Operation
	// (GET /ue-contexts/{ueContextId})
	ProvideDomainSelectionInfo(c *gin.Context, ueContextId string, params ProvideDomainSelectionInfoParams)
	// Namf_MT EnableUEReachability service Operation
	// (PUT /ue-contexts/{ueContextId}/ue-reachind)
	EnableUeReachability(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) EnableUeReachability

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

EnableUeReachability operation middleware

func (*ServerInterfaceWrapper) ProvideDomainSelectionInfo

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

ProvideDomainSelectionInfo operation middleware

type StrictHandlerFunc

type StrictHandlerFunc = strictgin.StrictGinHandlerFunc

type StrictMiddlewareFunc

type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc

type StrictServerInterface

type StrictServerInterface interface {
	// Namf_MT Provide Domain Selection Info service Operation
	// (GET /ue-contexts/{ueContextId})
	ProvideDomainSelectionInfo(ctx context.Context, request ProvideDomainSelectionInfoRequestObject) (ProvideDomainSelectionInfoResponseObject, error)
	// Namf_MT EnableUEReachability service Operation
	// (PUT /ue-contexts/{ueContextId}/ue-reachind)
	EnableUeReachability(ctx context.Context, request EnableUeReachabilityRequestObject) (EnableUeReachabilityResponseObject, error)
}

StrictServerInterface represents all server handlers.

type UeContextInfo

type UeContextInfo struct {
	AccessType           externalRef1.AccessType         `json:"accessType,omitempty"`
	LastActTime          *externalRef1.DateTime          `json:"lastActTime,omitempty"`
	RatType              *externalRef1.RatType           `json:"ratType,omitempty"`
	SupportVoPS          *bool                           `json:"supportVoPS,omitempty"`
	SupportVoPSn3gpp     *bool                           `json:"supportVoPSn3gpp,omitempty"`
	SupportedFeatures    *externalRef1.SupportedFeatures `json:"supportedFeatures,omitempty"`
	AdditionalProperties map[string]interface{}          `json:"-"`
}

UeContextInfo defines model for UeContextInfo.

func (UeContextInfo) Get

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

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

func (UeContextInfo) MarshalJSON

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

Override default JSON handling for UeContextInfo to handle AdditionalProperties

func (*UeContextInfo) Set

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

Setter for additional properties for UeContextInfo

func (*UeContextInfo) UnmarshalJSON

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

Override default JSON handling for UeContextInfo to handle AdditionalProperties

type UeContextInfoClass

type UeContextInfoClass string

UeContextInfoClass defines model for UeContextInfoClass.

const (
	TADS UeContextInfoClass = "TADS"
)

Defines values for UeContextInfoClass.

Jump to

Keyboard shortcuts

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