SMContext

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
	IndividualSMContextDocumentApi    *IndividualSMContextDocumentApiService
	SMContextsCollectionCollectionApi *SMContextsCollectionCollectionApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Nnef_SMContext 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 {
	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 CreateError

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

type CreateRequest

type CreateRequest struct {
	RequestBody *models.Nef_SMContext_SmContextCreateData
}

CreateRequest

func (*CreateRequest) SetRequestBody added in v1.3.0

func (r *CreateRequest) SetRequestBody(
	RequestBody models.Nef_SMContext_SmContextCreateData,
)

type CreateResponse

type CreateResponse struct {
	Location                           string
	Nef_SMContext_SmContextCreatedData *models.Nef_SMContext_SmContextCreatedData
}

type CreateStatusNotifyError added in v1.3.0

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

type CreateStatusNotifyRequest added in v1.3.0

type CreateStatusNotifyRequest struct {
	RequestBody *models.Nef_SMContext_SmContextStatusNotification
}

CreateStatusNotifyRequest

func (*CreateStatusNotifyRequest) SetRequestBody added in v1.3.0

type CreateStatusNotifyResponse added in v1.3.0

type CreateStatusNotifyResponse struct{}

type DeleteError

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

type DeleteRequest

type DeleteRequest struct {
	SmContextId *string
	RequestBody *models.Nef_SMContext_SmContextReleaseData
}

DeleteRequest

func (*DeleteRequest) SetRequestBody added in v1.3.0

func (r *DeleteRequest) SetRequestBody(
	RequestBody models.Nef_SMContext_SmContextReleaseData,
)

func (*DeleteRequest) SetSmContextId

func (r *DeleteRequest) SetSmContextId(SmContextId string)

type DeleteResponse

type DeleteResponse struct {
	Nef_SMContext_SmContextReleasedData *models.Nef_SMContext_SmContextReleasedData
}

type DeliverError

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

type DeliverRequest

type DeliverRequest struct {
	SmContextId *string
	RequestBody *models.DeliverRequestBody
}

DeliverRequest

func (*DeliverRequest) SetRequestBody added in v1.3.0

func (r *DeliverRequest) SetRequestBody(RequestBody models.DeliverRequestBody)

func (*DeliverRequest) SetSmContextId

func (r *DeliverRequest) SetSmContextId(SmContextId string)

type DeliverResponse

type DeliverResponse struct{}

type IndividualSMContextDocumentApiService

type IndividualSMContextDocumentApiService service

func (*IndividualSMContextDocumentApiService) Delete

func (*IndividualSMContextDocumentApiService) Deliver

func (*IndividualSMContextDocumentApiService) Update

type SMContextsCollectionCollectionApiService

type SMContextsCollectionCollectionApiService service

func (*SMContextsCollectionCollectionApiService) Create

func (*SMContextsCollectionCollectionApiService) CreateStatusNotify added in v1.3.0

type UpdateError

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

type UpdateRequest

type UpdateRequest struct {
	SmContextId *string
	RequestBody *models.Nef_SMContext_SmContextUpdateData
}

UpdateRequest

func (*UpdateRequest) SetRequestBody added in v1.3.0

func (r *UpdateRequest) SetRequestBody(
	RequestBody models.Nef_SMContext_SmContextUpdateData,
)

func (*UpdateRequest) SetSmContextId

func (r *UpdateRequest) SetSmContextId(SmContextId string)

type UpdateResponse

type UpdateResponse struct{}

Jump to

Keyboard shortcuts

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