mirror of https://github.com/Icinga/icinga2.git
parent
f1e37c4e72
commit
6705853e33
|
@ -106,6 +106,7 @@ bool TypeQueryHandler::HandleRequest(const ApiUser::Ptr& user, HttpRequest& requ
|
||||||
|
|
||||||
Dictionary::Ptr resultAttrs = new Dictionary();
|
Dictionary::Ptr resultAttrs = new Dictionary();
|
||||||
result1->Set("name", obj->GetName());
|
result1->Set("name", obj->GetName());
|
||||||
|
result1->Set("plural_name", obj->GetPluralName());
|
||||||
if (obj->GetBaseType())
|
if (obj->GetBaseType())
|
||||||
result1->Set("base", obj->GetBaseType()->GetName());
|
result1->Set("base", obj->GetBaseType()->GetName());
|
||||||
result1->Set("abstract", obj->IsAbstract());
|
result1->Set("abstract", obj->IsAbstract());
|
||||||
|
|
Loading…
Reference in New Issue