class STIX2::Identity

Included Modules

Defined in:

objects/identity.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(name : String, identity_class : String) #

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

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

[View source]

Instance Method Detail

def contact_information : String? #

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

[View source]
def identity_class : String #

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

[View source]
def name : String #

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

[View source]
def roles #

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

[View source]
def sectors #

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

[View source]