Version: 2.1.0.14
cybox.common.properties
module¶
-
class
cybox.common.properties.
BaseProperty
(value=None)[source]¶ - XML binding class:
cybox.bindings.cybox_common.BaseObjectPropertyType
-
is_plain
()[source]¶ Whether the Property can be represented as a single value.
The datatype can be inferred by the particular BaseProperty subclass, so if datatype and value are the only non-None properties, the BaseProperty can be represented by a single value rather than a dictionary. This makes the JSON representation simpler without losing any data fidelity.
-
-
class
cybox.common.properties.
AnyURI
(value=None)[source]¶ - XML binding class:
cybox.bindings.cybox_common.AnyURIObjectPropertyType
-
class
cybox.common.properties.
Base64Binary
(value=None)[source]¶ - XML binding class:
cybox.bindings.cybox_common.Base64BinaryObjectPropertyType
-
class
cybox.common.properties.
Date
(value=None, precision='day')[source]¶ - XML binding class:
cybox.bindings.cybox_common.DateObjectPropertyType
-
class
cybox.common.properties.
DateTime
(value=None, precision='second')[source]¶ - XML binding class:
cybox.bindings.cybox_common.DateTimeObjectPropertyType
-
class
cybox.common.properties.
Double
(value=None)[source]¶ - XML binding class:
cybox.bindings.cybox_common.DoubleObjectPropertyType
-
class
cybox.common.properties.
Duration
(value=None)[source]¶ - XML binding class:
cybox.bindings.cybox_common.DurationObjectPropertyType
-
class
cybox.common.properties.
Float
(value=None)[source]¶ - XML binding class:
cybox.bindings.cybox_common.FloatObjectPropertyType
-
class
cybox.common.properties.
HexBinary
(value=None)[source]¶ - XML binding class:
cybox.bindings.cybox_common.HexBinaryObjectPropertyType
-
class
cybox.common.properties.
Integer
(value=None)[source]¶ - XML binding class:
cybox.bindings.cybox_common.IntegerObjectPropertyType
-
class
cybox.common.properties.
Long
(value=None)[source]¶ - XML binding class:
cybox.bindings.cybox_common.LongObjectPropertyType
-
class
cybox.common.properties.
Name
(value=None)[source]¶ - XML binding class:
cybox.bindings.cybox_common.NameObjectPropertyType
-
class
cybox.common.properties.
NonNegativeInteger
(value=None)[source]¶ - XML binding class:
cybox.bindings.cybox_common.NonNegativeIntegerObjectPropertyType
-
class
cybox.common.properties.
PositiveInteger
(value=None)[source]¶ - XML binding class:
cybox.bindings.cybox_common.PositiveIntegerObjectPropertyType
-
class
cybox.common.properties.
String
(value=None)[source]¶ - XML binding class:
cybox.bindings.cybox_common.StringObjectPropertyType
-
class
cybox.common.properties.
Time
(value=None, precision='second')[source]¶ - XML binding class:
cybox.bindings.cybox_common.TimeObjectPropertyType