class STIX2::Relationship

Included Modules

Defined in:

objects/relationship.cr

Constructors

Instance Method Summary

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

Constructor Detail

def self.new(relationship_type : String, source_ref : String, target_ref : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(args : NamedTuple()) #

[View source]

Instance Method Detail

def relationship_type : String #

[View source]
def relationship_type=(relationship_type : String) #

[View source]
def source_ref : String #

[View source]
def source_ref=(source_ref : String) #

[View source]
def start_time : String? #

[View source]
def start_time=(start_time : String?) #

[View source]
def stop_time : String? #

[View source]
def stop_time=(stop_time : String?) #

[View source]
def target_ref : String #

[View source]
def target_ref=(target_ref : String) #

[View source]