Documentation ¶
Index ¶
- Variables
- type APIClient
- type Configuration
- func (c *Configuration) AddDefaultHeader(key string, value string)
- func (c *Configuration) BasePath() string
- func (c *Configuration) DefaultHeader() map[string]string
- func (c *Configuration) HTTPClient() *http.Client
- func (c *Configuration) Host() string
- func (c *Configuration) SetBasePath(apiRoot string)
- func (c *Configuration) SetHost(host string)
- func (c *Configuration) SetUserAgent(userAgent string)
- func (c *Configuration) UserAgent() string
- type IndividualPDUSessionHSMFApiService
- func (a *IndividualPDUSessionHSMFApiService) ReleasePduSession(ctx context.Context, pduSessionRef string, ...) (*http.Response, error)
- func (a *IndividualPDUSessionHSMFApiService) UpdatePduSession(ctx context.Context, pduSessionRef string, ...) (models.UpdatePduSessionResponse, *http.Response, error)
- type IndividualSMContextApiService
- func (a *IndividualSMContextApiService) ReleaseSmContext(ctx context.Context, smContextRef string, ...) (*http.Response, error)
- func (a *IndividualSMContextApiService) RetrieveSmContext(ctx context.Context, smContextRef string, ...) (models.SmContextRetrievedData, *http.Response, error)
- func (a *IndividualSMContextApiService) UpdateSmContext(ctx context.Context, smContextRef string, ...) (models.UpdateSmContextResponse, *http.Response, error)
- type IndividualSMContextNotificationApiService
- type PDUSessionsCollectionApiService
- type ReleasePduSessionParamOpts
- type ReleaseSmContextParamOpts
- type RetrieveSmContextParamOpts
- type SMContextsCollectionApiService
Constants ¶
This section is empty.
Variables ¶
View Source
var ( N1SmError = models.ProblemDetails{ Title: "Invalid N1 Message", Status: http.StatusForbidden, Detail: "N1 Message Error", Cause: "N1_SM_ERROR", } N2SmError = models.ProblemDetails{ Title: "Invalid N2 Message", Status: http.StatusForbidden, Detail: "N2 Message Error", Cause: "N2_SM_ERROR", } DnnDeniedError = models.ProblemDetails{ Title: "DNN Denied", Status: http.StatusForbidden, Detail: "The subscriber does not have the necessary subscription to access the DNN", Cause: "DNN_DENIED", InvalidParams: nil, } DnnNotSupported = models.ProblemDetails{ Title: "DNN Not Supported", Status: http.StatusForbidden, Detail: "The DNN is not supported by the SMF.", Cause: "DNN_NOT_SUPPORTED", InvalidParams: nil, } InsufficientResourceSliceDnn = models.ProblemDetails{ Title: "DNN Resource insufficient", Status: http.StatusInternalServerError, Detail: "The request cannot be provided due to insufficient resources for the specific slice and DNN.", Cause: "INSUFFICIENT_RESOURCES_SLICE_DNN", InvalidParams: nil, } SubscriptionDenied = models.ProblemDetails{ Title: "Subscription Denied", Status: http.StatusForbidden, Detail: "This indicates an error, other than those listed in this table, due to lack of necessary subscription to serve the UE request.", Cause: "SUBSCRIPTION_DENIED", InvalidParams: nil, } NetworkFailure = models.ProblemDetails{ Title: "Network failure", Status: http.StatusGatewayTimeout, Detail: "The request is rejected due to a network problem.", Cause: "NETWORK_FAILURE", InvalidParams: nil, } SmContextStateMismatchActive = models.ProblemDetails{ Title: "SMContext state mismatch", Status: http.StatusForbidden, Detail: "The SMContext State should be Active State.", } SmContextStateMismatchInActive = models.ProblemDetails{ Title: "SMContext state mismatch", Status: http.StatusForbidden, Detail: "The SMContext State should be InActive State.", } )
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct { // API Services IndividualPDUSessionHSMFApi *IndividualPDUSessionHSMFApiService IndividualSMContextApi *IndividualSMContextApiService IndividualSMContextNotificationApi *IndividualSMContextNotificationApiService PDUSessionsCollectionApi *PDUSessionsCollectionApiService SMContextsCollectionApi *SMContextsCollectionApiService // contains filtered or unexported fields }
APIClient manages communication with the Nsmf_PDUSession API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
type Configuration ¶
type Configuration struct {
// contains filtered or unexported fields
}
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
func (*Configuration) BasePath ¶
func (c *Configuration) BasePath() string
func (*Configuration) DefaultHeader ¶
func (c *Configuration) DefaultHeader() map[string]string
func (*Configuration) HTTPClient ¶
func (c *Configuration) HTTPClient() *http.Client
func (*Configuration) Host ¶
func (c *Configuration) Host() string
func (*Configuration) SetBasePath ¶
func (c *Configuration) SetBasePath(apiRoot string)
func (*Configuration) SetHost ¶
func (c *Configuration) SetHost(host string)
func (*Configuration) SetUserAgent ¶
func (c *Configuration) SetUserAgent(userAgent string)
func (*Configuration) UserAgent ¶
func (c *Configuration) UserAgent() string
type IndividualPDUSessionHSMFApiService ¶
type IndividualPDUSessionHSMFApiService service
func (*IndividualPDUSessionHSMFApiService) ReleasePduSession ¶
func (a *IndividualPDUSessionHSMFApiService) ReleasePduSession(ctx context.Context, pduSessionRef string, localVarOptionals *ReleasePduSessionParamOpts) (*http.Response, error)
func (*IndividualPDUSessionHSMFApiService) UpdatePduSession ¶
func (a *IndividualPDUSessionHSMFApiService) UpdatePduSession(ctx context.Context, pduSessionRef string, updatePduSessionRequest models.UpdatePduSessionRequest) (models.UpdatePduSessionResponse, *http.Response, error)
type IndividualSMContextApiService ¶
type IndividualSMContextApiService service
func (*IndividualSMContextApiService) ReleaseSmContext ¶
func (a *IndividualSMContextApiService) ReleaseSmContext(ctx context.Context, smContextRef string, releaseSmContextRequest models.ReleaseSmContextRequest) (*http.Response, error)
func (*IndividualSMContextApiService) RetrieveSmContext ¶
func (a *IndividualSMContextApiService) RetrieveSmContext(ctx context.Context, smContextRef string, localVarOptionals *RetrieveSmContextParamOpts) (models.SmContextRetrievedData, *http.Response, error)
func (*IndividualSMContextApiService) UpdateSmContext ¶
func (a *IndividualSMContextApiService) UpdateSmContext(ctx context.Context, smContextRef string, updateSmContextRequest models.UpdateSmContextRequest) (models.UpdateSmContextResponse, *http.Response, error)
type IndividualSMContextNotificationApiService ¶
type IndividualSMContextNotificationApiService service
func (*IndividualSMContextNotificationApiService) SMContextNotification ¶
func (a *IndividualSMContextNotificationApiService) SMContextNotification(ctx context.Context, notifyUri string, request models.SmContextStatusNotification) (*http.Response, error)
type PDUSessionsCollectionApiService ¶
type PDUSessionsCollectionApiService service
func (*PDUSessionsCollectionApiService) PostPduSessions ¶
func (a *PDUSessionsCollectionApiService) PostPduSessions(ctx context.Context, postPduSessionsRequest models.PostPduSessionsRequest) (models.PostPduSessionsResponse, *http.Response, error)
type SMContextsCollectionApiService ¶
type SMContextsCollectionApiService service
func (*SMContextsCollectionApiService) PostSmContexts ¶
func (a *SMContextsCollectionApiService) PostSmContexts(ctx context.Context, postSmContextsRequest models.PostSmContextsRequest) (models.PostSmContextsResponse, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.