state_filters_real shouldn't be visible in the API

fixes #12171
This commit is contained in:
Michael Friedrich 2016-07-19 20:09:14 +02:00
parent 9075de67b1
commit 743a726752
4 changed files with 6 additions and 6 deletions

View File

@ -54,7 +54,7 @@ abstract class DbConnection : ConfigObject
return cat; return cat;
}}} }}}
}; };
int categories_filter_real (CategoryFilter); [no_user_view, no_user_modify] int categories_filter_real (CategoryFilter);
[config] bool enable_ha { [config] bool enable_ha {
default {{{ return true; }}} default {{{ return true; }}}

View File

@ -101,7 +101,7 @@ class Dependency : CustomVarObject < DependencyNameComposer
}; };
[config] array(Value) states; [config] array(Value) states;
int state_filter_real (StateFilter); [no_user_view, no_user_modify] int state_filter_real (StateFilter);
[config] bool ignore_soft_states { [config] bool ignore_soft_states {
default {{{ return true; }}} default {{{ return true; }}}

View File

@ -57,9 +57,9 @@ class Notification : CustomVarObject < NotificationNameComposer
[config, protected] array(name(UserGroup)) user_groups (UserGroupsRaw); [config, protected] array(name(UserGroup)) user_groups (UserGroupsRaw);
[config] Dictionary::Ptr times; [config] Dictionary::Ptr times;
[config] array(Value) types; [config] array(Value) types;
int type_filter_real (TypeFilter); [no_user_view, no_user_modify] int type_filter_real (TypeFilter);
[config] array(Value) states; [config] array(Value) states;
int state_filter_real (StateFilter); [no_user_view, no_user_modify] int state_filter_real (StateFilter);
[config, protected, required, navigation(host)] name(Host) host_name { [config, protected, required, navigation(host)] name(Host) host_name {
navigate {{{ navigate {{{
return Host::GetByName(GetHostName()); return Host::GetByName(GetHostName());

View File

@ -45,9 +45,9 @@ class User : CustomVarObject
}; };
[config] array(Value) types; [config] array(Value) types;
int type_filter_real (TypeFilter); [no_user_view, no_user_modify] int type_filter_real (TypeFilter);
[config] array(Value) states; [config] array(Value) states;
int state_filter_real (StateFilter); [no_user_view, no_user_modify] int state_filter_real (StateFilter);
[config] String email; [config] String email;
[config] String pager; [config] String pager;