SMPolCtrl

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: Apache-2.0 Imports: 8 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

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

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 {
	RequestBody *models.Pcf_SMPolCtrl_SmPolicyContextData
}

CreateSMPolicyRequest

func (*CreateSMPolicyRequest) SetRequestBody

func (r *CreateSMPolicyRequest) SetRequestBody(
	RequestBody models.Pcf_SMPolCtrl_SmPolicyContextData,
)

type CreateSMPolicyResponse

type CreateSMPolicyResponse struct {
	Location                       string
	Pcf_SMPolCtrl_SmPolicyDecision *models.Pcf_SMPolCtrl_SmPolicyDecision
}

type CreateSMPolicySmPolicyControlTerminationRequestNotificationError

type CreateSMPolicySmPolicyControlTerminationRequestNotificationError struct {
	Location                 string
	Var3gpp_Sbi_Target_Nf_Id string
	ProblemDetails           *models.ProblemDetails
	RedirectResponse         *models.RedirectResponse
}

type CreateSMPolicySmPolicyControlTerminationRequestNotificationRequest

type CreateSMPolicySmPolicyControlTerminationRequestNotificationRequest struct {
	RequestBody *models.Pcf_SMPolCtrl_TerminationNotification
}

CreateSMPolicySmPolicyControlTerminationRequestNotificationRequest

func (*CreateSMPolicySmPolicyControlTerminationRequestNotificationRequest) SetRequestBody

type CreateSMPolicySmPolicyControlTerminationRequestNotificationResponse

type CreateSMPolicySmPolicyControlTerminationRequestNotificationResponse struct{}

type CreateSMPolicySmPolicyUpdateNotificationError

type CreateSMPolicySmPolicyUpdateNotificationError struct {
	Location                  string
	Var3gpp_Sbi_Target_Nf_Id  string
	Pcf_SMPolCtrl_ErrorReport *models.Pcf_SMPolCtrl_ErrorReport
	ProblemDetails            *models.ProblemDetails
	RedirectResponse          *models.RedirectResponse
}

type CreateSMPolicySmPolicyUpdateNotificationRequest

type CreateSMPolicySmPolicyUpdateNotificationRequest struct {
	RequestBody *models.Pcf_SMPolCtrl_SmPolicyNotification
}

CreateSMPolicySmPolicyUpdateNotificationRequest

func (*CreateSMPolicySmPolicyUpdateNotificationRequest) SetRequestBody

type CreateSMPolicySmPolicyUpdateNotificationResponse

type CreateSMPolicySmPolicyUpdateNotificationResponse struct {
	CreateSMPolicySmPolicyUpdateNotificationResponse200 *models.CreateSMPolicySmPolicyUpdateNotificationResponse200
}

type DeleteSMPolicyError

type DeleteSMPolicyError struct {
	Location                 string
	Var3gpp_Sbi_Target_Nf_Id string
	ProblemDetails           *models.ProblemDetails
	RedirectResponse         *models.RedirectResponse
}

type DeleteSMPolicyRequest

type DeleteSMPolicyRequest struct {
	SmPolicyId  *string
	RequestBody *models.Pcf_SMPolCtrl_SmPolicyDeleteData
}

DeleteSMPolicyRequest

func (*DeleteSMPolicyRequest) SetRequestBody

func (r *DeleteSMPolicyRequest) SetRequestBody(
	RequestBody models.Pcf_SMPolCtrl_SmPolicyDeleteData,
)

func (*DeleteSMPolicyRequest) SetSmPolicyId

func (r *DeleteSMPolicyRequest) SetSmPolicyId(SmPolicyId string)

type DeleteSMPolicyResponse

type DeleteSMPolicyResponse struct{}

type GetSMPolicyError

type GetSMPolicyError struct {
	Location                 string
	Var3gpp_Sbi_Target_Nf_Id 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 {
	Pcf_SMPolCtrl_SmPolicyControl *models.Pcf_SMPolCtrl_SmPolicyControl
}

type IndividualSMPolicyDocumentApiService

type IndividualSMPolicyDocumentApiService service

func (*IndividualSMPolicyDocumentApiService) DeleteSMPolicy

func (*IndividualSMPolicyDocumentApiService) GetSMPolicy

func (*IndividualSMPolicyDocumentApiService) UpdateSMPolicy

type SMPoliciesCollectionApiService

type SMPoliciesCollectionApiService service

func (*SMPoliciesCollectionApiService) CreateSMPolicy

type UpdateSMPolicyError

type UpdateSMPolicyError struct {
	Location                 string
	Var3gpp_Sbi_Target_Nf_Id string
	ProblemDetails           *models.ProblemDetails
	RedirectResponse         *models.RedirectResponse
}

type UpdateSMPolicyRequest

type UpdateSMPolicyRequest struct {
	SmPolicyId  *string
	RequestBody *models.Pcf_SMPolCtrl_SmPolicyUpdateContextData
}

UpdateSMPolicyRequest

func (*UpdateSMPolicyRequest) SetRequestBody

func (r *UpdateSMPolicyRequest) SetRequestBody(
	RequestBody models.Pcf_SMPolCtrl_SmPolicyUpdateContextData,
)

func (*UpdateSMPolicyRequest) SetSmPolicyId

func (r *UpdateSMPolicyRequest) SetSmPolicyId(SmPolicyId string)

type UpdateSMPolicyResponse

type UpdateSMPolicyResponse struct {
	Pcf_SMPolCtrl_SmPolicyDecision *models.Pcf_SMPolCtrl_SmPolicyDecision
}

Jump to

Keyboard shortcuts

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