observable

package
v0.0.0-...-ea44633 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObservableType

type ObservableType struct {
	Id            string             `json:"id,omitempty"`
	IdRef         string             `json:"idref,omitempty"`
	Negate        bool               `json:"negate,omitempty"`
	SightingCount uint               `json:"sighting_count,omitempty"`
	Title         string             `json:"title,omitempty"`
	Object        *object.ObjectType `json:"object,omitempty"`
}

func CreateObservable

func CreateObservable() ObservableType

func New

func New() ObservableType

func (*ObservableType) AddIdRef

func (this *ObservableType) AddIdRef(idref string)

func (*ObservableType) AddObject

func (this *ObservableType) AddObject(obj object.ObjectType)

func (*ObservableType) CreateId

func (this *ObservableType) CreateId()

func (*ObservableType) GetObject

func (this *ObservableType) GetObject() *object.ObjectType

func (*ObservableType) GetObjectProperties

func (this *ObservableType) GetObjectProperties() *object.PropertiesType

func (*ObservableType) IncreaseSightingCount

func (this *ObservableType) IncreaseSightingCount(u uint)

func (*ObservableType) SetNegate

func (this *ObservableType) SetNegate(b bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL