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) SetBasePath(apiRoot string)
- func (c *Configuration) SetHTTPClient(client *http.Client)
- func (c *Configuration) SetHost(host string)
- func (c *Configuration) SetUserAgent(userAgent string)
- func (c *Configuration) UserAgent() string
- type DefaultApiService
- func (a *DefaultApiService) PostChargingData(ctx context.Context, request *PostChargingDataRequest) (*PostChargingDataResponse, error)
- func (a *DefaultApiService) PostChargingNotification(ctx context.Context, uri string, request *PostChargingNotificationRequest) (*PostChargingNotificationResponse, error)
- func (a *DefaultApiService) ReleaseChargingData(ctx context.Context, request *ReleaseChargingDataRequest) (*ReleaseChargingDataResponse, error)
- func (a *DefaultApiService) UpdateChargingData(ctx context.Context, request *UpdateChargingDataRequest) (*UpdateChargingDataResponse, error)
- type PostChargingDataError
- type PostChargingDataRequest
- type PostChargingDataResponse
- type PostChargingNotificationError
- type PostChargingNotificationRequest
- type PostChargingNotificationResponse
- type ReleaseChargingDataError
- type ReleaseChargingDataRequest
- type ReleaseChargingDataResponse
- type UpdateChargingDataError
- type UpdateChargingDataRequest
- type UpdateChargingDataResponse
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
// contains filtered or unexported fields
}
APIClient manages communication with the Nchf_ConvergedCharging API v3.1.6 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) SetHTTPClient ¶
func (c *Configuration) SetHTTPClient(client *http.Client)
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) PostChargingData ¶
func (a *DefaultApiService) PostChargingData(ctx context.Context, request *PostChargingDataRequest) (*PostChargingDataResponse, error)
func (*DefaultApiService) PostChargingNotification ¶
func (a *DefaultApiService) PostChargingNotification(ctx context.Context, uri string, request *PostChargingNotificationRequest) (*PostChargingNotificationResponse, error)
func (*DefaultApiService) ReleaseChargingData ¶
func (a *DefaultApiService) ReleaseChargingData(ctx context.Context, request *ReleaseChargingDataRequest) (*ReleaseChargingDataResponse, error)
func (*DefaultApiService) UpdateChargingData ¶
func (a *DefaultApiService) UpdateChargingData(ctx context.Context, request *UpdateChargingDataRequest) (*UpdateChargingDataResponse, error)
type PostChargingDataError ¶
type PostChargingDataError struct {
Location string
Var3gppSbiTargetNfId string
PostChargingDataResponse400 models.PostChargingDataResponse400
PostChargingDataResponse403 models.PostChargingDataResponse403
PostChargingDataResponse404 models.PostChargingDataResponse404
ProblemDetails models.ProblemDetails
RedirectResponse models.RedirectResponse
}
type PostChargingDataRequest ¶
type PostChargingDataRequest struct {
ChfConvergedChargingChargingDataRequest *models.ChfConvergedChargingChargingDataRequest
}
PostChargingDataRequest
func (*PostChargingDataRequest) SetChfConvergedChargingChargingDataRequest ¶
func (r *PostChargingDataRequest) SetChfConvergedChargingChargingDataRequest(ChfConvergedChargingChargingDataRequest models.ChfConvergedChargingChargingDataRequest)
type PostChargingDataResponse ¶
type PostChargingDataResponse struct {
Location string
ChfConvergedChargingChargingDataResponse models.ChfConvergedChargingChargingDataResponse
}
type PostChargingNotificationError ¶
type PostChargingNotificationError struct {
Location string
Var3gppSbiTargetNfId string
PostChargingNotificationResponse400 models.PostChargingNotificationResponse400
RedirectResponse models.RedirectResponse
}
type PostChargingNotificationRequest ¶
type PostChargingNotificationRequest struct {
ChargingNotifyRequest *models.ChargingNotifyRequest
}
PostChargingNotificationRequest
func NewPostChargingNotificationRequest ¶
func NewPostChargingNotificationRequest() *PostChargingNotificationRequest
func (*PostChargingNotificationRequest) SetChargingNotifyRequest ¶
func (r *PostChargingNotificationRequest) SetChargingNotifyRequest(ChargingNotifyRequest models.ChargingNotifyRequest)
type PostChargingNotificationResponse ¶
type PostChargingNotificationResponse struct {
ChargingNotifyResponse models.ChargingNotifyResponse
}
type ReleaseChargingDataError ¶
type ReleaseChargingDataError struct {
Location string
Var3gppSbiTargetNfId string
ProblemDetails models.ProblemDetails
RedirectResponse models.RedirectResponse
ReleaseChargingDataResponse404 models.ReleaseChargingDataResponse404
}
type ReleaseChargingDataRequest ¶
type ReleaseChargingDataRequest struct {
ChargingDataRef *string
ChfConvergedChargingChargingDataRequest *models.ChfConvergedChargingChargingDataRequest
}
ReleaseChargingDataRequest
func (*ReleaseChargingDataRequest) SetChargingDataRef ¶
func (r *ReleaseChargingDataRequest) SetChargingDataRef(ChargingDataRef string)
func (*ReleaseChargingDataRequest) SetChfConvergedChargingChargingDataRequest ¶
func (r *ReleaseChargingDataRequest) SetChfConvergedChargingChargingDataRequest(ChfConvergedChargingChargingDataRequest models.ChfConvergedChargingChargingDataRequest)
type ReleaseChargingDataResponse ¶
type ReleaseChargingDataResponse struct {
}
type UpdateChargingDataError ¶
type UpdateChargingDataError struct {
Location string
Var3gppSbiTargetNfId string
ProblemDetails models.ProblemDetails
RedirectResponse models.RedirectResponse
UpdateChargingDataResponse400 models.UpdateChargingDataResponse400
UpdateChargingDataResponse403 models.UpdateChargingDataResponse403
UpdateChargingDataResponse404 models.UpdateChargingDataResponse404
}
type UpdateChargingDataRequest ¶
type UpdateChargingDataRequest struct {
ChargingDataRef *string
ChfConvergedChargingChargingDataRequest *models.ChfConvergedChargingChargingDataRequest
}
UpdateChargingDataRequest
func (*UpdateChargingDataRequest) SetChargingDataRef ¶
func (r *UpdateChargingDataRequest) SetChargingDataRef(ChargingDataRef string)
func (*UpdateChargingDataRequest) SetChfConvergedChargingChargingDataRequest ¶
func (r *UpdateChargingDataRequest) SetChfConvergedChargingChargingDataRequest(ChfConvergedChargingChargingDataRequest models.ChfConvergedChargingChargingDataRequest)
type UpdateChargingDataResponse ¶
type UpdateChargingDataResponse struct {
ChfConvergedChargingChargingDataResponse models.ChfConvergedChargingChargingDataResponse
}
Click to show internal directories.
Click to hide internal directories.