Documentation ¶
Index ¶
- type APIClient
- type ApplicationSessionsCollectionApiService
- 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) HTTPClientOpenSSLCtx() *openssl.Ctx
- func (c *Configuration) Host() string
- func (c *Configuration) SetBasePath(apiRoot string)
- func (c *Configuration) SetHTTPClient(customClient *http.Client)
- func (c *Configuration) SetHost(host string)
- func (c *Configuration) SetOpenSSLCtx(tlsCtx *openssl.Ctx)
- func (c *Configuration) SetUserAgent(userAgent string)
- func (c *Configuration) UserAgent() string
- type DeleteAppSessionParamOpts
- type EventsSubscriptionDocumentApiService
- func (a *EventsSubscriptionDocumentApiService) DeleteEventsSubsc(ctx context.Context, appSessionId string) (*http.Response, error)
- func (a *EventsSubscriptionDocumentApiService) UpdateEventsSubsc(ctx context.Context, appSessionId string, ...) (models.UpdateEventsSubscResponse, *http.Response, error)
- type IndividualApplicationSessionContextDocumentApiService
- func (a *IndividualApplicationSessionContextDocumentApiService) DeleteAppSession(ctx context.Context, appSessionId string, ...) (models.AppSessionContext, *http.Response, error)
- func (a *IndividualApplicationSessionContextDocumentApiService) GetAppSession(ctx context.Context, appSessionId string) (models.AppSessionContext, *http.Response, error)
- func (a *IndividualApplicationSessionContextDocumentApiService) ModAppSession(ctx context.Context, appSessionId string, ...) (models.AppSessionContext, *http.Response, error)
- type PolicyAuthorizationEventNotificationApiService
- type PolicyAuthorizationTerminateRequestApiService
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 PolicyAuthorizationEventNotificationApi *PolicyAuthorizationEventNotificationApiService PolicyAuthorizationTerminateRequestApi *PolicyAuthorizationTerminateRequestApiService // contains filtered or unexported fields }
APIClient manages communication with the Npcf_PolicyAuthorization Service API API v1.0.1 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, appSessionContext models.AppSessionContext) (models.AppSessionContext, *http.Response, error)
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) HTTPClientOpenSSLCtx ¶
func (c *Configuration) HTTPClientOpenSSLCtx() *openssl.Ctx
func (*Configuration) Host ¶
func (c *Configuration) Host() string
func (*Configuration) SetBasePath ¶
func (c *Configuration) SetBasePath(apiRoot string)
func (*Configuration) SetHTTPClient ¶
func (c *Configuration) SetHTTPClient(customClient *http.Client)
func (*Configuration) SetHost ¶
func (c *Configuration) SetHost(host string)
func (*Configuration) SetOpenSSLCtx ¶
func (c *Configuration) SetOpenSSLCtx(tlsCtx *openssl.Ctx)
func (*Configuration) SetUserAgent ¶
func (c *Configuration) SetUserAgent(userAgent string)
func (*Configuration) UserAgent ¶
func (c *Configuration) UserAgent() string
type EventsSubscriptionDocumentApiService ¶
type EventsSubscriptionDocumentApiService service
func (*EventsSubscriptionDocumentApiService) DeleteEventsSubsc ¶
func (*EventsSubscriptionDocumentApiService) UpdateEventsSubsc ¶
func (a *EventsSubscriptionDocumentApiService) UpdateEventsSubsc(ctx context.Context, appSessionId string, eventsSubscReqData models.EventsSubscReqData) (models.UpdateEventsSubscResponse, *http.Response, error)
type IndividualApplicationSessionContextDocumentApiService ¶
type IndividualApplicationSessionContextDocumentApiService service
func (*IndividualApplicationSessionContextDocumentApiService) DeleteAppSession ¶
func (a *IndividualApplicationSessionContextDocumentApiService) DeleteAppSession(ctx context.Context, appSessionId string, localVarOptionals *DeleteAppSessionParamOpts) (models.AppSessionContext, *http.Response, error)
func (*IndividualApplicationSessionContextDocumentApiService) GetAppSession ¶
func (a *IndividualApplicationSessionContextDocumentApiService) GetAppSession(ctx context.Context, appSessionId string) (models.AppSessionContext, *http.Response, error)
func (*IndividualApplicationSessionContextDocumentApiService) ModAppSession ¶
func (a *IndividualApplicationSessionContextDocumentApiService) ModAppSession(ctx context.Context, appSessionId string, appSessionContextUpdateData models.AppSessionContextUpdateData) (models.AppSessionContext, *http.Response, error)
type PolicyAuthorizationEventNotificationApiService ¶
type PolicyAuthorizationEventNotificationApiService service
func (*PolicyAuthorizationEventNotificationApiService) PolicyAuthorizationEventNotification ¶
func (a *PolicyAuthorizationEventNotificationApiService) PolicyAuthorizationEventNotification(ctx context.Context, afNotifyUri string, request models.EventsNotification) (*http.Response, error)
type PolicyAuthorizationTerminateRequestApiService ¶
type PolicyAuthorizationTerminateRequestApiService service
func (*PolicyAuthorizationTerminateRequestApiService) PolicyAuthorizationTerminateRequest ¶
func (a *PolicyAuthorizationTerminateRequestApiService) PolicyAuthorizationTerminateRequest(ctx context.Context, afNotifyUri string, request models.TerminationInfo) (*http.Response, error)
Click to show internal directories.
Click to hide internal directories.