from jsonobject import (BooleanProperty, DefaultProperty, IntegerProperty,
                        JsonObject, ListProperty, StringProperty)


class TlsResult(JsonObject):
    ips_scanned = IntegerProperty()
    protocols = ListProperty(StringProperty())
    hsts_present = BooleanProperty()
    trusted = BooleanProperty()
    scan_results = DefaultProperty()
    domain = StringProperty()

from jsonobject import (BooleanProperty, DefaultProperty, IntegerProperty,
                        JsonObject, ListProperty, StringProperty)


class TlsResult(JsonObject):
    ips_scanned = IntegerProperty()
    protocols = ListProperty(StringProperty())
    hsts_present = BooleanProperty()
    trusted = BooleanProperty()
    scan_results = DefaultProperty()
    domain = StringProperty()
