# Copyright (c) 2017, The MITRE Corporation. All rights reserved.
# See LICENSE.txt for complete terms.
from mixbox import fields
import cybox.bindings.hostname_object as hostname_binding
from cybox.common import ObjectProperties, String
[docs]class Hostname(ObjectProperties):
_binding = hostname_binding
_binding_class = hostname_binding.HostnameObjectType
_namespace = "http://cybox.mitre.org/objects#HostnameObject-1"
_XSI_NS = "HostnameObj"
_XSI_TYPE = "HostnameObjectType"
is_domain_name = fields.TypedField("is_domain_name")
hostname_value = fields.TypedField("Hostname_Value", String)
naming_system = fields.TypedField("Naming_System", String, multiple=True)