discovery

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 discovery 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 NewRetrieveCompleteSearchRequest

func NewRetrieveCompleteSearchRequest(server string, searchId SearchId, params *RetrieveCompleteSearchParams) (*http.Request, error)

NewRetrieveCompleteSearchRequest generates requests for RetrieveCompleteSearch

func NewRetrieveStoredSearchRequest

func NewRetrieveStoredSearchRequest(server string, searchId SearchId, params *RetrieveStoredSearchParams) (*http.Request, error)

NewRetrieveStoredSearchRequest generates requests for RetrieveStoredSearch

func NewSearchNFInstancesRequest

func NewSearchNFInstancesRequest(server string, params *SearchNFInstancesParams) (*http.Request, error)

NewSearchNFInstancesRequest generates requests for SearchNFInstances

func RegisterHandlers

func RegisterHandlers(router gin.IRouter, si ServerInterface)

RegisterHandlers creates http.Handler with routing matching OpenAPI spec.

func RegisterHandlersWithOptions

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

RegisterHandlersWithOptions creates http.Handler with additional options

Types

type Client

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

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

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

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

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

Creates a new Client, with reasonable defaults

func (*Client) RetrieveCompleteSearch

func (c *Client) RetrieveCompleteSearch(ctx context.Context, searchId SearchId, params *RetrieveCompleteSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RetrieveStoredSearch

func (c *Client) RetrieveStoredSearch(ctx context.Context, searchId SearchId, params *RetrieveStoredSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SearchNFInstances

func (c *Client) SearchNFInstances(ctx context.Context, params *SearchNFInstancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// SearchNFInstances request
	SearchNFInstances(ctx context.Context, params *SearchNFInstancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RetrieveStoredSearch request
	RetrieveStoredSearch(ctx context.Context, searchId SearchId, params *RetrieveStoredSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RetrieveCompleteSearch request
	RetrieveCompleteSearch(ctx context.Context, searchId SearchId, params *RetrieveCompleteSearchParams, 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) RetrieveCompleteSearchWithResponse

func (c *ClientWithResponses) RetrieveCompleteSearchWithResponse(ctx context.Context, searchId SearchId, params *RetrieveCompleteSearchParams, reqEditors ...RequestEditorFn) (*RetrieveCompleteSearchResponse, error)

RetrieveCompleteSearchWithResponse request returning *RetrieveCompleteSearchResponse

func (*ClientWithResponses) RetrieveStoredSearchWithResponse

func (c *ClientWithResponses) RetrieveStoredSearchWithResponse(ctx context.Context, searchId SearchId, params *RetrieveStoredSearchParams, reqEditors ...RequestEditorFn) (*RetrieveStoredSearchResponse, error)

RetrieveStoredSearchWithResponse request returning *RetrieveStoredSearchResponse

func (*ClientWithResponses) SearchNFInstancesWithResponse

func (c *ClientWithResponses) SearchNFInstancesWithResponse(ctx context.Context, params *SearchNFInstancesParams, reqEditors ...RequestEditorFn) (*SearchNFInstancesResponse, error)

SearchNFInstancesWithResponse request returning *SearchNFInstancesResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// SearchNFInstancesWithResponse request
	SearchNFInstancesWithResponse(ctx context.Context, params *SearchNFInstancesParams, reqEditors ...RequestEditorFn) (*SearchNFInstancesResponse, error)

	// RetrieveStoredSearchWithResponse request
	RetrieveStoredSearchWithResponse(ctx context.Context, searchId SearchId, params *RetrieveStoredSearchParams, reqEditors ...RequestEditorFn) (*RetrieveStoredSearchResponse, error)

	// RetrieveCompleteSearchWithResponse request
	RetrieveCompleteSearchWithResponse(ctx context.Context, searchId SearchId, params *RetrieveCompleteSearchParams, reqEditors ...RequestEditorFn) (*RetrieveCompleteSearchResponse, 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 MiddlewareFunc

type MiddlewareFunc func(c *gin.Context)

type N200

type N200 = StoredSearchResult

N200 Contains a complete search result (i.e. a number of discovered NF Instances), stored by NRF as a consequence of a prior search result

type N200JSONResponse

type N200JSONResponse struct {
	Body StoredSearchResult

	Headers N200ResponseHeaders
}

type N200ResponseHeaders

type N200ResponseHeaders struct {
	CacheControl    *string
	ContentEncoding *string
	ETag            *string
}

type NFProfile

type NFProfile struct {
	// AmfInfo Information of an AMF NF Instance
	AmfInfo     *externalRef2.AmfInfo            `json:"amfInfo,omitempty"`
	AmfInfoList *map[string]externalRef2.AmfInfo `json:"amfInfoList,omitempty"`

	// AusfInfo Information of an AUSF NF Instance
	AusfInfo     *externalRef2.AusfInfo            `json:"ausfInfo,omitempty"`
	AusfInfoList *map[string]externalRef2.AusfInfo `json:"ausfInfoList,omitempty"`

	// BsfInfo Information of a BSF NF Instance
	BsfInfo     *externalRef2.BsfInfo            `json:"bsfInfo,omitempty"`
	BsfInfoList *map[string]externalRef2.BsfInfo `json:"bsfInfoList,omitempty"`
	Capacity    *int                             `json:"capacity,omitempty"`

	// ChfInfo Information of a CHF NF Instance
	ChfInfo                          *externalRef2.ChfInfo                           `json:"chfInfo,omitempty"`
	ChfInfoList                      *map[string]externalRef2.ChfInfo                `json:"chfInfoList,omitempty"`
	CustomInfo                       *map[string]interface{}                         `json:"customInfo,omitempty"`
	DefaultNotificationSubscriptions *[]externalRef2.DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty"`

	// Fqdn Fully Qualified Domain Name
	Fqdn *externalRef2.Fqdn `json:"fqdn,omitempty"`

	// GmlcInfo Information of a GMLC NF Instance
	GmlcInfo      *externalRef2.GmlcInfo           `json:"gmlcInfo,omitempty"`
	HssInfoList   *map[string]externalRef2.HssInfo `json:"hssInfoList,omitempty"`
	Ipv4Addresses []externalRef1.Ipv4Addr          `json:"ipv4Addresses,omitempty"`
	Ipv6Addresses []externalRef1.Ipv6Addr          `json:"ipv6Addresses,omitempty"`
	LcHSupportInd *bool                            `json:"lcHSupportInd,omitempty"`

	// LmfInfo Information of an LMF NF Instance
	LmfInfo       *externalRef2.LmfInfo  `json:"lmfInfo,omitempty"`
	Load          *int                   `json:"load,omitempty"`
	LoadTimeStamp *externalRef1.DateTime `json:"loadTimeStamp,omitempty"`
	Locality      *string                `json:"locality,omitempty"`

	// NefInfo Information of an NEF NF Instance
	NefInfo              *externalRef2.NefInfo     `json:"nefInfo,omitempty"`
	NfInstanceId         externalRef1.NfInstanceId `json:"nfInstanceId"`
	NfInstanceName       *string                   `json:"nfInstanceName,omitempty"`
	NfServiceList        *map[string]NFService     `json:"nfServiceList,omitempty"`
	NfServicePersistence *bool                     `json:"nfServicePersistence,omitempty"`
	// Deprecated:
	NfServices            []NFService                       `json:"nfServices,omitempty"`
	NfSetIdList           []externalRef1.NfSetId            `json:"nfSetIdList,omitempty"`
	NfSetRecoveryTimeList *map[string]externalRef1.DateTime `json:"nfSetRecoveryTimeList,omitempty"`

	// NfStatus Status of a given NF Instance stored in NRF
	NfStatus externalRef2.NFStatus `json:"nfStatus"`

	// NfType NF types known to NRF
	NfType  externalRef2.NFType `json:"nfType"`
	NsiList []string            `json:"nsiList,omitempty"`

	// NwdafInfo Information of a NWDAF NF Instance
	NwdafInfo      *externalRef2.NwdafInfo `json:"nwdafInfo,omitempty"`
	OlcHSupportInd *bool                   `json:"olcHSupportInd,omitempty"`

	// PcfInfo Information of a PCF NF Instance
	PcfInfo           *externalRef2.PcfInfo              `json:"pcfInfo,omitempty"`
	PcfInfoList       *map[string]externalRef2.PcfInfo   `json:"pcfInfoList,omitempty"`
	PcscfInfoList     *map[string]externalRef2.PcscfInfo `json:"pcscfInfoList,omitempty"`
	PerPlmnSnssaiList []externalRef2.PlmnSnssai          `json:"perPlmnSnssaiList,omitempty"`
	PlmnList          []externalRef1.PlmnId              `json:"plmnList,omitempty"`
	Priority          *int                               `json:"priority,omitempty"`
	RecoveryTime      *externalRef1.DateTime             `json:"recoveryTime,omitempty"`
	SNssais           []externalRef1.ExtSnssai           `json:"sNssais,omitempty"`
	ScpDomains        []string                           `json:"scpDomains,omitempty"`

	// ScpInfo Information of an SCP Instance
	ScpInfo                    *externalRef2.ScpInfo             `json:"scpInfo,omitempty"`
	ServiceSetRecoveryTimeList *map[string]externalRef1.DateTime `json:"serviceSetRecoveryTimeList,omitempty"`
	ServingScope               []string                          `json:"servingScope,omitempty"`

	// SmfInfo Information of an SMF NF Instance
	SmfInfo     *externalRef2.SmfInfo            `json:"smfInfo,omitempty"`
	SmfInfoList *map[string]externalRef2.SmfInfo `json:"smfInfoList,omitempty"`
	SnpnList    []externalRef1.PlmnIdNid         `json:"snpnList,omitempty"`

	// UdmInfo Information of an UDM NF Instance
	UdmInfo     *externalRef2.UdmInfo            `json:"udmInfo,omitempty"`
	UdmInfoList *map[string]externalRef2.UdmInfo `json:"udmInfoList,omitempty"`

	// UdrInfo Information of an UDR NF Instance
	UdrInfo     *externalRef2.UdrInfo            `json:"udrInfo,omitempty"`
	UdrInfoList *map[string]externalRef2.UdrInfo `json:"udrInfoList,omitempty"`

	// UdsfInfo Information related to UDSF
	UdsfInfo     *externalRef2.UdsfInfo            `json:"udsfInfo,omitempty"`
	UdsfInfoList *map[string]externalRef2.UdsfInfo `json:"udsfInfoList,omitempty"`

	// UpfInfo Information of an UPF NF Instance
	UpfInfo              *externalRef2.UpfInfo            `json:"upfInfo,omitempty"`
	UpfInfoList          *map[string]externalRef2.UpfInfo `json:"upfInfoList,omitempty"`
	AdditionalProperties map[string]interface{}           `json:"-"`
}

NFProfile Information of an NF Instance discovered by the NRF

func (NFProfile) Get

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

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

func (NFProfile) MarshalJSON

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

Override default JSON handling for NFProfile to handle AdditionalProperties

func (*NFProfile) Set

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

Setter for additional properties for NFProfile

func (*NFProfile) UnmarshalJSON

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

Override default JSON handling for NFProfile to handle AdditionalProperties

type NFService

type NFService struct {
	AllowedOperationsPerNfInstance   *map[string][]string                           `json:"allowedOperationsPerNfInstance,omitempty"`
	AllowedOperationsPerNfType       *map[string][]string                           `json:"allowedOperationsPerNfType,omitempty"`
	ApiPrefix                        *string                                        `json:"apiPrefix,omitempty"`
	Capacity                         *int                                           `json:"capacity,omitempty"`
	DefaultNotificationSubscriptions []externalRef2.DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty"`

	// Fqdn Fully Qualified Domain Name
	Fqdn               *externalRef2.Fqdn            `json:"fqdn,omitempty"`
	IpEndPoints        []externalRef2.IpEndPoint     `json:"ipEndPoints,omitempty"`
	Load               *int                          `json:"load,omitempty"`
	LoadTimeStamp      *externalRef1.DateTime        `json:"loadTimeStamp,omitempty"`
	NfServiceSetIdList []externalRef1.NfServiceSetId `json:"nfServiceSetIdList,omitempty"`

	// NfServiceStatus Status of a given NF Service Instance of an NF Instance stored in NRF
	NfServiceStatus   externalRef2.NFServiceStatus `json:"nfServiceStatus"`
	Oauth2Required    *bool                        `json:"oauth2Required,omitempty"`
	PerPlmnSnssaiList []externalRef2.PlmnSnssai    `json:"perPlmnSnssaiList,omitempty"`
	Priority          *int                         `json:"priority,omitempty"`
	RecoveryTime      *externalRef1.DateTime       `json:"recoveryTime,omitempty"`
	SNssais           []externalRef1.ExtSnssai     `json:"sNssais,omitempty"`
	Scheme            externalRef1.UriScheme       `json:"scheme"`
	ServiceInstanceId string                       `json:"serviceInstanceId"`

	// ServiceName Service names known to NRF
	ServiceName                     externalRef2.ServiceName                         `json:"serviceName"`
	SupportedFeatures               *externalRef1.SupportedFeatures                  `json:"supportedFeatures,omitempty"`
	SupportedVendorSpecificFeatures *map[string][]externalRef2.VendorSpecificFeature `json:"supportedVendorSpecificFeatures,omitempty"`

	// VendorId Vendor ID of the NF Service instance (Private Enterprise Number assigned by IANA)
	VendorId             externalRef2.VendorId           `json:"vendorId,omitempty"`
	Versions             []externalRef2.NFServiceVersion `json:"versions"`
	AdditionalProperties map[string]interface{}          `json:"-"`
}

NFService Information of a given NF Service Instance; it is part of the NFProfile of an NF Instance discovered by the NRF

func (NFService) Get

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

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

func (NFService) MarshalJSON

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

Override default JSON handling for NFService to handle AdditionalProperties

func (*NFService) Set

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

Setter for additional properties for NFService

func (*NFService) UnmarshalJSON

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

Override default JSON handling for NFService to handle AdditionalProperties

type PreferredSearch

type PreferredSearch struct {
	OtherApiVersionsInd          *bool                  `json:"otherApiVersionsInd,omitempty"`
	OtherLocalityInd             *bool                  `json:"otherLocalityInd,omitempty"`
	PreferredApiVersionsMatchInd *bool                  `json:"preferredApiVersionsMatchInd,omitempty"`
	PreferredFullPlmnMatchInd    *bool                  `json:"preferredFullPlmnMatchInd,omitempty"`
	PreferredLocalityMatchInd    *bool                  `json:"preferredLocalityMatchInd,omitempty"`
	PreferredTaiMatchInd         *bool                  `json:"preferredTaiMatchInd,omitempty"`
	AdditionalProperties         map[string]interface{} `json:"-"`
}

PreferredSearch Contains information on whether the returned NFProfiles match the preferred query parameters

func (PreferredSearch) Get

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

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

func (PreferredSearch) MarshalJSON

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

Override default JSON handling for PreferredSearch to handle AdditionalProperties

func (*PreferredSearch) Set

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

Setter for additional properties for PreferredSearch

func (*PreferredSearch) UnmarshalJSON

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

Override default JSON handling for PreferredSearch to handle AdditionalProperties

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type RetrieveCompleteSearch200JSONResponse

type RetrieveCompleteSearch200JSONResponse struct{ N200JSONResponse }

func (RetrieveCompleteSearch200JSONResponse) VisitRetrieveCompleteSearchResponse

func (response RetrieveCompleteSearch200JSONResponse) VisitRetrieveCompleteSearchResponse(w http.ResponseWriter) error

type RetrieveCompleteSearch307JSONResponse

type RetrieveCompleteSearch307JSONResponse struct {
	Body    externalRef1.RedirectResponse
	Headers RetrieveCompleteSearch307ResponseHeaders
}

func (RetrieveCompleteSearch307JSONResponse) VisitRetrieveCompleteSearchResponse

func (response RetrieveCompleteSearch307JSONResponse) VisitRetrieveCompleteSearchResponse(w http.ResponseWriter) error

type RetrieveCompleteSearch307ResponseHeaders

type RetrieveCompleteSearch307ResponseHeaders struct {
	Location string
}

type RetrieveCompleteSearch308JSONResponse

type RetrieveCompleteSearch308JSONResponse struct {
	Body    externalRef1.RedirectResponse
	Headers RetrieveCompleteSearch308ResponseHeaders
}

func (RetrieveCompleteSearch308JSONResponse) VisitRetrieveCompleteSearchResponse

func (response RetrieveCompleteSearch308JSONResponse) VisitRetrieveCompleteSearchResponse(w http.ResponseWriter) error

type RetrieveCompleteSearch308ResponseHeaders

type RetrieveCompleteSearch308ResponseHeaders struct {
	Location string
}

type RetrieveCompleteSearchParams

type RetrieveCompleteSearchParams struct {
	// AcceptEncoding Accept-Encoding, described in IETF RFC 7231
	AcceptEncoding *string `json:"Accept-Encoding,omitempty"`
}

RetrieveCompleteSearchParams defines parameters for RetrieveCompleteSearch.

type RetrieveCompleteSearchRequestObject

type RetrieveCompleteSearchRequestObject struct {
	SearchId SearchId `json:"searchId"`
	Params   RetrieveCompleteSearchParams
}

type RetrieveCompleteSearchResponse

type RetrieveCompleteSearchResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *N200
	JSON307                       *externalRef1.RedirectResponse
	JSON308                       *externalRef1.RedirectResponse
	ApplicationproblemJSONDefault *externalRef1.ProblemDetails
}

func ParseRetrieveCompleteSearchResponse

func ParseRetrieveCompleteSearchResponse(rsp *http.Response) (*RetrieveCompleteSearchResponse, error)

ParseRetrieveCompleteSearchResponse parses an HTTP response from a RetrieveCompleteSearchWithResponse call

func (RetrieveCompleteSearchResponse) Status

Status returns HTTPResponse.Status

func (RetrieveCompleteSearchResponse) StatusCode

func (r RetrieveCompleteSearchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RetrieveCompleteSearchResponseObject

type RetrieveCompleteSearchResponseObject interface {
	VisitRetrieveCompleteSearchResponse(w http.ResponseWriter) error
}

type RetrieveCompleteSearchdefaultApplicationProblemPlusJSONResponse

type RetrieveCompleteSearchdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef1.ProblemDetails
	StatusCode int
}

func (RetrieveCompleteSearchdefaultApplicationProblemPlusJSONResponse) VisitRetrieveCompleteSearchResponse

func (response RetrieveCompleteSearchdefaultApplicationProblemPlusJSONResponse) VisitRetrieveCompleteSearchResponse(w http.ResponseWriter) error

type RetrieveStoredSearch200JSONResponse

type RetrieveStoredSearch200JSONResponse struct{ N200JSONResponse }

func (RetrieveStoredSearch200JSONResponse) VisitRetrieveStoredSearchResponse

func (response RetrieveStoredSearch200JSONResponse) VisitRetrieveStoredSearchResponse(w http.ResponseWriter) error

type RetrieveStoredSearch307JSONResponse

type RetrieveStoredSearch307JSONResponse struct {
	Body    externalRef1.RedirectResponse
	Headers RetrieveStoredSearch307ResponseHeaders
}

func (RetrieveStoredSearch307JSONResponse) VisitRetrieveStoredSearchResponse

func (response RetrieveStoredSearch307JSONResponse) VisitRetrieveStoredSearchResponse(w http.ResponseWriter) error

type RetrieveStoredSearch307ResponseHeaders

type RetrieveStoredSearch307ResponseHeaders struct {
	Location string
}

type RetrieveStoredSearch308JSONResponse

type RetrieveStoredSearch308JSONResponse struct {
	Body    externalRef1.RedirectResponse
	Headers RetrieveStoredSearch308ResponseHeaders
}

func (RetrieveStoredSearch308JSONResponse) VisitRetrieveStoredSearchResponse

func (response RetrieveStoredSearch308JSONResponse) VisitRetrieveStoredSearchResponse(w http.ResponseWriter) error

type RetrieveStoredSearch308ResponseHeaders

type RetrieveStoredSearch308ResponseHeaders struct {
	Location string
}

type RetrieveStoredSearchParams

type RetrieveStoredSearchParams struct {
	// AcceptEncoding Accept-Encoding, described in IETF RFC 7231
	AcceptEncoding *string `json:"Accept-Encoding,omitempty"`
}

RetrieveStoredSearchParams defines parameters for RetrieveStoredSearch.

type RetrieveStoredSearchRequestObject

type RetrieveStoredSearchRequestObject struct {
	SearchId SearchId `json:"searchId"`
	Params   RetrieveStoredSearchParams
}

type RetrieveStoredSearchResponse

type RetrieveStoredSearchResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *N200
	JSON307                       *externalRef1.RedirectResponse
	JSON308                       *externalRef1.RedirectResponse
	ApplicationproblemJSONDefault *externalRef1.ProblemDetails
}

func ParseRetrieveStoredSearchResponse

func ParseRetrieveStoredSearchResponse(rsp *http.Response) (*RetrieveStoredSearchResponse, error)

ParseRetrieveStoredSearchResponse parses an HTTP response from a RetrieveStoredSearchWithResponse call

func (RetrieveStoredSearchResponse) Status

Status returns HTTPResponse.Status

func (RetrieveStoredSearchResponse) StatusCode

func (r RetrieveStoredSearchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RetrieveStoredSearchResponseObject

type RetrieveStoredSearchResponseObject interface {
	VisitRetrieveStoredSearchResponse(w http.ResponseWriter) error
}

type RetrieveStoredSearchdefaultApplicationProblemPlusJSONResponse

type RetrieveStoredSearchdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef1.ProblemDetails
	StatusCode int
}

func (RetrieveStoredSearchdefaultApplicationProblemPlusJSONResponse) VisitRetrieveStoredSearchResponse

func (response RetrieveStoredSearchdefaultApplicationProblemPlusJSONResponse) VisitRetrieveStoredSearchResponse(w http.ResponseWriter) error

type SearchId

type SearchId = string

SearchId defines model for searchId.

type SearchNFInstances200JSONResponse

type SearchNFInstances200JSONResponse struct {
	Body    SearchResult
	Headers SearchNFInstances200ResponseHeaders
}

func (SearchNFInstances200JSONResponse) VisitSearchNFInstancesResponse

func (response SearchNFInstances200JSONResponse) VisitSearchNFInstancesResponse(w http.ResponseWriter) error

type SearchNFInstances200ResponseHeaders

type SearchNFInstances200ResponseHeaders struct {
	CacheControl    *string
	ContentEncoding *string
	ETag            *string
}

type SearchNFInstances307JSONResponse

type SearchNFInstances307JSONResponse struct {
	Body    externalRef1.RedirectResponse
	Headers SearchNFInstances307ResponseHeaders
}

func (SearchNFInstances307JSONResponse) VisitSearchNFInstancesResponse

func (response SearchNFInstances307JSONResponse) VisitSearchNFInstancesResponse(w http.ResponseWriter) error

type SearchNFInstances307ResponseHeaders

type SearchNFInstances307ResponseHeaders struct {
	Location string
}

type SearchNFInstances308JSONResponse

type SearchNFInstances308JSONResponse struct {
	Body    externalRef1.RedirectResponse
	Headers SearchNFInstances308ResponseHeaders
}

func (SearchNFInstances308JSONResponse) VisitSearchNFInstancesResponse

func (response SearchNFInstances308JSONResponse) VisitSearchNFInstancesResponse(w http.ResponseWriter) error

type SearchNFInstances308ResponseHeaders

type SearchNFInstances308ResponseHeaders struct {
	Location string
}

type SearchNFInstances400ApplicationProblemPlusJSONResponse

type SearchNFInstances400ApplicationProblemPlusJSONResponse struct {
	externalRef1.N400ApplicationProblemPlusJSONResponse
}

func (SearchNFInstances400ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse

func (response SearchNFInstances400ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse(w http.ResponseWriter) error

type SearchNFInstances401ApplicationProblemPlusJSONResponse

type SearchNFInstances401ApplicationProblemPlusJSONResponse struct {
	externalRef1.N401ApplicationProblemPlusJSONResponse
}

func (SearchNFInstances401ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse

func (response SearchNFInstances401ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse(w http.ResponseWriter) error

type SearchNFInstances403ApplicationProblemPlusJSONResponse

type SearchNFInstances403ApplicationProblemPlusJSONResponse struct {
	externalRef1.N403ApplicationProblemPlusJSONResponse
}

func (SearchNFInstances403ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse

func (response SearchNFInstances403ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse(w http.ResponseWriter) error

type SearchNFInstances404ApplicationProblemPlusJSONResponse

type SearchNFInstances404ApplicationProblemPlusJSONResponse struct {
	externalRef1.N404ApplicationProblemPlusJSONResponse
}

func (SearchNFInstances404ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse

func (response SearchNFInstances404ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse(w http.ResponseWriter) error

type SearchNFInstances406Response

type SearchNFInstances406Response externalRef1.N406Response

func (SearchNFInstances406Response) VisitSearchNFInstancesResponse

func (response SearchNFInstances406Response) VisitSearchNFInstancesResponse(w http.ResponseWriter) error

type SearchNFInstances411ApplicationProblemPlusJSONResponse

type SearchNFInstances411ApplicationProblemPlusJSONResponse struct {
	externalRef1.N411ApplicationProblemPlusJSONResponse
}

func (SearchNFInstances411ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse

func (response SearchNFInstances411ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse(w http.ResponseWriter) error

type SearchNFInstances413ApplicationProblemPlusJSONResponse

type SearchNFInstances413ApplicationProblemPlusJSONResponse struct {
	externalRef1.N413ApplicationProblemPlusJSONResponse
}

func (SearchNFInstances413ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse

func (response SearchNFInstances413ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse(w http.ResponseWriter) error

type SearchNFInstances415ApplicationProblemPlusJSONResponse

type SearchNFInstances415ApplicationProblemPlusJSONResponse struct {
	externalRef1.N415ApplicationProblemPlusJSONResponse
}

func (SearchNFInstances415ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse

func (response SearchNFInstances415ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse(w http.ResponseWriter) error

type SearchNFInstances429ApplicationProblemPlusJSONResponse

type SearchNFInstances429ApplicationProblemPlusJSONResponse struct {
	externalRef1.N429ApplicationProblemPlusJSONResponse
}

func (SearchNFInstances429ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse

func (response SearchNFInstances429ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse(w http.ResponseWriter) error

type SearchNFInstances500ApplicationProblemPlusJSONResponse

type SearchNFInstances500ApplicationProblemPlusJSONResponse struct {
	externalRef1.N500ApplicationProblemPlusJSONResponse
}

func (SearchNFInstances500ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse

func (response SearchNFInstances500ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse(w http.ResponseWriter) error

type SearchNFInstances501ApplicationProblemPlusJSONResponse

type SearchNFInstances501ApplicationProblemPlusJSONResponse struct {
	externalRef1.N501ApplicationProblemPlusJSONResponse
}

func (SearchNFInstances501ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse

func (response SearchNFInstances501ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse(w http.ResponseWriter) error

type SearchNFInstances503ApplicationProblemPlusJSONResponse

type SearchNFInstances503ApplicationProblemPlusJSONResponse struct {
	externalRef1.N503ApplicationProblemPlusJSONResponse
}

func (SearchNFInstances503ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse

func (response SearchNFInstances503ApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse(w http.ResponseWriter) error

type SearchNFInstancesParams

type SearchNFInstancesParams struct {
	// TargetNfType Type of the target NF
	TargetNfType externalRef2.NFType `form:"target-nf-type" json:"target-nf-type"`

	// RequesterNfType Type of the requester NF
	RequesterNfType externalRef2.NFType `form:"requester-nf-type" json:"requester-nf-type"`

	// RequesterNfInstanceId NfInstanceId of the requester NF
	RequesterNfInstanceId *externalRef1.NfInstanceId `form:"requester-nf-instance-id,omitempty" json:"requester-nf-instance-id,omitempty"`

	// ServiceNames Names of the services offered by the NF
	ServiceNames *[]externalRef2.ServiceName `form:"service-names,omitempty" json:"service-names,omitempty"`

	// RequesterNfInstanceFqdn FQDN of the requester NF
	RequesterNfInstanceFqdn *externalRef2.Fqdn `form:"requester-nf-instance-fqdn,omitempty" json:"requester-nf-instance-fqdn,omitempty"`

	// TargetPlmnList Id of the PLMN of the target NF
	TargetPlmnList *[]externalRef1.PlmnId `form:"target-plmn-list,omitempty" json:"target-plmn-list,omitempty"`

	// RequesterPlmnList Id of the PLMN where the NF issuing the Discovery request is located
	RequesterPlmnList *[]externalRef1.PlmnId `form:"requester-plmn-list,omitempty" json:"requester-plmn-list,omitempty"`

	// TargetNfInstanceId Identity of the NF instance being discovered
	TargetNfInstanceId *externalRef1.NfInstanceId `form:"target-nf-instance-id,omitempty" json:"target-nf-instance-id,omitempty"`

	// TargetNfFqdn FQDN of the NF instance being discovered
	TargetNfFqdn *externalRef2.Fqdn `form:"target-nf-fqdn,omitempty" json:"target-nf-fqdn,omitempty"`

	// HnrfUri Uri of the home NRF
	HnrfUri *externalRef1.Uri `form:"hnrf-uri,omitempty" json:"hnrf-uri,omitempty"`

	// Snssais Slice info of the target NF
	Snssais *[]externalRef1.Snssai `form:"snssais,omitempty" json:"snssais,omitempty"`

	// RequesterSnssais Slice info of the requester NF
	RequesterSnssais *[]externalRef1.Snssai `form:"requester-snssais,omitempty" json:"requester-snssais,omitempty"`

	// PlmnSpecificSnssaiList PLMN specific Slice info of the target NF
	PlmnSpecificSnssaiList *[]externalRef2.PlmnSnssai `form:"plmn-specific-snssai-list,omitempty" json:"plmn-specific-snssai-list,omitempty"`

	// RequesterPlmnSpecificSnssaiList PLMN-specific slice info of the NF issuing the Discovery request
	RequesterPlmnSpecificSnssaiList *[]externalRef2.PlmnSnssai `form:"requester-plmn-specific-snssai-list,omitempty" json:"requester-plmn-specific-snssai-list,omitempty"`

	// Dnn Dnn supported by the BSF, SMF or UPF
	Dnn *externalRef1.Dnn `form:"dnn,omitempty" json:"dnn,omitempty"`

	// NsiList NSI IDs that are served by the services being discovered
	NsiList        *[]string `form:"nsi-list,omitempty" json:"nsi-list,omitempty"`
	SmfServingArea *string   `form:"smf-serving-area,omitempty" json:"smf-serving-area,omitempty"`

	// Tai Tracking Area Identity
	Tai *externalRef1.Tai `form:"tai,omitempty" json:"tai,omitempty"`

	// AmfRegionId AMF Region Identity
	AmfRegionId *externalRef1.AmfRegionId `form:"amf-region-id,omitempty" json:"amf-region-id,omitempty"`

	// AmfSetId AMF Set Identity
	AmfSetId *externalRef1.AmfSetId `form:"amf-set-id,omitempty" json:"amf-set-id,omitempty"`

	// Guami Guami used to search for an appropriate AMF
	Guami *externalRef1.Guami `form:"guami,omitempty" json:"guami,omitempty"`

	// Supi SUPI of the user
	Supi *externalRef1.Supi `form:"supi,omitempty" json:"supi,omitempty"`

	// UeIpv4Address IPv4 address of the UE
	UeIpv4Address *externalRef1.Ipv4Addr `form:"ue-ipv4-address,omitempty" json:"ue-ipv4-address,omitempty"`

	// IpDomain IP domain of the UE, which supported by BSF
	IpDomain *string `form:"ip-domain,omitempty" json:"ip-domain,omitempty"`

	// UeIpv6Prefix IPv6 prefix of the UE
	UeIpv6Prefix *externalRef1.Ipv6Prefix `form:"ue-ipv6-prefix,omitempty" json:"ue-ipv6-prefix,omitempty"`

	// PgwInd Combined PGW-C and SMF or a standalone SMF
	PgwInd *bool `form:"pgw-ind,omitempty" json:"pgw-ind,omitempty"`

	// Pgw PGW FQDN of a combined PGW-C and SMF
	Pgw *externalRef2.Fqdn `form:"pgw,omitempty" json:"pgw,omitempty"`

	// Gpsi GPSI of the user
	Gpsi *externalRef1.Gpsi `form:"gpsi,omitempty" json:"gpsi,omitempty"`

	// ExternalGroupIdentity external group identifier of the user
	ExternalGroupIdentity *externalRef3.ExtGroupId `form:"external-group-identity,omitempty" json:"external-group-identity,omitempty"`

	// InternalGroupIdentity internal group identifier of the user
	InternalGroupIdentity *externalRef1.GroupId `form:"internal-group-identity,omitempty" json:"internal-group-identity,omitempty"`

	// PfdData PFD data
	PfdData *externalRef2.PfdData `form:"pfd-data,omitempty" json:"pfd-data,omitempty"`

	// DataSet data set supported by the NF
	DataSet *externalRef2.DataSetId `form:"data-set,omitempty" json:"data-set,omitempty"`

	// RoutingIndicator routing indicator in SUCI
	RoutingIndicator *string `form:"routing-indicator,omitempty" json:"routing-indicator,omitempty"`

	// GroupIdList Group IDs of the NFs being discovered
	GroupIdList *[]externalRef1.NfGroupId `form:"group-id-list,omitempty" json:"group-id-list,omitempty"`

	// DnaiList Data network access identifiers of the NFs being discovered
	DnaiList *[]externalRef1.Dnai `form:"dnai-list,omitempty" json:"dnai-list,omitempty"`

	// PduSessionTypes list of PDU Session Type required to be supported by the target NF
	PduSessionTypes *[]externalRef1.PduSessionType `form:"pdu-session-types,omitempty" json:"pdu-session-types,omitempty"`

	// EventIdList Analytics event(s) requested to be supported by the Nnwdaf_AnalyticsInfo service
	EventIdList *[]string `form:"event-id-list,omitempty" json:"event-id-list,omitempty"`

	// NwdafEventList Analytics event(s) requested to be supported by the Nnwdaf_EventsSubscription service.
	NwdafEventList *[]string `form:"nwdaf-event-list,omitempty" json:"nwdaf-event-list,omitempty"`

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

	// UpfIwkEpsInd UPF supporting interworking with EPS or not
	UpfIwkEpsInd *bool `form:"upf-iwk-eps-ind,omitempty" json:"upf-iwk-eps-ind,omitempty"`

	// ChfSupportedPlmn PLMN ID supported by a CHF
	ChfSupportedPlmn *externalRef1.PlmnId `form:"chf-supported-plmn,omitempty" json:"chf-supported-plmn,omitempty"`

	// PreferredLocality preferred target NF location
	PreferredLocality *string `form:"preferred-locality,omitempty" json:"preferred-locality,omitempty"`

	// AccessType AccessType supported by the target NF
	AccessType *externalRef1.AccessType `form:"access-type,omitempty" json:"access-type,omitempty"`

	// Limit Maximum number of NFProfiles to return in the response
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// RequiredFeatures Features required to be supported by the target NF
	RequiredFeatures *[]externalRef1.SupportedFeatures `form:"required-features,omitempty" json:"required-features,omitempty"`

	// ComplexQuery the complex query condition expression
	ComplexQuery *externalRef1.ComplexQuery `form:"complex-query,omitempty" json:"complex-query,omitempty"`

	// MaxPayloadSize Maximum payload size of the response expressed in kilo octets
	MaxPayloadSize *int `form:"max-payload-size,omitempty" json:"max-payload-size,omitempty"`

	// MaxPayloadSizeExt Extended query for maximum payload size of the response expressed in kilo octets
	MaxPayloadSizeExt *int `form:"max-payload-size-ext,omitempty" json:"max-payload-size-ext,omitempty"`

	// AtsssCapability ATSSS Capability
	AtsssCapability *externalRef1.AtsssCapability `form:"atsss-capability,omitempty" json:"atsss-capability,omitempty"`

	// UpfUeIpAddrInd UPF supporting allocating UE IP addresses/prefixes
	UpfUeIpAddrInd *bool `form:"upf-ue-ip-addr-ind,omitempty" json:"upf-ue-ip-addr-ind,omitempty"`

	// ClientType Requested client type served by the NF
	ClientType *string `form:"client-type,omitempty" json:"client-type,omitempty"`

	// LmfId LMF identification to be discovered
	LmfId *string `form:"lmf-id,omitempty" json:"lmf-id,omitempty"`

	// AnNodeType Requested AN node type served by the NF
	AnNodeType *externalRef2.AnNodeType `form:"an-node-type,omitempty" json:"an-node-type,omitempty"`

	// RatType Requested RAT type served by the NF
	RatType *externalRef1.RatType `form:"rat-type,omitempty" json:"rat-type,omitempty"`

	// PreferredTai preferred Tracking Area Identity
	PreferredTai *externalRef1.Tai `form:"preferred-tai,omitempty" json:"preferred-tai,omitempty"`

	// PreferredNfInstances preferred NF Instances
	PreferredNfInstances *[]externalRef1.NfInstanceId `form:"preferred-nf-instances,omitempty" json:"preferred-nf-instances,omitempty"`

	// TargetSnpn Target SNPN Identity
	TargetSnpn *externalRef1.PlmnIdNid `form:"target-snpn,omitempty" json:"target-snpn,omitempty"`

	// RequesterSnpnList SNPN ID(s) of the NF instance issuing the Discovery request
	RequesterSnpnList *[]externalRef1.PlmnIdNid `form:"requester-snpn-list,omitempty" json:"requester-snpn-list,omitempty"`

	// AfEeData NEF exposured by the AF
	AfEeData *externalRef2.AfEventExposureData `form:"af-ee-data,omitempty" json:"af-ee-data,omitempty"`

	// WAgfInfo UPF collocated with W-AGF
	WAgfInfo *externalRef2.WAgfInfo `form:"w-agf-info,omitempty" json:"w-agf-info,omitempty"`

	// TngfInfo UPF collocated with TNGF
	TngfInfo *externalRef2.TngfInfo `form:"tngf-info,omitempty" json:"tngf-info,omitempty"`

	// TwifInfo UPF collocated with TWIF
	TwifInfo *externalRef2.TwifInfo `form:"twif-info,omitempty" json:"twif-info,omitempty"`

	// TargetNfSetId Target NF Set ID
	TargetNfSetId *externalRef1.NfSetId `form:"target-nf-set-id,omitempty" json:"target-nf-set-id,omitempty"`

	// TargetNfServiceSetId Target NF Service Set ID
	TargetNfServiceSetId *externalRef1.NfServiceSetId `form:"target-nf-service-set-id,omitempty" json:"target-nf-service-set-id,omitempty"`

	// NefId NEF ID
	NefId *externalRef2.NefId `form:"nef-id,omitempty" json:"nef-id,omitempty"`

	// NotificationType Notification Type
	NotificationType *externalRef2.NotificationType `form:"notification-type,omitempty" json:"notification-type,omitempty"`

	// N1MsgClass N1 Message Class
	N1MsgClass *externalRef0.N1MessageClass `form:"n1-msg-class,omitempty" json:"n1-msg-class,omitempty"`

	// N2InfoClass N2 Information Class
	N2InfoClass *externalRef0.N2InformationClass `form:"n2-info-class,omitempty" json:"n2-info-class,omitempty"`

	// ServingScope areas that can be served by the target NF
	ServingScope *[]string `form:"serving-scope,omitempty" json:"serving-scope,omitempty"`

	// Imsi IMSI of the requester UE to search for an appropriate NF (e.g. HSS)
	Imsi *string `form:"imsi,omitempty" json:"imsi,omitempty"`

	// ImsPrivateIdentity IMPI of the requester UE to search for a target HSS
	ImsPrivateIdentity *string `form:"ims-private-identity,omitempty" json:"ims-private-identity,omitempty"`

	// ImsPublicIdentity IMS Public Identity of the requester UE to search for a target HSS
	ImsPublicIdentity *string `form:"ims-public-identity,omitempty" json:"ims-public-identity,omitempty"`

	// Msisdn MSISDN of the requester UE to search for a target HSS
	Msisdn *string `form:"msisdn,omitempty" json:"msisdn,omitempty"`

	// PreferredApiVersions Preferred API version of the services to be discovered
	PreferredApiVersions *map[string]string `form:"preferred-api-versions,omitempty" json:"preferred-api-versions,omitempty"`

	// V2xSupportInd PCF supports V2X
	V2xSupportInd *bool `form:"v2x-support-ind,omitempty" json:"v2x-support-ind,omitempty"`

	// RedundantGtpu UPF supports redundant gtp-u to be discovered
	RedundantGtpu *bool `form:"redundant-gtpu,omitempty" json:"redundant-gtpu,omitempty"`

	// RedundantTransport UPF supports redundant transport path to be discovered
	RedundantTransport *bool `form:"redundant-transport,omitempty" json:"redundant-transport,omitempty"`

	// Ipups UPF which is configured for IPUPS functionality to be discovered
	Ipups *bool `form:"ipups,omitempty" json:"ipups,omitempty"`

	// ScpDomainList SCP domains the target SCP belongs to
	ScpDomainList *[]string `form:"scp-domain-list,omitempty" json:"scp-domain-list,omitempty"`

	// AddressDomain Address domain reachable through the SCP
	AddressDomain *externalRef2.Fqdn `form:"address-domain,omitempty" json:"address-domain,omitempty"`

	// Ipv4Addr IPv4 address reachable through the SCP
	Ipv4Addr *externalRef1.Ipv4Addr `form:"ipv4-addr,omitempty" json:"ipv4-addr,omitempty"`

	// Ipv6Prefix IPv6 prefix reachable through the SCP
	Ipv6Prefix *externalRef1.Ipv6Prefix `form:"ipv6-prefix,omitempty" json:"ipv6-prefix,omitempty"`

	// ServedNfSetId NF Set ID served by the SCP
	ServedNfSetId *externalRef1.NfSetId `form:"served-nf-set-id,omitempty" json:"served-nf-set-id,omitempty"`

	// RemotePlmnId Id of the PLMN reachable through the SCP
	RemotePlmnId *externalRef1.PlmnId `form:"remote-plmn-id,omitempty" json:"remote-plmn-id,omitempty"`

	// DataForwarding UPF Instance(s) configured for data forwarding are requested
	DataForwarding *bool `form:"data-forwarding,omitempty" json:"data-forwarding,omitempty"`

	// PreferredFullPlmn NF Instance(s) serving the full PLMN are preferred
	PreferredFullPlmn *bool `form:"preferred-full-plmn,omitempty" json:"preferred-full-plmn,omitempty"`

	// RequesterFeatures Features supported by the NF Service Consumer that is invoking the Nnrf_NFDiscovery service
	RequesterFeatures *externalRef1.SupportedFeatures `form:"requester-features,omitempty" json:"requester-features,omitempty"`

	// RealmId realm-id to search for an appropriate UDSF
	RealmId *string `form:"realm-id,omitempty" json:"realm-id,omitempty"`

	// StorageId storage-id to search for an appropriate UDSF
	StorageId *string `form:"storage-id,omitempty" json:"storage-id,omitempty"`

	// VsmfSupportInd V-SMF capability supported by the target NF instance(s)
	VsmfSupportInd *bool `form:"vsmf-support-ind,omitempty" json:"vsmf-support-ind,omitempty"`

	// GmlcNumber The GMLC Number supported by the GMLC
	GmlcNumber *string `form:"gmlc-number,omitempty" json:"gmlc-number,omitempty"`

	// AcceptEncoding Accept-Encoding, described in IETF RFC 7231
	AcceptEncoding *string `json:"Accept-Encoding,omitempty"`

	// IfNoneMatch Validator for conditional requests, as described in IETF RFC 7232, 3.2
	IfNoneMatch *string `json:"If-None-Match,omitempty"`
}

SearchNFInstancesParams defines parameters for SearchNFInstances.

type SearchNFInstancesRequestObject

type SearchNFInstancesRequestObject struct {
	Params SearchNFInstancesParams
}

type SearchNFInstancesResponse

type SearchNFInstancesResponse struct {
	Body                          []byte
	HTTPResponse                  *http.Response
	JSON200                       *SearchResult
	JSON307                       *externalRef1.RedirectResponse
	JSON308                       *externalRef1.RedirectResponse
	ApplicationproblemJSON400     *externalRef1.N400
	ApplicationproblemJSON401     *externalRef1.N401
	ApplicationproblemJSON403     *externalRef1.N403
	ApplicationproblemJSON404     *externalRef1.N404
	ApplicationproblemJSON411     *externalRef1.N411
	ApplicationproblemJSON413     *externalRef1.N413
	ApplicationproblemJSON415     *externalRef1.N415
	ApplicationproblemJSON429     *externalRef1.N429
	ApplicationproblemJSON500     *externalRef1.N500
	ApplicationproblemJSON501     *externalRef1.N501
	ApplicationproblemJSON503     *externalRef1.N503
	ApplicationproblemJSONDefault *externalRef1.Default
}

func ParseSearchNFInstancesResponse

func ParseSearchNFInstancesResponse(rsp *http.Response) (*SearchNFInstancesResponse, error)

ParseSearchNFInstancesResponse parses an HTTP response from a SearchNFInstancesWithResponse call

func (SearchNFInstancesResponse) Status

func (r SearchNFInstancesResponse) Status() string

Status returns HTTPResponse.Status

func (SearchNFInstancesResponse) StatusCode

func (r SearchNFInstancesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SearchNFInstancesResponseObject

type SearchNFInstancesResponseObject interface {
	VisitSearchNFInstancesResponse(w http.ResponseWriter) error
}

type SearchNFInstancesdefaultApplicationProblemPlusJSONResponse

type SearchNFInstancesdefaultApplicationProblemPlusJSONResponse struct {
	Body       externalRef1.ProblemDetails
	StatusCode int
}

func (SearchNFInstancesdefaultApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse

func (response SearchNFInstancesdefaultApplicationProblemPlusJSONResponse) VisitSearchNFInstancesResponse(w http.ResponseWriter) error

type SearchResult

type SearchResult struct {
	NfInstances          []NFProfile                     `json:"nfInstances"`
	NrfSupportedFeatures *externalRef1.SupportedFeatures `json:"nrfSupportedFeatures,omitempty"`
	NumNfInstComplete    *externalRef1.Uint32            `json:"numNfInstComplete,omitempty"`

	// PreferredSearch Contains information on whether the returned NFProfiles match the preferred query parameters
	PreferredSearch      *PreferredSearch       `json:"preferredSearch,omitempty"`
	SearchId             *string                `json:"searchId,omitempty"`
	ValidityPeriod       *int                   `json:"validityPeriod,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

SearchResult Contains the list of NF Profiles returned in a Discovery response

func (SearchResult) Get

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

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

func (SearchResult) MarshalJSON

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

Override default JSON handling for SearchResult to handle AdditionalProperties

func (*SearchResult) Set

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

Setter for additional properties for SearchResult

func (*SearchResult) UnmarshalJSON

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

Override default JSON handling for SearchResult to handle AdditionalProperties

type ServerInterface

type ServerInterface interface {
	// Search a collection of NF Instances
	// (GET /nf-instances)
	SearchNFInstances(c *gin.Context, params SearchNFInstancesParams)

	// (GET /searches/{searchId})
	RetrieveStoredSearch(c *gin.Context, searchId SearchId, params RetrieveStoredSearchParams)

	// (GET /searches/{searchId}/complete)
	RetrieveCompleteSearch(c *gin.Context, searchId SearchId, params RetrieveCompleteSearchParams)
}

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

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

RetrieveCompleteSearch operation middleware

func (*ServerInterfaceWrapper) RetrieveStoredSearch

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

RetrieveStoredSearch operation middleware

func (*ServerInterfaceWrapper) SearchNFInstances

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

SearchNFInstances operation middleware

type StoredSearchResult

type StoredSearchResult struct {
	NfInstances          []NFProfile            `json:"nfInstances"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

StoredSearchResult Contains a complete search result (i.e. a number of discovered NF Instances), stored by NRF as a consequence of a prior search result

func (StoredSearchResult) Get

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

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

func (StoredSearchResult) MarshalJSON

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

Override default JSON handling for StoredSearchResult to handle AdditionalProperties

func (*StoredSearchResult) Set

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

Setter for additional properties for StoredSearchResult

func (*StoredSearchResult) UnmarshalJSON

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

Override default JSON handling for StoredSearchResult to handle AdditionalProperties

type StrictHandlerFunc

type StrictHandlerFunc = strictgin.StrictGinHandlerFunc

type StrictMiddlewareFunc

type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc

type StrictServerInterface

type StrictServerInterface interface {
	// Search a collection of NF Instances
	// (GET /nf-instances)
	SearchNFInstances(ctx context.Context, request SearchNFInstancesRequestObject) (SearchNFInstancesResponseObject, error)

	// (GET /searches/{searchId})
	RetrieveStoredSearch(ctx context.Context, request RetrieveStoredSearchRequestObject) (RetrieveStoredSearchResponseObject, error)

	// (GET /searches/{searchId}/complete)
	RetrieveCompleteSearch(ctx context.Context, request RetrieveCompleteSearchRequestObject) (RetrieveCompleteSearchResponseObject, error)
}

StrictServerInterface represents all server handlers.

Jump to

Keyboard shortcuts

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