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) Host() string
- func (c *Configuration) Metrics() openapi.RequestMetricsHook
- func (c *Configuration) SetBasePath(apiRoot string)
- func (c *Configuration) SetHTTPClient(client *http.Client)
- func (c *Configuration) SetHost(host string)
- func (c *Configuration) SetMetrics(h openapi.RequestMetricsHook)
- func (c *Configuration) SetUserAgent(userAgent string)
- func (c *Configuration) UserAgent() string
- type CreateError
- type CreateRequest
- type CreateResponse
- type CreateStatusNotifyError
- type CreateStatusNotifyRequest
- type CreateStatusNotifyResponse
- type DeleteError
- type DeleteRequest
- type DeleteResponse
- type DeliverError
- type DeliverRequest
- type DeliverResponse
- type IndividualSMContextDocumentApiService
- func (a *IndividualSMContextDocumentApiService) Delete(ctx context.Context, request *DeleteRequest) (*DeleteResponse, error)
- func (a *IndividualSMContextDocumentApiService) Deliver(ctx context.Context, request *DeliverRequest) (*DeliverResponse, error)
- func (a *IndividualSMContextDocumentApiService) Update(ctx context.Context, request *UpdateRequest) (*UpdateResponse, error)
- type SMContextsCollectionCollectionApiService
- func (a *SMContextsCollectionCollectionApiService) Create(ctx context.Context, request *CreateRequest) (*CreateResponse, error)
- func (a *SMContextsCollectionCollectionApiService) CreateStatusNotify(ctx context.Context, uri string, request *CreateStatusNotifyRequest) (*CreateStatusNotifyResponse, error)
- type UpdateError
- type UpdateRequest
- type UpdateResponse
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 (c *Configuration) Metrics() openapi.RequestMetricsHook
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
func (r *CreateStatusNotifyRequest) SetRequestBody( RequestBody models.Nef_SMContext_SmContextStatusNotification, )
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 (a *IndividualSMContextDocumentApiService) Delete( ctx context.Context, request *DeleteRequest, ) (*DeleteResponse, error)
func (*IndividualSMContextDocumentApiService) Deliver ¶
func (a *IndividualSMContextDocumentApiService) Deliver( ctx context.Context, request *DeliverRequest, ) (*DeliverResponse, error)
func (*IndividualSMContextDocumentApiService) Update ¶
func (a *IndividualSMContextDocumentApiService) Update( ctx context.Context, request *UpdateRequest, ) (*UpdateResponse, error)
type SMContextsCollectionCollectionApiService ¶
type SMContextsCollectionCollectionApiService service
func (*SMContextsCollectionCollectionApiService) Create ¶
func (a *SMContextsCollectionCollectionApiService) Create( ctx context.Context, request *CreateRequest, ) (*CreateResponse, error)
func (*SMContextsCollectionCollectionApiService) CreateStatusNotify ¶ added in v1.3.0
func (a *SMContextsCollectionCollectionApiService) CreateStatusNotify( ctx context.Context, uri string, request *CreateStatusNotifyRequest, ) (*CreateStatusNotifyResponse, error)
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{}
Click to show internal directories.
Click to hide internal directories.