From 93a3acf7f24eeec110f186e0c7104493c35198f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volkan=20=C5=9Eahin?= Date: Wed, 22 Jun 2016 18:15:19 +0300 Subject: [PATCH] missing parameters were added --- opt/ahenk/base/model/PluginBean.py | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/opt/ahenk/base/model/PluginBean.py b/opt/ahenk/base/model/PluginBean.py index 510bfd9..265b521 100644 --- a/opt/ahenk/base/model/PluginBean.py +++ b/opt/ahenk/base/model/PluginBean.py @@ -1,13 +1,12 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # Author: Volkan Şahin -import json class PluginBean(object): """docstring for PluginBean""" - def __init__(self, p_id=None, active=None, create_date=None, deleted=None, description=None, machine_oriented=None, modify_date=None, name=None, policy_plugin=None, user_oriented=None, version=None): + def __init__(self, p_id=None, active=None, create_date=None, deleted=None, description=None, machine_oriented=None, modify_date=None, name=None, policy_plugin=None, task_plugin=None, user_oriented=None, version=None, x_based=None): self.id = p_id self.active = active self.create_date = create_date @@ -19,6 +18,8 @@ class PluginBean(object): self.policy_plugin = policy_plugin self.user_oriented = user_oriented self.version = version + self.task_plugin = task_plugin + self.x_based = x_based def get_user_oriented(self): return self.user_oriented @@ -85,3 +86,15 @@ class PluginBean(object): def set_version(self, version): self.version = version + + def get_x_based(self): + return self.x_based + + def set_x_based(self, x_based): + self.x_based = x_based + + def get_task_plugin(self): + return self.task_plugin + + def set_task_plugin(self, task_plugin): + self.task_plugin = task_plugin