class

STIX2::Identity

Inherits STIX2::Macro::CreateMethods < STIX2::Properties::DescriptionProperty < STIX2::Properties::Common < STIX2::Properties::MarkingProperty < STIX2::Macro::CreateMethods < STIX2::Properties::LangProperty < STIX2::Properties::ExternalReferencesProperty < STIX2::Macro::CreateMethods < STIX2::Properties::LabelsProperty < STIX2::Macro::CreateMethods < STIX2::Properties::BasicCommon < STIX2::Properties::Core < JSON::Serializable < Reference < Object

Constructors

new(name : String, identity_class : String)
Source
new(pull : JSON::PullParser)
Source
new(args : NamedTuple(name: String, identity_class: String))
Source

Instance methods

contact_information
Source
contact_information=(contact_information : String | Nil)
Source
identity_class
Source
identity_class=(identity_class : String)
Source
name
Source
name=(name : String)
Source
roles
Source
roles=(roles : Array(String) | Nil)
Source
sectors
Source
sectors=(sectors : Array(String) | Nil)
Source