SMPolicyControl

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: Apache-2.0 Imports: 7 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
	IndividualSMPolicyDocumentApi *IndividualSMPolicyDocumentApiService
	SMPoliciesCollectionApi       *SMPoliciesCollectionApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Npcf_SMPolicyControl API API v1.2.4 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 {
	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 added in v1.2.1

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 added in v1.2.1

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 CreateSMPolicyError

type CreateSMPolicyError struct {
	Location       string
	ProblemDetails models.ProblemDetails
}

type CreateSMPolicyRequest

type CreateSMPolicyRequest struct {
	SmPolicyContextData *models.SmPolicyContextData
}

CreateSMPolicyRequest

func (*CreateSMPolicyRequest) SetSmPolicyContextData

func (r *CreateSMPolicyRequest) SetSmPolicyContextData(SmPolicyContextData models.SmPolicyContextData)

type CreateSMPolicyResponse

type CreateSMPolicyResponse struct {
	Location         string
	SmPolicyDecision models.SmPolicyDecision
}

type DeleteSMPolicyError

type DeleteSMPolicyError struct {
	Location             string
	Var3gppSbiTargetNfId string
	ProblemDetails       models.ProblemDetails
	RedirectResponse     models.RedirectResponse
}

type DeleteSMPolicyRequest

type DeleteSMPolicyRequest struct {
	SmPolicyId         *string
	SmPolicyDeleteData *models.SmPolicyDeleteData
}

DeleteSMPolicyRequest

func (*DeleteSMPolicyRequest) SetSmPolicyDeleteData

func (r *DeleteSMPolicyRequest) SetSmPolicyDeleteData(SmPolicyDeleteData models.SmPolicyDeleteData)

func (*DeleteSMPolicyRequest) SetSmPolicyId

func (r *DeleteSMPolicyRequest) SetSmPolicyId(SmPolicyId string)

type DeleteSMPolicyResponse

type DeleteSMPolicyResponse struct {
}

type GetSMPolicyError

type GetSMPolicyError struct {
	Location             string
	Var3gppSbiTargetNfId string
	ProblemDetails       models.ProblemDetails
	RedirectResponse     models.RedirectResponse
}

type GetSMPolicyRequest

type GetSMPolicyRequest struct {
	SmPolicyId *string
}

GetSMPolicyRequest

func (*GetSMPolicyRequest) SetSmPolicyId

func (r *GetSMPolicyRequest) SetSmPolicyId(SmPolicyId string)

type GetSMPolicyResponse

type GetSMPolicyResponse struct {
	SmPolicyControl models.SmPolicyControl
}

type IndividualSMPolicyDocumentApiService

type IndividualSMPolicyDocumentApiService service

func (*IndividualSMPolicyDocumentApiService) DeleteSMPolicy

func (*IndividualSMPolicyDocumentApiService) GetSMPolicy

func (*IndividualSMPolicyDocumentApiService) UpdateSMPolicy

type SMPoliciesCollectionApiService

type SMPoliciesCollectionApiService service

func (*SMPoliciesCollectionApiService) CreateSMPolicy

func (*SMPoliciesCollectionApiService) SMPolicyUpdateNotification

type SMPolicyTerminationRequestNotificationError

type SMPolicyTerminationRequestNotificationError struct {
	Location             string
	Var3gppSbiTargetNfId string
	ProblemDetails       models.ProblemDetails
	RedirectResponse     models.RedirectResponse
}

type SMPolicyTerminationRequestNotificationRequest

type SMPolicyTerminationRequestNotificationRequest struct {
	PcfSmPolicyControlTerminationNotification *models.PcfSmPolicyControlTerminationNotification
}

SMPolicyTerminationRequestNotificationRequest

func (*SMPolicyTerminationRequestNotificationRequest) SetPcfSmPolicyControlTerminationNotification

func (r *SMPolicyTerminationRequestNotificationRequest) SetPcfSmPolicyControlTerminationNotification(PcfSmPolicyControlTerminationNotification models.PcfSmPolicyControlTerminationNotification)

type SMPolicyTerminationRequestNotificationResponse

type SMPolicyTerminationRequestNotificationResponse struct {
}

type SMPolicyUpdateNotificationError

type SMPolicyUpdateNotificationError struct {
	Location             string
	Var3gppSbiTargetNfId string
	ErrorReport          models.ErrorReport
	ProblemDetails       models.ProblemDetails
	RedirectResponse     models.RedirectResponse
}

type SMPolicyUpdateNotificationRequest

type SMPolicyUpdateNotificationRequest struct {
	SmPolicyNotification *models.SmPolicyNotification
}

SMPolicyUpdateNotificationRequest

func (*SMPolicyUpdateNotificationRequest) SetSmPolicyNotification

func (r *SMPolicyUpdateNotificationRequest) SetSmPolicyNotification(SmPolicyNotification models.SmPolicyNotification)

type SMPolicyUpdateNotificationResponse

type SMPolicyUpdateNotificationResponse struct {
	SmPolicyUpdateNotificationResponse200 models.SmPolicyUpdateNotificationResponse200
}

type UpdateSMPolicyError

type UpdateSMPolicyError struct {
	Location             string
	Var3gppSbiTargetNfId string
	ProblemDetails       models.ProblemDetails
	RedirectResponse     models.RedirectResponse
}

type UpdateSMPolicyRequest

type UpdateSMPolicyRequest struct {
	SmPolicyId                *string
	SmPolicyUpdateContextData *models.SmPolicyUpdateContextData
}

UpdateSMPolicyRequest

func (*UpdateSMPolicyRequest) SetSmPolicyId

func (r *UpdateSMPolicyRequest) SetSmPolicyId(SmPolicyId string)

func (*UpdateSMPolicyRequest) SetSmPolicyUpdateContextData

func (r *UpdateSMPolicyRequest) SetSmPolicyUpdateContextData(SmPolicyUpdateContextData models.SmPolicyUpdateContextData)

type UpdateSMPolicyResponse

type UpdateSMPolicyResponse struct {
	SmPolicyDecision models.SmPolicyDecision
}

Jump to

Keyboard shortcuts

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