Npcf_SMPolicyControl

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: Apache-2.0 Imports: 10 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
	DefaultApi         *DefaultApiService
	DefaultCallbackApi *DefaultCallbackApi
	// contains filtered or unexported fields
}

APIClient manages communication with the Npcf_SMPolicyControl 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 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) SmPoliciesPost

func (a *DefaultApiService) SmPoliciesPost(ctx context.Context, smPolicyContextData models.SmPolicyContextData) (models.SmPolicyDecision, *http.Response, error)

func (*DefaultApiService) SmPoliciesSmPolicyIdDeletePost

func (a *DefaultApiService) SmPoliciesSmPolicyIdDeletePost(ctx context.Context, smPolicyId string, smPolicyDeleteData models.SmPolicyDeleteData) (*http.Response, error)

func (*DefaultApiService) SmPoliciesSmPolicyIdGet

func (a *DefaultApiService) SmPoliciesSmPolicyIdGet(ctx context.Context, smPolicyId string) (models.SmPolicyControl, *http.Response, error)

func (*DefaultApiService) SmPoliciesSmPolicyIdUpdatePost

func (a *DefaultApiService) SmPoliciesSmPolicyIdUpdatePost(ctx context.Context, smPolicyId string, smPolicyUpdateContextData models.SmPolicyUpdateContextData) (models.SmPolicyDecision, *http.Response, error)

type DefaultCallbackApi

type DefaultCallbackApi service

func (*DefaultCallbackApi) SmPolicyControlTerminationRequestNotification

func (a *DefaultCallbackApi) SmPolicyControlTerminationRequestNotification(ctx context.Context, notificationUri string, request models.TerminationNotification) (*http.Response, error)

func (*DefaultCallbackApi) SmPolicyUpdateNotification

func (a *DefaultCallbackApi) SmPolicyUpdateNotification(ctx context.Context, notificationUri string, request models.SmPolicyNotification) (interface{}, *http.Response, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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