mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Added omitempty for process event reply
This commit is contained in:
committed by
Dan Christian Bogos
parent
9cef3b28f4
commit
263ba47355
@@ -144,6 +144,7 @@ cgrates (0.11.0~dev) UNRELEASED; urgency=medium
|
||||
* [AgentS] Added *routes_maxcost flag
|
||||
* [SessionS] Added *sessionChargeable session option to control session charging
|
||||
* [SessionS] Replaced max_call_duration config with default_usage for each ToR
|
||||
* [SessionS] Added JSON and GOB BiRPC support
|
||||
|
||||
-- DanB <danb@cgrates.org> Wed, 19 Feb 2020 13:25:52 +0200
|
||||
|
||||
|
||||
@@ -3038,14 +3038,14 @@ type V1ProcessEventArgs struct {
|
||||
|
||||
// V1ProcessEventReply is the reply for the ProcessEvent API
|
||||
type V1ProcessEventReply struct {
|
||||
MaxUsage map[string]time.Duration
|
||||
Cost map[string]float64 // Cost is the cost received from Rater, ignoring accounting part
|
||||
ResourceAllocation map[string]string
|
||||
Attributes map[string]*engine.AttrSProcessEventReply
|
||||
Routes map[string]*engine.SortedRoutes
|
||||
ThresholdIDs map[string][]string
|
||||
StatQueueIDs map[string][]string
|
||||
STIRIdentity map[string]string
|
||||
MaxUsage map[string]time.Duration `json:",omitempty"`
|
||||
Cost map[string]float64 `json:",omitempty"` // Cost is the cost received from Rater, ignoring accounting part
|
||||
ResourceAllocation map[string]string `json:",omitempty"`
|
||||
Attributes map[string]*engine.AttrSProcessEventReply `json:",omitempty"`
|
||||
Routes map[string]*engine.SortedRoutes `json:",omitempty"`
|
||||
ThresholdIDs map[string][]string `json:",omitempty"`
|
||||
StatQueueIDs map[string][]string `json:",omitempty"`
|
||||
STIRIdentity map[string]string `json:",omitempty"`
|
||||
}
|
||||
|
||||
// AsNavigableMap is part of engine.NavigableMapper interface
|
||||
|
||||
Reference in New Issue
Block a user