class STIX2::Infrastructure

Included Modules

Defined in:

objects/infrastructure.cr

Constructors

Instance Method Summary

Instance methods inherited from module STIX2::Properties::SeenProperties

first_seen : String? first_seen, first_seen=(first_seen : String?) first_seen=, last_seen : String? last_seen, last_seen=(last_seen : String?) last_seen=

Instance methods inherited from module STIX2::Properties::AliasesProperty

aliases aliases, aliases=(aliases : Array(String)?) aliases=

Instance methods inherited from module STIX2::Properties::KillChainPhasesProperty

kill_chain_phases kill_chain_phases, kill_chain_phases=(kill_chain_phases : Array(STIX2::KillChainPhase)?) kill_chain_phases=

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(name : String, infrastructure_types : Array(String)) #

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

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

[View source]

Instance Method Detail

def infrastructure_types #

[View source]
def infrastructure_types=(infrastructure_types : Array(String)) #

[View source]
def name : String #

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

[View source]