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) 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 IndividualTrafficInfluenceSubscriptionApiService
- func (a *IndividualTrafficInfluenceSubscriptionApiService) AfIdSubscriptionsSubscriptionIdDelete(ctx _context.Context, afId string, subscriptionId string) (*_nethttp.Response, error)
- func (a *IndividualTrafficInfluenceSubscriptionApiService) AfIdSubscriptionsSubscriptionIdGet(ctx _context.Context, afId string, subscriptionId string) (models_nef.TrafficInfluSub, *_nethttp.Response, error)
- func (a *IndividualTrafficInfluenceSubscriptionApiService) AfIdSubscriptionsSubscriptionIdPatch(ctx _context.Context, afId string, subscriptionId string, ...) (models_nef.TrafficInfluSub, *_nethttp.Response, error)
- func (a *IndividualTrafficInfluenceSubscriptionApiService) AfIdSubscriptionsSubscriptionIdPut(ctx _context.Context, afId string, subscriptionId string, ...) (models_nef.TrafficInfluSub, *_nethttp.Response, error)
- type TrafficInfluenceSubscriptionApiService
- func (a *TrafficInfluenceSubscriptionApiService) AfIdSubscriptionsGet(ctx _context.Context, afId string) ([]models_nef.TrafficInfluSub, *_nethttp.Response, error)
- func (a *TrafficInfluenceSubscriptionApiService) AfIdSubscriptionsPost(ctx _context.Context, afId string, trafficInfluSub models_nef.TrafficInfluSub) (models_nef.TrafficInfluSub, *_nethttp.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct { IndividualTrafficInfluenceSubscriptionApi *IndividualTrafficInfluenceSubscriptionApiService TrafficInfluenceSubscriptionApi *TrafficInfluenceSubscriptionApiService // contains filtered or unexported fields }
APIClient manages communication with the 3gpp-traffic-influence API v1.1.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
}
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
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 IndividualTrafficInfluenceSubscriptionApiService ¶
type IndividualTrafficInfluenceSubscriptionApiService service
IndividualTrafficInfluenceSubscriptionApiService IndividualTrafficInfluenceSubscriptionApi service
func (*IndividualTrafficInfluenceSubscriptionApiService) AfIdSubscriptionsSubscriptionIdDelete ¶
func (a *IndividualTrafficInfluenceSubscriptionApiService) AfIdSubscriptionsSubscriptionIdDelete(ctx _context.Context, afId string, subscriptionId string) (*_nethttp.Response, error)
AfIdSubscriptionsSubscriptionIdDelete Deletes an already existing subscription
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param afId Identifier of the AF
- @param subscriptionId Identifier of the subscription resource
func (*IndividualTrafficInfluenceSubscriptionApiService) AfIdSubscriptionsSubscriptionIdGet ¶
func (a *IndividualTrafficInfluenceSubscriptionApiService) AfIdSubscriptionsSubscriptionIdGet(ctx _context.Context, afId string, subscriptionId string) (models_nef.TrafficInfluSub, *_nethttp.Response, error)
AfIdSubscriptionsSubscriptionIdGet read an active subscriptions for the SCS/AS and the subscription Id
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param afId Identifier of the AF
- @param subscriptionId Identifier of the subscription resource
@return TrafficInfluSub
func (*IndividualTrafficInfluenceSubscriptionApiService) AfIdSubscriptionsSubscriptionIdPatch ¶
func (a *IndividualTrafficInfluenceSubscriptionApiService) AfIdSubscriptionsSubscriptionIdPatch(ctx _context.Context, afId string, subscriptionId string, trafficInfluSubPatch models_nef.TrafficInfluSubPatch) (models_nef.TrafficInfluSub, *_nethttp.Response, error)
AfIdSubscriptionsSubscriptionIdPatch Updates/replaces an existing subscription resource
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param afId Identifier of the AF
- @param subscriptionId Identifier of the subscription resource
- @param trafficInfluSubPatch
@return TrafficInfluSub
func (*IndividualTrafficInfluenceSubscriptionApiService) AfIdSubscriptionsSubscriptionIdPut ¶
func (a *IndividualTrafficInfluenceSubscriptionApiService) AfIdSubscriptionsSubscriptionIdPut(ctx _context.Context, afId string, subscriptionId string, trafficInfluSub models_nef.TrafficInfluSub) (models_nef.TrafficInfluSub, *_nethttp.Response, error)
AfIdSubscriptionsSubscriptionIdPut Updates/replaces an existing subscription resource
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param afId Identifier of the AF
- @param subscriptionId Identifier of the subscription resource
- @param trafficInfluSub Parameters to update/replace the existing subscription
@return TrafficInfluSub
type TrafficInfluenceSubscriptionApiService ¶
type TrafficInfluenceSubscriptionApiService service
TrafficInfluenceSubscriptionApiService TrafficInfluenceSubscriptionApi service
func (*TrafficInfluenceSubscriptionApiService) AfIdSubscriptionsGet ¶
func (a *TrafficInfluenceSubscriptionApiService) AfIdSubscriptionsGet(ctx _context.Context, afId string) ([]models_nef.TrafficInfluSub, *_nethttp.Response, error)
AfIdSubscriptionsGet read all of the active subscriptions for the AF
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param afId Identifier of the AF
@return []TrafficInfluSub
func (*TrafficInfluenceSubscriptionApiService) AfIdSubscriptionsPost ¶
func (a *TrafficInfluenceSubscriptionApiService) AfIdSubscriptionsPost(ctx _context.Context, afId string, trafficInfluSub models_nef.TrafficInfluSub) (models_nef.TrafficInfluSub, *_nethttp.Response, error)
AfIdSubscriptionsPost Creates a new subscription resource
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param afId Identifier of the AF
- @param trafficInfluSub Request to create a new subscription resource
@return TrafficInfluSub