Versions in this module Expand all Collapse all v0 v0.6.1 Jan 15, 2020 Changes in this version + func Compare(correct, toTest *Collection) (bool, int, []string) + type Collection struct + CanRead bool + CanWrite bool + DatastoreID int + DateAdded string + Enabled bool + Hidden bool + MediaTypes []string + Size int + func NewCollection() *Collection + func (o *Collection) AddMediaType(s string) error + func (o *Collection) GetCanRead() bool + func (o *Collection) GetCanWrite() bool + func (o *Collection) SetCanRead() error + func (o *Collection) SetCanWrite() error + func (o *Collection) SetDisabled() error + func (o *Collection) SetEnabled() error + func (o *Collection) SetHidden() error + func (o *Collection) SetVisible() error + func (r *Collection) Compare(toTest *Collection) (bool, int, []string) + type CollectionQuery struct + AddedAfter []string + AddedBefore []string + CollectionDatastoreID int + CollectionUUID string + Limit []string + STIXID []string + STIXType []string + STIXVersion []string + ServerRecordLimit int + SpecVersion []string + func NewCollectionQuery(id string, limit int) *CollectionQuery + type CollectionQueryResult struct + DateAddedFirst string + DateAddedLast string + ManifestData manifest.Manifest + ObjectData envelope.Envelope + Size int + VersionsData versions.Versions + type Collections struct + Collections []Collection + func New() *Collections + func (o *Collections) AddCollection(c *Collection) (int, error) + func (o *Collections) NewCollection() (*Collection, error)