summaryrefslogtreecommitdiffstats
path: root/classes.py
blob: c100ceadeb7f743ec3274fcd3942f53b4e09c338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
class Network():
        name = ''
        url  = ''
        channels = []
        def __init__(self, name, url, channels):
                self.name     = name
                self.url      = url
                self.channels = channels
class Channel():
        name = ''
        url  = ''
        logs = []
        def __init__(self, name, url, logs):
                self.name = name
                self.url  = url
                self.logs = logs
class Log():
        name = ''
        url  = ''
        def __init__(self, name, url):
                self.name = name
                self.url  = url