MCPcopy Create free account
hub / github.com/Icinga/icinga2 / GetConfigFields

Method GetConfigFields

lib/db_ido/zonedbobject.cpp:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16{ }
17
18Dictionary::Ptr ZoneDbObject::GetConfigFields() const
19{
20 Zone::Ptr zone = static_pointer_cast<Zone>(GetObject());
21
22 return new Dictionary({
23 { "is_global", zone->IsGlobal() ? 1 : 0 },
24 { "parent_zone_object_id", zone->GetParent() }
25
26 });
27}
28
29Dictionary::Ptr ZoneDbObject::GetStatusFields() const
30{

Callers

nothing calls this directly

Calls 2

IsGlobalMethod · 0.80
GetParentMethod · 0.45

Tested by

no test coverage detected