Documentation ¶
Index ¶
- type APIerSv2
- func (apiv2 *APIerSv2) Call(serviceMethod string, args interface{}, reply interface{}) error
- func (apier *APIerSv2) CountCDRs(attrs utils.RPCCDRsFilter, reply *int64) error
- func (apiv2 *APIerSv2) ExportCdrsToFile(attr AttrExportCdrsToFile, reply *utils.ExportedFileCdrs) (err error)
- func (apiv2 *APIerSv2) GetAccount(attr *utils.AttrGetAccount, reply *engine.Account) error
- func (apiv2 *APIerSv2) GetAccounts(attr utils.AttrGetAccounts, reply *[]*engine.Account) error
- func (apiv2 *APIerSv2) GetActions(attr AttrGetActions, reply *map[string]engine.Actions) error
- func (apier *APIerSv2) GetCDRs(attrs utils.RPCCDRsFilter, reply *[]*engine.ExternalCDR) error
- func (apiv2 *APIerSv2) GetDestinations(attr AttrGetDestinations, reply *[]*engine.Destination) (err error)
- func (self *APIerSv2) GetTPDestination(attrs AttrGetTPDestination, reply *utils.TPDestination) error
- func (apiv2 *APIerSv2) LoadAccountActions(attrs AttrLoadAccountActions, reply *string) error
- func (apiv2 *APIerSv2) LoadRatingProfile(attrs AttrLoadRatingProfile, reply *string) error
- func (apiv2 *APIerSv2) LoadTariffPlanFromFolder(attrs utils.AttrLoadTpFromFolder, reply *utils.LoadInstance) error
- func (apiv2 *APIerSv2) Ping(ign *utils.CGREvent, reply *string) error
- func (self *APIerSv2) RemoveTPDestination(attrs AttrGetTPDestination, reply *string) error
- func (apiv2 *APIerSv2) SetAccount(attr AttrSetAccount, reply *string) error
- func (apiv2 *APIerSv2) SetActions(attrs utils.AttrSetActions, reply *string) error
- func (APIerSv2 *APIerSv2) SetAttributeProfile(arg *AttributeWithCache, reply *string) error
- func (self *APIerSv2) SetTPDestination(attrs utils.TPDestination, reply *string) error
- type AttrExportCdrsToFile
- type AttrGetActions
- type AttrGetDestinations
- type AttrGetTPDestination
- type AttrLoadAccountActions
- type AttrLoadRatingProfile
- type AttrSetAccount
- type AttributeWithCache
- type CDRsV2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIerSv2 ¶
func (*APIerSv2) CountCDRs ¶
func (apier *APIerSv2) CountCDRs(attrs utils.RPCCDRsFilter, reply *int64) error
func (*APIerSv2) ExportCdrsToFile ¶
func (apiv2 *APIerSv2) ExportCdrsToFile(attr AttrExportCdrsToFile, reply *utils.ExportedFileCdrs) (err error)
Deprecated, please use APIerSv1.ExportCDRs instead
func (*APIerSv2) GetAccount ¶
Get balance
func (*APIerSv2) GetAccounts ¶
func (*APIerSv2) GetActions ¶
Retrieves actions attached to specific ActionsId within cache
func (*APIerSv2) GetCDRs ¶
func (apier *APIerSv2) GetCDRs(attrs utils.RPCCDRsFilter, reply *[]*engine.ExternalCDR) error
Retrieves CDRs based on the filters
func (*APIerSv2) GetDestinations ¶
func (apiv2 *APIerSv2) GetDestinations(attr AttrGetDestinations, reply *[]*engine.Destination) (err error)
GetDestinations returns a list of destination based on the destinationIDs given
func (*APIerSv2) GetTPDestination ¶
func (self *APIerSv2) GetTPDestination(attrs AttrGetTPDestination, reply *utils.TPDestination) error
Queries a specific destination
func (*APIerSv2) LoadAccountActions ¶
func (apiv2 *APIerSv2) LoadAccountActions(attrs AttrLoadAccountActions, reply *string) error
Process dependencies and load a specific AccountActions profile from storDb into dataDb.
func (*APIerSv2) LoadRatingProfile ¶
func (apiv2 *APIerSv2) LoadRatingProfile(attrs AttrLoadRatingProfile, reply *string) error
Process dependencies and load a specific rating profile from storDb into dataDb.
func (*APIerSv2) LoadTariffPlanFromFolder ¶
func (apiv2 *APIerSv2) LoadTariffPlanFromFolder(attrs utils.AttrLoadTpFromFolder, reply *utils.LoadInstance) error
func (*APIerSv2) RemoveTPDestination ¶
func (self *APIerSv2) RemoveTPDestination(attrs AttrGetTPDestination, reply *string) error
func (*APIerSv2) SetAccount ¶
func (apiv2 *APIerSv2) SetAccount(attr AttrSetAccount, reply *string) error
func (*APIerSv2) SetActions ¶
func (apiv2 *APIerSv2) SetActions(attrs utils.AttrSetActions, reply *string) error
func (*APIerSv2) SetAttributeProfile ¶
func (APIerSv2 *APIerSv2) SetAttributeProfile(arg *AttributeWithCache, reply *string) error
SetAttributeProfile add/update a new Attribute Profile
func (*APIerSv2) SetTPDestination ¶
func (self *APIerSv2) SetTPDestination(attrs utils.TPDestination, reply *string) error
Creates a new destination within a tariff plan
type AttrExportCdrsToFile ¶
type AttrExportCdrsToFile struct { CdrFormat *string // Cdr output file format <utils.CdreCdrFormats> FieldSeparator *string // Separator used between fields ExportID *string // Optional exportid ExportDirectory *string // If provided it overwrites the configured export directory ExportFileName *string // If provided the output filename will be set to this ExportTemplate *string // Exported fields template <""|fld1,fld2|> Verbose bool // Disable CgrIds reporting in reply/ExportedCgrIds and reply/UnexportedCgrIds utils.RPCCDRsFilter // Inherit the CDR filter attributes }
type AttrGetActions ¶
type AttrGetDestinations ¶
type AttrGetDestinations struct {
DestinationIDs []string
}
type AttrGetTPDestination ¶
type AttrLoadAccountActions ¶
type AttrLoadRatingProfile ¶
type AttrSetAccount ¶
type AttributeWithCache ¶
type AttributeWithCache struct { *engine.ExternalAttributeProfile Cache *string }
Click to show internal directories.
Click to hide internal directories.