-
Notifications
You must be signed in to change notification settings - Fork 0
/
Elements.py
31 lines (25 loc) · 979 Bytes
/
Elements.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
class Element:
def __init__(self, required, description):
self.required = required
self.description = description
class File(Element):
def __init__(self, required, description, source, destination, usingHome, fileName):
super().__init__(required, description)
self.source = source
self.destination = destination
self.usingHome = usingHome
self.fileName = fileName
class Folder(Element):
def __init__(self, required, description, source, destination, usingHome, folderName):
self.source = source
self.destination = destination
self.required = required
self.description = description
self.usingHome = usingHome
self.folderName = folderName
class Package(Element):
def __init__(self, required, name, packageType, source):
super().__init__(required, name)
self.name = name
self.packageType = packageType
self.source = source