Documentation
¶
Index ¶
- type APIClient
- type ApplicationSessionsCollectionApiService
- func (a *ApplicationSessionsCollectionApiService) PostAppSessions(ctx context.Context, request *PostAppSessionsRequest) (*PostAppSessionsResponse, error)
- func (a *ApplicationSessionsCollectionApiService) PostAppSessionsDetected5GsBridgeForPduSessionPost(ctx context.Context, uri string, ...) (*PostAppSessionsDetected5GsBridgeForPduSessionPostResponse, error)
- func (a *ApplicationSessionsCollectionApiService) PostAppSessionsEventNotificationPduSessionPost(ctx context.Context, uri string, ...) (*PostAppSessionsEventNotificationPduSessionPostResponse, error)
- func (a *ApplicationSessionsCollectionApiService) PostAppSessionsEventNotificationPost(ctx context.Context, uri string, ...) (*PostAppSessionsEventNotificationPostResponse, error)
- func (a *ApplicationSessionsCollectionApiService) PostAppSessionsTerminationRequestPost(ctx context.Context, uri string, ...) (*PostAppSessionsTerminationRequestPostResponse, error)
- 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) Metrics() openapi.RequestMetricsHook
- func (c *Configuration) SetBasePath(apiRoot string)
- func (c *Configuration) SetHTTPClient(client *http.Client)
- func (c *Configuration) SetHost(host string)
- func (c *Configuration) SetMetrics(h openapi.RequestMetricsHook)
- func (c *Configuration) SetUserAgent(userAgent string)
- func (c *Configuration) UserAgent() string
- type DeleteAppSessionError
- type DeleteAppSessionRequest
- type DeleteAppSessionResponse
- type DeleteEventsSubscError
- type DeleteEventsSubscRequest
- type DeleteEventsSubscResponse
- type EventsSubscriptionDocumentApiService
- func (a *EventsSubscriptionDocumentApiService) DeleteEventsSubsc(ctx context.Context, request *DeleteEventsSubscRequest) (*DeleteEventsSubscResponse, error)
- func (a *EventsSubscriptionDocumentApiService) UpdateEventsSubsc(ctx context.Context, request *UpdateEventsSubscRequest) (*UpdateEventsSubscResponse, error)
- func (a *EventsSubscriptionDocumentApiService) UpdateEventsSubscEventNotificationPost(ctx context.Context, uri string, ...) (*UpdateEventsSubscEventNotificationPostResponse, error)
- type GetAppSessionError
- type GetAppSessionRequest
- type GetAppSessionResponse
- type IndividualApplicationSessionContextDocumentApiService
- func (a *IndividualApplicationSessionContextDocumentApiService) DeleteAppSession(ctx context.Context, request *DeleteAppSessionRequest) (*DeleteAppSessionResponse, error)
- func (a *IndividualApplicationSessionContextDocumentApiService) GetAppSession(ctx context.Context, request *GetAppSessionRequest) (*GetAppSessionResponse, error)
- func (a *IndividualApplicationSessionContextDocumentApiService) ModAppSession(ctx context.Context, request *ModAppSessionRequest) (*ModAppSessionResponse, error)
- func (a *IndividualApplicationSessionContextDocumentApiService) ModAppSessionEventNotificationPost(ctx context.Context, uri string, ...) (*ModAppSessionEventNotificationPostResponse, error)
- type ModAppSessionError
- type ModAppSessionEventNotificationPostError
- type ModAppSessionEventNotificationPostRequest
- type ModAppSessionEventNotificationPostResponse
- type ModAppSessionRequest
- type ModAppSessionResponse
- type PCSCFRestorationIndicationApiService
- type PcscfRestorationError
- type PcscfRestorationRequest
- type PcscfRestorationResponse
- type PostAppSessionsDetected5GsBridgeForPduSessionPostError
- type PostAppSessionsDetected5GsBridgeForPduSessionPostRequest
- type PostAppSessionsDetected5GsBridgeForPduSessionPostResponse
- type PostAppSessionsError
- type PostAppSessionsEventNotificationPduSessionPostError
- type PostAppSessionsEventNotificationPduSessionPostRequest
- type PostAppSessionsEventNotificationPduSessionPostResponse
- type PostAppSessionsEventNotificationPostError
- type PostAppSessionsEventNotificationPostRequest
- type PostAppSessionsEventNotificationPostResponse
- type PostAppSessionsRequest
- type PostAppSessionsResponse
- type PostAppSessionsTerminationRequestPostError
- type PostAppSessionsTerminationRequestPostRequest
- type PostAppSessionsTerminationRequestPostResponse
- type UpdateEventsSubscError
- type UpdateEventsSubscEventNotificationPostError
- type UpdateEventsSubscEventNotificationPostRequest
- type UpdateEventsSubscEventNotificationPostResponse
- type UpdateEventsSubscRequest
- type UpdateEventsSubscResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct {
// API Services
ApplicationSessionsCollectionApi *ApplicationSessionsCollectionApiService
EventsSubscriptionDocumentApi *EventsSubscriptionDocumentApiService
IndividualApplicationSessionContextDocumentApi *IndividualApplicationSessionContextDocumentApiService
PCSCFRestorationIndicationApi *PCSCFRestorationIndicationApiService
// contains filtered or unexported fields
}
APIClient manages communication with the Npcf_PolicyAuthorization Service API API v1.2.3 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 ApplicationSessionsCollectionApiService ¶
type ApplicationSessionsCollectionApiService service
func (*ApplicationSessionsCollectionApiService) PostAppSessions ¶
func (a *ApplicationSessionsCollectionApiService) PostAppSessions(ctx context.Context, request *PostAppSessionsRequest) (*PostAppSessionsResponse, error)
func (*ApplicationSessionsCollectionApiService) PostAppSessionsDetected5GsBridgeForPduSessionPost ¶
func (a *ApplicationSessionsCollectionApiService) PostAppSessionsDetected5GsBridgeForPduSessionPost(ctx context.Context, uri string, request *PostAppSessionsDetected5GsBridgeForPduSessionPostRequest) (*PostAppSessionsDetected5GsBridgeForPduSessionPostResponse, error)
func (*ApplicationSessionsCollectionApiService) PostAppSessionsEventNotificationPduSessionPost ¶
func (a *ApplicationSessionsCollectionApiService) PostAppSessionsEventNotificationPduSessionPost(ctx context.Context, uri string, request *PostAppSessionsEventNotificationPduSessionPostRequest) (*PostAppSessionsEventNotificationPduSessionPostResponse, error)
func (*ApplicationSessionsCollectionApiService) PostAppSessionsEventNotificationPost ¶
func (a *ApplicationSessionsCollectionApiService) PostAppSessionsEventNotificationPost(ctx context.Context, uri string, request *PostAppSessionsEventNotificationPostRequest) (*PostAppSessionsEventNotificationPostResponse, error)
func (*ApplicationSessionsCollectionApiService) PostAppSessionsTerminationRequestPost ¶
func (a *ApplicationSessionsCollectionApiService) PostAppSessionsTerminationRequestPost(ctx context.Context, uri string, request *PostAppSessionsTerminationRequestPostRequest) (*PostAppSessionsTerminationRequestPostResponse, error)
type Configuration ¶
type Configuration struct {
MetricsHook openapi.RequestMetricsHook
// 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) Metrics ¶ added in v1.2.1
func (c *Configuration) Metrics() openapi.RequestMetricsHook
func (*Configuration) SetBasePath ¶
func (c *Configuration) SetBasePath(apiRoot string)
func (*Configuration) SetHTTPClient ¶
func (c *Configuration) SetHTTPClient(client *http.Client)
func (*Configuration) SetHost ¶
func (c *Configuration) SetHost(host string)
func (*Configuration) SetMetrics ¶ added in v1.2.1
func (c *Configuration) SetMetrics(h openapi.RequestMetricsHook)
func (*Configuration) SetUserAgent ¶
func (c *Configuration) SetUserAgent(userAgent string)
func (*Configuration) UserAgent ¶
func (c *Configuration) UserAgent() string
type DeleteAppSessionError ¶
type DeleteAppSessionError struct {
Location string
Var3gppSbiTargetNfId string
ProblemDetails models.ProblemDetails
RedirectResponse models.RedirectResponse
}
type DeleteAppSessionRequest ¶
type DeleteAppSessionRequest struct {
AppSessionId *string
PcfPolicyAuthorizationEventsSubscReqData *models.PcfPolicyAuthorizationEventsSubscReqData
}
DeleteAppSessionRequest
func (*DeleteAppSessionRequest) SetAppSessionId ¶
func (r *DeleteAppSessionRequest) SetAppSessionId(AppSessionId string)
func (*DeleteAppSessionRequest) SetPcfPolicyAuthorizationEventsSubscReqData ¶
func (r *DeleteAppSessionRequest) SetPcfPolicyAuthorizationEventsSubscReqData(PcfPolicyAuthorizationEventsSubscReqData models.PcfPolicyAuthorizationEventsSubscReqData)
type DeleteAppSessionResponse ¶
type DeleteAppSessionResponse struct {
AppSessionContext models.AppSessionContext
}
type DeleteEventsSubscError ¶
type DeleteEventsSubscError struct {
Location string
Var3gppSbiTargetNfId string
ProblemDetails models.ProblemDetails
RedirectResponse models.RedirectResponse
}
type DeleteEventsSubscRequest ¶
type DeleteEventsSubscRequest struct {
AppSessionId *string
}
DeleteEventsSubscRequest
func (*DeleteEventsSubscRequest) SetAppSessionId ¶
func (r *DeleteEventsSubscRequest) SetAppSessionId(AppSessionId string)
type DeleteEventsSubscResponse ¶
type DeleteEventsSubscResponse struct {
}
type EventsSubscriptionDocumentApiService ¶
type EventsSubscriptionDocumentApiService service
func (*EventsSubscriptionDocumentApiService) DeleteEventsSubsc ¶
func (a *EventsSubscriptionDocumentApiService) DeleteEventsSubsc(ctx context.Context, request *DeleteEventsSubscRequest) (*DeleteEventsSubscResponse, error)
func (*EventsSubscriptionDocumentApiService) UpdateEventsSubsc ¶
func (a *EventsSubscriptionDocumentApiService) UpdateEventsSubsc(ctx context.Context, request *UpdateEventsSubscRequest) (*UpdateEventsSubscResponse, error)
func (*EventsSubscriptionDocumentApiService) UpdateEventsSubscEventNotificationPost ¶
func (a *EventsSubscriptionDocumentApiService) UpdateEventsSubscEventNotificationPost(ctx context.Context, uri string, request *UpdateEventsSubscEventNotificationPostRequest) (*UpdateEventsSubscEventNotificationPostResponse, error)
type GetAppSessionError ¶
type GetAppSessionError struct {
Location string
Var3gppSbiTargetNfId string
ProblemDetails models.ProblemDetails
RedirectResponse models.RedirectResponse
}
type GetAppSessionRequest ¶
type GetAppSessionRequest struct {
AppSessionId *string
}
GetAppSessionRequest
func (*GetAppSessionRequest) SetAppSessionId ¶
func (r *GetAppSessionRequest) SetAppSessionId(AppSessionId string)
type GetAppSessionResponse ¶
type GetAppSessionResponse struct {
AppSessionContext models.AppSessionContext
}
type IndividualApplicationSessionContextDocumentApiService ¶
type IndividualApplicationSessionContextDocumentApiService service
func (*IndividualApplicationSessionContextDocumentApiService) DeleteAppSession ¶
func (a *IndividualApplicationSessionContextDocumentApiService) DeleteAppSession(ctx context.Context, request *DeleteAppSessionRequest) (*DeleteAppSessionResponse, error)
func (*IndividualApplicationSessionContextDocumentApiService) GetAppSession ¶
func (a *IndividualApplicationSessionContextDocumentApiService) GetAppSession(ctx context.Context, request *GetAppSessionRequest) (*GetAppSessionResponse, error)
func (*IndividualApplicationSessionContextDocumentApiService) ModAppSession ¶
func (a *IndividualApplicationSessionContextDocumentApiService) ModAppSession(ctx context.Context, request *ModAppSessionRequest) (*ModAppSessionResponse, error)
func (*IndividualApplicationSessionContextDocumentApiService) ModAppSessionEventNotificationPost ¶
func (a *IndividualApplicationSessionContextDocumentApiService) ModAppSessionEventNotificationPost(ctx context.Context, uri string, request *ModAppSessionEventNotificationPostRequest) (*ModAppSessionEventNotificationPostResponse, error)
type ModAppSessionError ¶
type ModAppSessionError struct {
Location string
RetryAfter interface{}
Var3gppSbiTargetNfId string
PcfPolicyAuthorizationExtendedProblemDetails models.PcfPolicyAuthorizationExtendedProblemDetails
ProblemDetails models.ProblemDetails
RedirectResponse models.RedirectResponse
}
type ModAppSessionEventNotificationPostError ¶
type ModAppSessionEventNotificationPostError struct {
Location string
Var3gppSbiTargetNfId string
ProblemDetails models.ProblemDetails
RedirectResponse models.RedirectResponse
}
type ModAppSessionEventNotificationPostRequest ¶
type ModAppSessionEventNotificationPostRequest struct {
PcfPolicyAuthorizationEventsNotification *models.PcfPolicyAuthorizationEventsNotification
}
ModAppSessionEventNotificationPostRequest
func (*ModAppSessionEventNotificationPostRequest) SetPcfPolicyAuthorizationEventsNotification ¶
func (r *ModAppSessionEventNotificationPostRequest) SetPcfPolicyAuthorizationEventsNotification(PcfPolicyAuthorizationEventsNotification models.PcfPolicyAuthorizationEventsNotification)
type ModAppSessionEventNotificationPostResponse ¶
type ModAppSessionEventNotificationPostResponse struct {
}
type ModAppSessionRequest ¶
type ModAppSessionRequest struct {
AppSessionId *string
AppSessionContextUpdateDataPatch *models.AppSessionContextUpdateDataPatch
}
ModAppSessionRequest
func (*ModAppSessionRequest) SetAppSessionContextUpdateDataPatch ¶
func (r *ModAppSessionRequest) SetAppSessionContextUpdateDataPatch(AppSessionContextUpdateDataPatch models.AppSessionContextUpdateDataPatch)
func (*ModAppSessionRequest) SetAppSessionId ¶
func (r *ModAppSessionRequest) SetAppSessionId(AppSessionId string)
type ModAppSessionResponse ¶
type ModAppSessionResponse struct {
AppSessionContext models.AppSessionContext
}
type PCSCFRestorationIndicationApiService ¶
type PCSCFRestorationIndicationApiService service
func (*PCSCFRestorationIndicationApiService) PcscfRestoration ¶
func (a *PCSCFRestorationIndicationApiService) PcscfRestoration(ctx context.Context, request *PcscfRestorationRequest) (*PcscfRestorationResponse, error)
type PcscfRestorationError ¶
type PcscfRestorationError struct {
Location string
Var3gppSbiTargetNfId string
ProblemDetails models.ProblemDetails
RedirectResponse models.RedirectResponse
}
type PcscfRestorationRequest ¶
type PcscfRestorationRequest struct {
PcscfRestorationRequestData *models.PcscfRestorationRequestData
}
PcscfRestorationRequest
func (*PcscfRestorationRequest) SetPcscfRestorationRequestData ¶
func (r *PcscfRestorationRequest) SetPcscfRestorationRequestData(PcscfRestorationRequestData models.PcscfRestorationRequestData)
type PcscfRestorationResponse ¶
type PcscfRestorationResponse struct {
}
type PostAppSessionsDetected5GsBridgeForPduSessionPostError ¶
type PostAppSessionsDetected5GsBridgeForPduSessionPostError struct {
Location string
Var3gppSbiTargetNfId string
ProblemDetails models.ProblemDetails
RedirectResponse models.RedirectResponse
}
type PostAppSessionsDetected5GsBridgeForPduSessionPostRequest ¶
type PostAppSessionsDetected5GsBridgeForPduSessionPostRequest struct {
PduSessionTsnBridge *models.PduSessionTsnBridge
}
PostAppSessionsDetected5GsBridgeForPduSessionPostRequest
func (*PostAppSessionsDetected5GsBridgeForPduSessionPostRequest) SetPduSessionTsnBridge ¶
func (r *PostAppSessionsDetected5GsBridgeForPduSessionPostRequest) SetPduSessionTsnBridge(PduSessionTsnBridge models.PduSessionTsnBridge)
type PostAppSessionsDetected5GsBridgeForPduSessionPostResponse ¶
type PostAppSessionsDetected5GsBridgeForPduSessionPostResponse struct {
}
type PostAppSessionsError ¶
type PostAppSessionsError struct {
Location string
RetryAfter interface{}
PcfPolicyAuthorizationExtendedProblemDetails models.PcfPolicyAuthorizationExtendedProblemDetails
ProblemDetails models.ProblemDetails
}
type PostAppSessionsEventNotificationPduSessionPostError ¶
type PostAppSessionsEventNotificationPduSessionPostError struct {
Location string
Var3gppSbiTargetNfId string
ProblemDetails models.ProblemDetails
RedirectResponse models.RedirectResponse
}
type PostAppSessionsEventNotificationPduSessionPostRequest ¶
type PostAppSessionsEventNotificationPduSessionPostRequest struct {
PduSessionEventNotification *models.PduSessionEventNotification
}
PostAppSessionsEventNotificationPduSessionPostRequest
func (*PostAppSessionsEventNotificationPduSessionPostRequest) SetPduSessionEventNotification ¶
func (r *PostAppSessionsEventNotificationPduSessionPostRequest) SetPduSessionEventNotification(PduSessionEventNotification models.PduSessionEventNotification)
type PostAppSessionsEventNotificationPduSessionPostResponse ¶
type PostAppSessionsEventNotificationPduSessionPostResponse struct {
}
type PostAppSessionsEventNotificationPostError ¶
type PostAppSessionsEventNotificationPostError struct {
Location string
Var3gppSbiTargetNfId string
ProblemDetails models.ProblemDetails
RedirectResponse models.RedirectResponse
}
type PostAppSessionsEventNotificationPostRequest ¶
type PostAppSessionsEventNotificationPostRequest struct {
PcfPolicyAuthorizationEventsNotification *models.PcfPolicyAuthorizationEventsNotification
}
PostAppSessionsEventNotificationPostRequest
func (*PostAppSessionsEventNotificationPostRequest) SetPcfPolicyAuthorizationEventsNotification ¶
func (r *PostAppSessionsEventNotificationPostRequest) SetPcfPolicyAuthorizationEventsNotification(PcfPolicyAuthorizationEventsNotification models.PcfPolicyAuthorizationEventsNotification)
type PostAppSessionsEventNotificationPostResponse ¶
type PostAppSessionsEventNotificationPostResponse struct {
}
type PostAppSessionsRequest ¶
type PostAppSessionsRequest struct {
AppSessionContext *models.AppSessionContext
}
PostAppSessionsRequest
func (*PostAppSessionsRequest) SetAppSessionContext ¶
func (r *PostAppSessionsRequest) SetAppSessionContext(AppSessionContext models.AppSessionContext)
type PostAppSessionsResponse ¶
type PostAppSessionsResponse struct {
Location string
AppSessionContext models.AppSessionContext
}
type PostAppSessionsTerminationRequestPostError ¶
type PostAppSessionsTerminationRequestPostError struct {
Location string
Var3gppSbiTargetNfId string
ProblemDetails models.ProblemDetails
RedirectResponse models.RedirectResponse
}
type PostAppSessionsTerminationRequestPostRequest ¶
type PostAppSessionsTerminationRequestPostRequest struct {
TerminationInfo *models.TerminationInfo
}
PostAppSessionsTerminationRequestPostRequest
func (*PostAppSessionsTerminationRequestPostRequest) SetTerminationInfo ¶
func (r *PostAppSessionsTerminationRequestPostRequest) SetTerminationInfo(TerminationInfo models.TerminationInfo)
type PostAppSessionsTerminationRequestPostResponse ¶
type PostAppSessionsTerminationRequestPostResponse struct {
}
type UpdateEventsSubscError ¶
type UpdateEventsSubscError struct {
Location string
Var3gppSbiTargetNfId string
ProblemDetails models.ProblemDetails
RedirectResponse models.RedirectResponse
}
type UpdateEventsSubscEventNotificationPostError ¶
type UpdateEventsSubscEventNotificationPostError struct {
Location string
Var3gppSbiTargetNfId string
ProblemDetails models.ProblemDetails
RedirectResponse models.RedirectResponse
}
type UpdateEventsSubscEventNotificationPostRequest ¶
type UpdateEventsSubscEventNotificationPostRequest struct {
PcfPolicyAuthorizationEventsNotification *models.PcfPolicyAuthorizationEventsNotification
}
UpdateEventsSubscEventNotificationPostRequest
func (*UpdateEventsSubscEventNotificationPostRequest) SetPcfPolicyAuthorizationEventsNotification ¶
func (r *UpdateEventsSubscEventNotificationPostRequest) SetPcfPolicyAuthorizationEventsNotification(PcfPolicyAuthorizationEventsNotification models.PcfPolicyAuthorizationEventsNotification)
type UpdateEventsSubscEventNotificationPostResponse ¶
type UpdateEventsSubscEventNotificationPostResponse struct {
}
type UpdateEventsSubscRequest ¶
type UpdateEventsSubscRequest struct {
AppSessionId *string
PcfPolicyAuthorizationEventsSubscReqData *models.PcfPolicyAuthorizationEventsSubscReqData
}
UpdateEventsSubscRequest
func (*UpdateEventsSubscRequest) SetAppSessionId ¶
func (r *UpdateEventsSubscRequest) SetAppSessionId(AppSessionId string)
func (*UpdateEventsSubscRequest) SetPcfPolicyAuthorizationEventsSubscReqData ¶
func (r *UpdateEventsSubscRequest) SetPcfPolicyAuthorizationEventsSubscReqData(PcfPolicyAuthorizationEventsSubscReqData models.PcfPolicyAuthorizationEventsSubscReqData)
type UpdateEventsSubscResponse ¶
type UpdateEventsSubscResponse struct {
Location string
EventsSubscPutData models.EventsSubscPutData
}