PolAuth

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 (*ApplicationSessionsCollectionApiService) PostAppSessionsEventNotification

func (*ApplicationSessionsCollectionApiService) PostAppSessionsEventNotificationPduSession

func (*ApplicationSessionsCollectionApiService) PostAppSessionsTerminationRequest

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 (*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 (*EventsSubscriptionDocumentApiService) UpdateEventsSubsc

func (*EventsSubscriptionDocumentApiService) UpdateEventsSubscEventNotification

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 (*IndividualApplicationSessionContextDocumentApiService) GetAppSession

func (*IndividualApplicationSessionContextDocumentApiService) ModAppSession

func (*IndividualApplicationSessionContextDocumentApiService) ModAppSessionEventNotification

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

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

type ModAppSessionResponse

type ModAppSessionResponse struct {
	Pcf_PolAuth_AppSessionContext *models.Pcf_PolAuth_AppSessionContext
}

type PCSCFRestorationIndicationApiService

type PCSCFRestorationIndicationApiService service

func (*PCSCFRestorationIndicationApiService) PcscfRestoration

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

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

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

type PostAppSessionsEventNotificationPduSessionResponse

type PostAppSessionsEventNotificationPduSessionResponse struct{}

type PostAppSessionsEventNotificationRequest

type PostAppSessionsEventNotificationRequest struct {
	RequestBody *models.Pcf_PolAuth_EventsNotification
}

PostAppSessionsEventNotificationRequest

func (*PostAppSessionsEventNotificationRequest) SetRequestBody

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

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

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
}

Jump to

Keyboard shortcuts

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