summaryrefslogtreecommitdiffstats
path: root/cobbler/serializable.py
blob: 7daa81a3e424f727361d3bfc187a3c0f34550260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import exceptions

class Serializable:

   def filename(self):
       return None

   def from_datastruct(self,datastruct):
       raise exceptions.NotImplementedError

   def to_datastruct(self):
       raise exceptions.NotImplementedError