forked from wrjlewis/notion-search-alfred-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
searchresult.py
43 lines (34 loc) · 801 Bytes
/
searchresult.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
class SearchResult(object):
def __init__(self, id):
self._id = id
self._title = None
self._icon = None
self._link = None
self._subtitle = None
@property
def id(self):
return self._id
@property
def title(self):
return self._title
@title.setter
def title(self, value):
self._title = value
@property
def icon(self):
return self._icon
@icon.setter
def icon(self, value):
self._icon = value
@property
def link(self):
return self._link
@link.setter
def link(self, value):
self._link = value
@property
def subtitle(self):
return self._subtitle
@subtitle.setter
def subtitle(self, value):
self._subtitle = value