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

12 lines
272 B
Python

# -*- coding: utf-8 -*-
import simplejson
class Result:
def __init__(self, messages, domains):
self.messages = messages
self.domains = domains
def _asdict(self):
return self.__dict__
def toJSON(self):
return simplejson.dumps(self.__dict__, ensure_ascii=False)