IndicatorReference¶
-
class
oci.threat_intelligence.models.
IndicatorReference
(**kwargs)¶ Bases:
oci.threat_intelligence.models.entity_reference.EntityReference
A reference to a threat indicator resource.
Attributes
TYPE_INDICATOR
str(object=’’) -> str indicator_id
[Required] Gets the indicator_id of this IndicatorReference. type
[Required] Gets the type of this EntityReference. Methods
__init__
(**kwargs)Initializes a new IndicatorReference object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
TYPE_INDICATOR
= 'INDICATOR'¶
-
__init__
(**kwargs)¶ Initializes a new IndicatorReference object with values from keyword arguments. The default value of the
type
attribute of this class isINDICATOR
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - type (str) – The value to assign to the type property of this IndicatorReference. Allowed values for this property are: “INDICATOR”
- indicator_id (str) – The value to assign to the indicator_id property of this IndicatorReference.
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
indicator_id
¶ [Required] Gets the indicator_id of this IndicatorReference. The unique OCID of the referenced threat indicator.
Returns: The indicator_id of this IndicatorReference. Return type: str
-
type
¶ [Required] Gets the type of this EntityReference. The type of the referenced entity.
Allowed values for this property are: “INDICATOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this EntityReference. Return type: str
-