Adding remove method on tptimings, modified SetTPTiming to update on exists

This commit is contained in:
DanB
2013-11-15 12:00:52 +01:00
parent c2af82e8b0
commit 751ec1e4c3
6 changed files with 39 additions and 18 deletions

View File

@@ -68,10 +68,10 @@ type TPRatingPlan struct {
}
type RatingPlan struct {
DestRatesId string // The DestinationRate identity
DestinationRatesId string // The DestinationRate identity
TimingId string // The timing identity
Weight float64 // Binding priority taken into consideration when more DestinationRates are active on a time slot
Timing *TPTiming
Timing *TPTiming //?
}
type TPRatingProfile struct {
@@ -91,7 +91,7 @@ type TPRatingProfile struct {
type RatingActivation struct {
ActivationTime string // Time when this profile will become active, defined as unix epoch time
DestRateTimingId string // Id of DestRateTiming profile
// FallbackKeys []string
// FallbackKeys []string //??
}
type AttrTPRatingProfileIds struct {
@@ -152,7 +152,7 @@ type ApiActionTrigger struct {
type ApiTPAccountActions struct {
TPid string // Tariff plan id
AccountActionsId string // AccountActions id
AccountActionsId string // AccountActions id, used to group actions on a load
Tenant string // Tenant's Id
Account string // Account name
Direction string // Traffic direction