-
Notifications
You must be signed in to change notification settings - Fork 0
/
MessageTemplate.py
35 lines (30 loc) · 1001 Bytes
/
MessageTemplate.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
class MessageTemplate:
def __init__(self, name, destinationName, destinationPath, outputFormat):
self.name = name
self.destinationName = destinationName
self.destinationPath = destinationPath
self.outputFormat = outputFormat
@property
def name(self):
return self.__name
@name.setter
def name(self, name):
self.__name = name
@property
def destinationName(self):
return self.__destinationName
@destinationName.setter
def destinationName(self, destinationName):
self.__destinationName = destinationName
@property
def destinationPath(self):
return self.__destinationPath
@destinationPath.setter
def targetMessageType(self, destinationPath):
self.__destinationPath = destinationPath
@property
def outputFormat(self):
return self.__outputFormat
@outputFormat.setter
def outputFormat(self, outputFormat):
self.__outputFormat = outputFormat