class STIX2::Relationship
- STIX2::Relationship
- STIX2::Properties::Common
- STIX2::Properties::BasicCommon
- STIX2::Properties::Core
- Reference
- Object
Included Modules
Defined in:
objects/relationship.crConstructors
- .new(relationship_type : String, source_ref : String, target_ref : String)
- .new(pull : JSON::PullParser)
- .new(args : NamedTuple())
Instance Method Summary
- #relationship_type : String
- #relationship_type=(relationship_type : String)
- #source_ref : String
- #source_ref=(source_ref : String)
- #start_time : String?
- #start_time=(start_time : String?)
- #stop_time : String?
- #stop_time=(stop_time : String?)
- #target_ref : String
- #target_ref=(target_ref : String)
Instance methods inherited from module STIX2::Properties::DescriptionProperty
description : String?
description,
description=(description : String?)
description=
Instance methods inherited from class STIX2::Properties::Common
confidence : Int64 | Nil | Int32 | Nil
confidence,
confidence=(confidence : Int64 | Nil | Int32 | Nil)
confidence=,
created : String
created,
created=(created : String)
created=,
created_by_ref : String?
created_by_ref,
created_by_ref=(created_by_ref : String?)
created_by_ref=,
modified : String
modified,
modified=(modified : String)
modified=,
revoked : Bool?
revoked,
revoked=(revoked : Bool?)
revoked=
Constructor methods inherited from class STIX2::Properties::Common
new(pull : JSON::PullParser)new(object_type : String) new
Instance methods inherited from module STIX2::Properties::MarkingProperty
granular_markings
granular_markings,
granular_markings=(granular_markings : Array(STIX2::GranularMarking)?)
granular_markings=,
object_marking_refs
object_marking_refs,
object_marking_refs=(object_marking_refs : Array(String)?)
object_marking_refs=
Instance methods inherited from module STIX2::Properties::LangProperty
lang : String?
lang,
lang=(lang : String?)
lang=
Instance methods inherited from module STIX2::Properties::ExternalReferencesProperty
external_references
external_references,
external_references=(external_references : Array(STIX2::ExternalReference)?)
external_references=
Instance methods inherited from module STIX2::Properties::LabelsProperty
labels
labels,
labels=(labels : Array(String)?)
labels=
Instance methods inherited from class STIX2::Properties::BasicCommon
spec_version : String
spec_version
Constructor methods inherited from class STIX2::Properties::BasicCommon
new(pull : JSON::PullParser)new(object_type : String) new
Instance methods inherited from class STIX2::Properties::Core
id : String
id,
object_type : String
object_type
Constructor methods inherited from class STIX2::Properties::Core
new(pull : JSON::PullParser)new(object_type : String) new