Documentation ¶
Index ¶
- 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 DefaultApiService
- func (a *DefaultApiService) SubscriptionsPost(ctx context.Context, nsmfEventExposure models.NsmfEventExposure) (models.NsmfEventExposure, *http.Response, error)
- func (a *DefaultApiService) SubscriptionsSubIdDelete(ctx context.Context, subId string) (*http.Response, error)
- func (a *DefaultApiService) SubscriptionsSubIdGet(ctx context.Context, subId string) (models.NsmfEventExposure, *http.Response, error)
- func (a *DefaultApiService) SubscriptionsSubIdPut(ctx context.Context, subId string, nsmfEventExposure models.NsmfEventExposure) (models.NsmfEventExposure, *http.Response, error)
- type DefaultCallbackApi
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct { // API Services DefaultApi *DefaultApiService DefaultCallbackApi *DefaultCallbackApi // contains filtered or unexported fields }
APIClient manages communication with the Nsmf_EventExposure 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 DefaultApiService ¶
type DefaultApiService service
func (*DefaultApiService) SubscriptionsPost ¶
func (a *DefaultApiService) SubscriptionsPost(ctx context.Context, nsmfEventExposure models.NsmfEventExposure) (models.NsmfEventExposure, *http.Response, error)
func (*DefaultApiService) SubscriptionsSubIdDelete ¶
func (*DefaultApiService) SubscriptionsSubIdGet ¶
func (a *DefaultApiService) SubscriptionsSubIdGet(ctx context.Context, subId string) (models.NsmfEventExposure, *http.Response, error)
func (*DefaultApiService) SubscriptionsSubIdPut ¶
func (a *DefaultApiService) SubscriptionsSubIdPut(ctx context.Context, subId string, nsmfEventExposure models.NsmfEventExposure) (models.NsmfEventExposure, *http.Response, error)
type DefaultCallbackApi ¶
type DefaultCallbackApi service
func (*DefaultCallbackApi) SmfEventExposureNotification ¶
func (a *DefaultCallbackApi) SmfEventExposureNotification(ctx context.Context, notificationUri string, request models.NsmfEventExposureNotification) (interface{}, *http.Response, error)
EventExposureNotification
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param notificationUri
- @param request
@return
Click to show internal directories.
Click to hide internal directories.