33 """Information about one Plugin."""
35 def __init__(self, plugin_id, attributes=None):
37 self.
_dict[
'plugin_id'] = plugin_id
38 self.
_dict[
'attributes'] = attributes
or {}
41 return self.
_dict[
'plugin_id']
44 return self.
_dict[
'attributes']
47 return self.
_dict.get(
'action', {})
50 self.
_dict[
'action'] = {
52 'statustip': statustip,
58 return self.
_dict.get(
'groups', [])
61 if 'groups' not in self.
_dict:
62 self.
_dict[
'groups'] = []
63 self.
_dict[
'groups'].append({
65 'statustip': statustip,