Finished changing Opts to APIOpts for structs used in api_interfaces

This commit is contained in:
andronache
2021-03-22 16:29:59 +02:00
committed by Dan Christian Bogos
parent 38b02c642c
commit 806c8295be
95 changed files with 600 additions and 600 deletions

View File

@@ -562,9 +562,9 @@ func (self *UsageRecord) GetId() string {
return utils.Sha1(self.ToR, self.RequestType, self.Tenant, self.Category, self.Account, self.Subject, self.Destination, self.SetupTime, self.AnswerTime, self.Usage)
}
type ExternalCDRWithOpts struct {
type ExternalCDRWithAPIOpts struct {
*ExternalCDR
Opts map[string]interface{}
APIOpts map[string]interface{}
}
type UsageRecordWithOpts struct {
@@ -572,7 +572,7 @@ type UsageRecordWithOpts struct {
Opts map[string]interface{}
}
type CDRWithOpts struct {
type CDRWithAPIOpts struct {
*CDR
Opts map[string]interface{}
APIOpts map[string]interface{}
}