Documentation
¶
Index ¶
- type APIClient
- type ApplicationSessionsCollectionApiService
- func (a *ApplicationSessionsCollectionApiService) PostAppSessions(ctx context.Context, request *PostAppSessionsRequest) (*PostAppSessionsResponse, error)
- func (a *ApplicationSessionsCollectionApiService) PostAppSessionsDetected5GsBridgeForPduSession(ctx context.Context, uri string, ...) (*PostAppSessionsDetected5GsBridgeForPduSessionResponse, error)
- func (a *ApplicationSessionsCollectionApiService) PostAppSessionsEventNotification(ctx context.Context, uri string, ...) (*PostAppSessionsEventNotificationResponse, error)
- func (a *ApplicationSessionsCollectionApiService) PostAppSessionsEventNotificationPduSession(ctx context.Context, uri string, ...) (*PostAppSessionsEventNotificationPduSessionResponse, error)
- func (a *ApplicationSessionsCollectionApiService) PostAppSessionsTerminationRequest(ctx context.Context, uri string, ...) (*PostAppSessionsTerminationRequestResponse, 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) UpdateEventsSubscEventNotification(ctx context.Context, uri string, ...) (*UpdateEventsSubscEventNotificationResponse, 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) ModAppSessionEventNotification(ctx context.Context, uri string, ...) (*ModAppSessionEventNotificationResponse, error)
- type ModAppSessionError
- type ModAppSessionEventNotificationError
- type ModAppSessionEventNotificationRequest
- type ModAppSessionEventNotificationResponse
- type ModAppSessionRequest
- type ModAppSessionResponse
- type PCSCFRestorationIndicationApiService
- type PcscfRestorationError
- type PcscfRestorationRequest
- type PcscfRestorationResponse
- type PostAppSessionsDetected5GsBridgeForPduSessionError
- type PostAppSessionsDetected5GsBridgeForPduSessionRequest
- type PostAppSessionsDetected5GsBridgeForPduSessionResponse
- type PostAppSessionsError
- type PostAppSessionsEventNotificationError
- type PostAppSessionsEventNotificationPduSessionError
- type PostAppSessionsEventNotificationPduSessionRequest
- type PostAppSessionsEventNotificationPduSessionResponse
- type PostAppSessionsEventNotificationRequest
- type PostAppSessionsEventNotificationResponse
- type PostAppSessionsRequest
- type PostAppSessionsResponse
- type PostAppSessionsTerminationRequestError
- type PostAppSessionsTerminationRequestRequest
- type PostAppSessionsTerminationRequestResponse
- type UpdateEventsSubscError
- type UpdateEventsSubscEventNotificationError
- type UpdateEventsSubscEventNotificationRequest
- type UpdateEventsSubscEventNotificationResponse
- 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) PostAppSessionsDetected5GsBridgeForPduSession ¶
func (a *ApplicationSessionsCollectionApiService) PostAppSessionsDetected5GsBridgeForPduSession( ctx context.Context, uri string, request *PostAppSessionsDetected5GsBridgeForPduSessionRequest, ) (*PostAppSessionsDetected5GsBridgeForPduSessionResponse, error)
func (*ApplicationSessionsCollectionApiService) PostAppSessionsEventNotification ¶
func (a *ApplicationSessionsCollectionApiService) PostAppSessionsEventNotification( ctx context.Context, uri string, request *PostAppSessionsEventNotificationRequest, ) (*PostAppSessionsEventNotificationResponse, error)
func (*ApplicationSessionsCollectionApiService) PostAppSessionsEventNotificationPduSession ¶
func (a *ApplicationSessionsCollectionApiService) PostAppSessionsEventNotificationPduSession( ctx context.Context, uri string, request *PostAppSessionsEventNotificationPduSessionRequest, ) (*PostAppSessionsEventNotificationPduSessionResponse, error)
func (*ApplicationSessionsCollectionApiService) PostAppSessionsTerminationRequest ¶
func (a *ApplicationSessionsCollectionApiService) PostAppSessionsTerminationRequest( ctx context.Context, uri string, request *PostAppSessionsTerminationRequestRequest, ) (*PostAppSessionsTerminationRequestResponse, 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 ¶
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 ¶
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
Var3gpp_Sbi_Target_Nf_Id string
ProblemDetails *models.ProblemDetails
RedirectResponse *models.RedirectResponse
}
type DeleteAppSessionRequest ¶
type DeleteAppSessionRequest struct {
AppSessionId *string
RequestBody *models.Pcf_PolAuth_EventsSubscReqData
}
DeleteAppSessionRequest
func (*DeleteAppSessionRequest) SetAppSessionId ¶
func (r *DeleteAppSessionRequest) SetAppSessionId(AppSessionId string)
func (*DeleteAppSessionRequest) SetRequestBody ¶
func (r *DeleteAppSessionRequest) SetRequestBody( RequestBody models.Pcf_PolAuth_EventsSubscReqData, )
type DeleteAppSessionResponse ¶
type DeleteAppSessionResponse struct {
Pcf_PolAuth_AppSessionContext *models.Pcf_PolAuth_AppSessionContext
}
type DeleteEventsSubscError ¶
type DeleteEventsSubscError struct {
Location string
Var3gpp_Sbi_Target_Nf_Id 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) UpdateEventsSubscEventNotification ¶
func (a *EventsSubscriptionDocumentApiService) UpdateEventsSubscEventNotification( ctx context.Context, uri string, request *UpdateEventsSubscEventNotificationRequest, ) (*UpdateEventsSubscEventNotificationResponse, error)
type GetAppSessionError ¶
type GetAppSessionError struct {
Location string
Var3gpp_Sbi_Target_Nf_Id 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 {
Pcf_PolAuth_AppSessionContext *models.Pcf_PolAuth_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) ModAppSessionEventNotification ¶
func (a *IndividualApplicationSessionContextDocumentApiService) ModAppSessionEventNotification( ctx context.Context, uri string, request *ModAppSessionEventNotificationRequest, ) (*ModAppSessionEventNotificationResponse, error)
type ModAppSessionError ¶
type ModAppSessionError struct {
Location string
Retry_After interface{}
Var3gpp_Sbi_Target_Nf_Id string
Pcf_PolAuth_ExtendedProblemDetails *models.Pcf_PolAuth_ExtendedProblemDetails
ProblemDetails *models.ProblemDetails
RedirectResponse *models.RedirectResponse
}
type ModAppSessionEventNotificationError ¶
type ModAppSessionEventNotificationError struct {
Location string
Var3gpp_Sbi_Target_Nf_Id string
ProblemDetails *models.ProblemDetails
RedirectResponse *models.RedirectResponse
}
type ModAppSessionEventNotificationRequest ¶
type ModAppSessionEventNotificationRequest struct {
RequestBody *models.Pcf_PolAuth_EventsNotification
}
ModAppSessionEventNotificationRequest
func (*ModAppSessionEventNotificationRequest) SetRequestBody ¶
func (r *ModAppSessionEventNotificationRequest) SetRequestBody( RequestBody models.Pcf_PolAuth_EventsNotification, )
type ModAppSessionEventNotificationResponse ¶
type ModAppSessionEventNotificationResponse struct{}
type ModAppSessionRequest ¶
type ModAppSessionRequest struct {
AppSessionId *string
RequestBody *models.Pcf_PolAuth_AppSessionContextUpdateDataPatch
}
ModAppSessionRequest
func (*ModAppSessionRequest) SetAppSessionId ¶
func (r *ModAppSessionRequest) SetAppSessionId(AppSessionId string)
func (*ModAppSessionRequest) SetRequestBody ¶
func (r *ModAppSessionRequest) SetRequestBody( RequestBody models.Pcf_PolAuth_AppSessionContextUpdateDataPatch, )
type ModAppSessionResponse ¶
type ModAppSessionResponse struct {
Pcf_PolAuth_AppSessionContext *models.Pcf_PolAuth_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
Var3gpp_Sbi_Target_Nf_Id string
ProblemDetails *models.ProblemDetails
RedirectResponse *models.RedirectResponse
}
type PcscfRestorationRequest ¶
type PcscfRestorationRequest struct {
RequestBody *models.Pcf_PolAuth_PcscfRestorationRequestData
}
PcscfRestorationRequest
func (*PcscfRestorationRequest) SetRequestBody ¶
func (r *PcscfRestorationRequest) SetRequestBody( RequestBody models.Pcf_PolAuth_PcscfRestorationRequestData, )
type PcscfRestorationResponse ¶
type PcscfRestorationResponse struct{}
type PostAppSessionsDetected5GsBridgeForPduSessionError ¶
type PostAppSessionsDetected5GsBridgeForPduSessionError struct {
Location string
Var3gpp_Sbi_Target_Nf_Id string
ProblemDetails *models.ProblemDetails
RedirectResponse *models.RedirectResponse
}
type PostAppSessionsDetected5GsBridgeForPduSessionRequest ¶
type PostAppSessionsDetected5GsBridgeForPduSessionRequest struct {
RequestBody *models.Pcf_PolAuth_PduSessionTsnBridge
}
PostAppSessionsDetected5GsBridgeForPduSessionRequest
func (*PostAppSessionsDetected5GsBridgeForPduSessionRequest) SetRequestBody ¶
func (r *PostAppSessionsDetected5GsBridgeForPduSessionRequest) SetRequestBody( RequestBody models.Pcf_PolAuth_PduSessionTsnBridge, )
type PostAppSessionsDetected5GsBridgeForPduSessionResponse ¶
type PostAppSessionsDetected5GsBridgeForPduSessionResponse struct{}
type PostAppSessionsError ¶
type PostAppSessionsError struct {
Location string
Retry_After interface{}
Pcf_PolAuth_ExtendedProblemDetails *models.Pcf_PolAuth_ExtendedProblemDetails
ProblemDetails *models.ProblemDetails
}
type PostAppSessionsEventNotificationError ¶
type PostAppSessionsEventNotificationError struct {
Location string
Var3gpp_Sbi_Target_Nf_Id string
ProblemDetails *models.ProblemDetails
RedirectResponse *models.RedirectResponse
}
type PostAppSessionsEventNotificationPduSessionError ¶
type PostAppSessionsEventNotificationPduSessionError struct {
Location string
Var3gpp_Sbi_Target_Nf_Id string
ProblemDetails *models.ProblemDetails
RedirectResponse *models.RedirectResponse
}
type PostAppSessionsEventNotificationPduSessionRequest ¶
type PostAppSessionsEventNotificationPduSessionRequest struct {
RequestBody *models.Pcf_PolAuth_PduSessionEventNotification
}
PostAppSessionsEventNotificationPduSessionRequest
func (*PostAppSessionsEventNotificationPduSessionRequest) SetRequestBody ¶
func (r *PostAppSessionsEventNotificationPduSessionRequest) SetRequestBody( RequestBody models.Pcf_PolAuth_PduSessionEventNotification, )
type PostAppSessionsEventNotificationPduSessionResponse ¶
type PostAppSessionsEventNotificationPduSessionResponse struct{}
type PostAppSessionsEventNotificationRequest ¶
type PostAppSessionsEventNotificationRequest struct {
RequestBody *models.Pcf_PolAuth_EventsNotification
}
PostAppSessionsEventNotificationRequest
func (*PostAppSessionsEventNotificationRequest) SetRequestBody ¶
func (r *PostAppSessionsEventNotificationRequest) SetRequestBody( RequestBody models.Pcf_PolAuth_EventsNotification, )
type PostAppSessionsEventNotificationResponse ¶
type PostAppSessionsEventNotificationResponse struct{}
type PostAppSessionsRequest ¶
type PostAppSessionsRequest struct {
RequestBody *models.Pcf_PolAuth_AppSessionContext
}
PostAppSessionsRequest
func (*PostAppSessionsRequest) SetRequestBody ¶
func (r *PostAppSessionsRequest) SetRequestBody( RequestBody models.Pcf_PolAuth_AppSessionContext, )
type PostAppSessionsResponse ¶
type PostAppSessionsResponse struct {
Location string
Pcf_PolAuth_AppSessionContext *models.Pcf_PolAuth_AppSessionContext
}
type PostAppSessionsTerminationRequestError ¶
type PostAppSessionsTerminationRequestError struct {
Location string
Var3gpp_Sbi_Target_Nf_Id string
ProblemDetails *models.ProblemDetails
RedirectResponse *models.RedirectResponse
}
type PostAppSessionsTerminationRequestRequest ¶
type PostAppSessionsTerminationRequestRequest struct {
RequestBody *models.Pcf_PolAuth_TerminationInfo
}
PostAppSessionsTerminationRequestRequest
func (*PostAppSessionsTerminationRequestRequest) SetRequestBody ¶
func (r *PostAppSessionsTerminationRequestRequest) SetRequestBody( RequestBody models.Pcf_PolAuth_TerminationInfo, )
type PostAppSessionsTerminationRequestResponse ¶
type PostAppSessionsTerminationRequestResponse struct{}
type UpdateEventsSubscError ¶
type UpdateEventsSubscError struct {
Location string
Var3gpp_Sbi_Target_Nf_Id string
ProblemDetails *models.ProblemDetails
RedirectResponse *models.RedirectResponse
}
type UpdateEventsSubscEventNotificationError ¶
type UpdateEventsSubscEventNotificationError struct {
Location string
Var3gpp_Sbi_Target_Nf_Id string
ProblemDetails *models.ProblemDetails
RedirectResponse *models.RedirectResponse
}
type UpdateEventsSubscEventNotificationRequest ¶
type UpdateEventsSubscEventNotificationRequest struct {
RequestBody *models.Pcf_PolAuth_EventsNotification
}
UpdateEventsSubscEventNotificationRequest
func (*UpdateEventsSubscEventNotificationRequest) SetRequestBody ¶
func (r *UpdateEventsSubscEventNotificationRequest) SetRequestBody( RequestBody models.Pcf_PolAuth_EventsNotification, )
type UpdateEventsSubscEventNotificationResponse ¶
type UpdateEventsSubscEventNotificationResponse struct{}
type UpdateEventsSubscRequest ¶
type UpdateEventsSubscRequest struct {
AppSessionId *string
RequestBody *models.Pcf_PolAuth_EventsSubscReqData
}
UpdateEventsSubscRequest
func (*UpdateEventsSubscRequest) SetAppSessionId ¶
func (r *UpdateEventsSubscRequest) SetAppSessionId(AppSessionId string)
func (*UpdateEventsSubscRequest) SetRequestBody ¶
func (r *UpdateEventsSubscRequest) SetRequestBody( RequestBody models.Pcf_PolAuth_EventsSubscReqData, )
type UpdateEventsSubscResponse ¶
type UpdateEventsSubscResponse struct {
Location string
Pcf_PolAuth_EventsSubscPutData *models.Pcf_PolAuth_EventsSubscPutData
}