Skip to content

NewgroundsIO.BaseObject

PsychoGoldfishNG edited this page Aug 31, 2022 · 3 revisions

BaseObject

The base object all models will use

Kind: global class

baseObject.type : string

Used to tell serialization that this is an object model.

Kind: instance property of BaseObject

baseObject.isValid() ⇒ boolean

Returns true if all required properties are set.

Kind: instance method of BaseObject

baseObject.setCore(core)

Recursively links a core instance.

Kind: instance method of BaseObject

Param Type
core NewgroundsIO

baseObject.toJSON() ⇒ object

Returns an object suitable for serializing to a JSON string.

Kind: instance method of BaseObject

baseObject.toSecureJSON() ⇒ string

Serializes this object to an encrypted JSON string

Kind: instance method of BaseObject

Clone this wiki locally