ThreatTypeSummary

class oci.threat_intelligence.models.ThreatTypeSummary(**kwargs)

Bases: object

The name of a threat type and its ID.

Methods

__init__(**kwargs) Initializes a new ThreatTypeSummary object with values from keyword arguments.

Attributes

id [Required] Gets the id of this ThreatTypeSummary.
name [Required] Gets the name of this ThreatTypeSummary.
__init__(**kwargs)

Initializes a new ThreatTypeSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this ThreatTypeSummary.
  • name (str) – The value to assign to the name property of this ThreatTypeSummary.
id

[Required] Gets the id of this ThreatTypeSummary. The OCID of the threat type

Returns:The id of this ThreatTypeSummary.
Return type:str
name

[Required] Gets the name of this ThreatTypeSummary. The name of the threat type

Returns:The name of this ThreatTypeSummary.
Return type:str