Versions in this module Expand all Collapse all v0 v0.5.1 Dec 19, 2018 Changes in this version + func Compare(correct, toTest *CommonObjectProperties) (bool, int, []string) + type CommonBaseProperties struct + func (o *CommonBaseProperties) Verify() error + type CommonLanguageContentProperties struct + type CommonMarkingDefinitionProperties struct + type CommonObjectProperties struct + func (o *CommonObjectProperties) Compare(toTest *CommonObjectProperties) (bool, int, []string) + func (o *CommonObjectProperties) InitObject(stixType string) error + func (o *CommonObjectProperties) Verify() error + type ConfidenceProperty struct + Confidence int + func (o *ConfidenceProperty) GetConfidence() int + func (o *ConfidenceProperty) SetConfidence(i int) error + type CreatedByRefProperty struct + CreatedByRef string + func (o *CreatedByRefProperty) GetCreatedByRef() string + func (o *CreatedByRefProperty) SetCreatedByRef(s string) error + type CreatedModifiedProperty struct + Created string + Modified string + func (o *CreatedModifiedProperty) GetCreated() string + func (o *CreatedModifiedProperty) GetModified() string + func (o *CreatedModifiedProperty) SetCreated(t interface{}) error + func (o *CreatedModifiedProperty) SetCreatedToCurrentTime() error + func (o *CreatedModifiedProperty) SetModified(t interface{}) error + func (o *CreatedModifiedProperty) SetModifiedToCreated() error + func (o *CreatedModifiedProperty) SetModifiedToCurrentTime() error + type DatastoreIDProperty struct + DatastoreID int + func (o *DatastoreIDProperty) GetDatastoreID() int + func (o *DatastoreIDProperty) SetDatastoreID(i int) error + type ExternalReference struct + Description string + ExternalID string + Hashes map[string]string + SourceName string + URL string + func (o *ExternalReference) AddHash(k, v string) error + func (o *ExternalReference) GetDescription() string + func (o *ExternalReference) GetExternalID() string + func (o *ExternalReference) GetSourceName() string + func (o *ExternalReference) GetURL() string + func (o *ExternalReference) SetDescription(s string) error + func (o *ExternalReference) SetExternalID(s string) error + func (o *ExternalReference) SetSourceName(s string) error + func (o *ExternalReference) SetURL(s string) error + type ExternalReferencesProperty struct + ExternalReferences []ExternalReference + func (o *ExternalReferencesProperty) NewExternalReference() (*ExternalReference, error) + type GranularMarking struct + MarkingRef string + Selectors []string + func (o *GranularMarking) AddSelector(s string) error + func (o *GranularMarking) GetMarkingRef() string + func (o *GranularMarking) SetMarkingRef(s string) error + type IDProperty struct + ID string + func (o *IDProperty) CreateSTIXUUID(s string) (string, error) + func (o *IDProperty) GetID() string + func (o *IDProperty) SetID(s string) error + func (o *IDProperty) SetNewID(s string) error + type LabelsProperty struct + Labels []string + func (o *LabelsProperty) AddLabel(s string) error + type LangProperty struct + Lang string + func (o *LangProperty) GetLang() string + func (o *LangProperty) SetLang(s string) error + type MarkingProperties struct + GranularMarkings []GranularMarking + ObjectMarkingRefs []string + func (o *MarkingProperties) AddObjectMarkingRef(s string) error + type RawProperty struct + Raw []byte + func (o *RawProperty) GetRawData() []byte + func (o *RawProperty) SetRawData(data []byte) error + type RevokedProperty struct + Revoked bool + func (o *RevokedProperty) GetRevoked() bool + func (o *RevokedProperty) SetRevoked() error + type SpecVersionProperty struct + SpecVersion string + func (o *SpecVersionProperty) GetSpecVersion() string + func (o *SpecVersionProperty) SetSpecVersion(s string) error + func (o *SpecVersionProperty) SetSpecVersion20() error + func (o *SpecVersionProperty) SetSpecVersion21() error + type TypeProperty struct + ObjectType string + func (o *TypeProperty) GetObjectType() string + func (o *TypeProperty) SetObjectType(s string) error