class

STIX2::Relationship

Inherits 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(relationship_type : String, source_ref : String, target_ref : String)
Source
new(pull : JSON::PullParser)
Source
new(args : NamedTuple(relationship_type: String, source_ref: String, target_ref: String))
Source

Instance methods

relationship_type
Source
relationship_type=(relationship_type : String)
Source
source_ref
Source
source_ref=(source_ref : String)
Source
start_time
Source
start_time=(start_time : String | Nil)
Source
stop_time
Source
stop_time=(stop_time : String | Nil)
Source
target_ref
Source
target_ref=(target_ref : String)
Source