def __init__(self, _id=None, start_date=None, end_date=None, body=None): BaseModel.__init__(self) self.id = _id self.start_date = start_date self.end_date = end_date self.body = body self.result = {'value': {}, 'status': False}
def __init__(self, _id=None, name=None, email=None, message=None): BaseModel.__init__(self) self.id = _id self.name = name self.email = email self.message = message self.result = {'value': {}, 'status': False}
def __init__(self, _id=None, news=None, value=None, _type=None, agency=None): BaseModel.__init__(self) self.news = news self.value = value self.type = _type self.agency = agency self.id = _id self.result = {'value': {}, 'status': False}
def __init__(self, _id=None, news=None, title=None, user=None, text=None, link=None): BaseModel.__init__(self) self.id = _id self.news = news self.user = user self.text = text self.title = title self.link = link self.result = {'value': {}, 'status': False}
def __init__(self, _id=None, name=None, user=None, _type=None, _format=None, sections=None, manual=None): BaseModel.__init__(self) self.id = _id self.name = name self.type = _type self.format = _format self.sections = sections self.manual = manual self.user = user self.result = {'value': {}, 'status': False}
def __init__(self, _id=None, index=None, doc_type=None, body=None, item_id=None, result=None, function=None): BaseModel.__init__(self) self.id = _id self.date = datetime.datetime.now() self.index = index self.doc_type = doc_type self.body = body self.item_id = item_id self._result = result self.function = function self.value = [] self.result = {'value': {}, 'status': False}
def __init__(self, _id=None, font=None, size=None, general=None, keyword=None): BaseModel.__init__(self) self.key_font = "FONT" self.key_general = "GENERAL" self.key_keyword = "KEYWORD" self.id = _id self.font = font self.size = size self.general = general self.keyword = keyword self.result = {'value': {}, 'status': False}
def __init__(self, _id=None, start_time=None, error=None, message=None, count_read_news=None, count_links_read_with_news=None, count_all_links=None, times=None, end_time=None, content=None, killed=False, last_read_links=None, last_read_news=None, count_last_read_news=None, _type="ENGINE"): BaseModel.__init__(self) self.id = _id self.start_time = start_time self.type = _type self.error = error self.message = message self.count_read_news = count_read_news self.killed = killed self.count_links_read_with_news = count_links_read_with_news self.count_all_links = count_all_links self.times = times self.last_read_news = last_read_news self.count_last_read_news = count_last_read_news self.last_read_links = last_read_links self.end_time = end_time self.content = content self.value = [] self.result = {'value': {}, 'status': False}
def __init__(self, _id=None, agency=None, subject=None, content=None, title=None, link=None, geographic=None, group=None): BaseModel.__init__(self) self.id = _id self.agency = agency self.subject = subject self.content = content self.title = title self.link = link self.geographic = geographic self.group = group self.value = [] self.all_news = [] self.agency_list = [] self.subject_list = [] self.group_list = [] self.result = {'value': {}, 'status': False}
def __init__(self, _id=None, name=None, parent=0): BaseModel.__init__(self) self.id = _id self.name = name self.parent = parent self.result = {'value': {}, 'status': False}
def __init__(self): BaseModel.__init__(self) self.result = {'value': {}, 'status': False}
def __init__(self, _id=None, bolton=None, section=None): BaseModel.__init__(self) self.id = _id self.bolton = bolton self.section = section self.result = {'value': {}, 'status': False}
def __init__(self, _id=None, name=None, user=None): BaseModel.__init__(self) self.id = _id self.name = name self.user = user self.result = {'value': {}, 'status': False}
def __init__(self, _id=None, topic=None, keyword=None): BaseModel.__init__(self) self.id = _id self.topic = topic self.keyword = keyword self.result = {'value': {}, 'status': False}
def __init__(self, _id=None): BaseModel.__init__(self) self.id = _id self.result = {'value': {}, 'status': False}
def __init__(self, _id=None, name=None): BaseModel.__init__(self) self.id = _id self.name = name self.result = {'value': {}, 'status': False}