Files
squatm3gator/squatm3-api/wrapper/3rdparty/squatm3/modules/Classes/Domain.py
2018-12-04 16:01:33 +01:00

14 lines
283 B
Python

# -*- coding: utf-8 -*-
import simplejson
class Domain:
def __init__(self):
self.fqdn = ""
self.purchasable = ""
self.price = ""
self.no_info = False
def _asdict(self):
return self.__dict__
def toJSON(self):
return simplejson.dumps(self.__dict__, ensure_ascii=False)