def __json__(self, request): return { 'id': self.id, 'created': print_time(self.created), 'host': self.host, 'port': self.port }
def __json__(self, request): return { 'id': self.id, 'created': print_time(self.created), 'container_hash': self.container_hash, 'release_id': self.release_id, 'daemon_id': self.daemon_id }
def __json__(self, request): return { 'id': self.id, 'created': print_time(self.created), 'tag': self.tag, 'app_id': self.app_id, 'user_id': self.user_id }
def __json__(self, request): return { 'id': self.id, 'created': print_time(self.created), 'username': self.username, 'password': self.password, 'api_key': self.api_key }
def __json__(self, request): return { 'id': self.id, 'created': print_time(self.created), 'key_type': self.key_type, 'key_key': self.key_key, 'key_comment': self.key_comment, 'user_id': self.user_id }
def __json__(self, request): return {"id": self.id, "created": print_time(self.created), "name": self.name, "founder_id": self.founder_id}