Class: Tag

Tag


new Tag( [json])

A tag in the FamilySearch system.
Parameters:
Name Type Argument Description
json Object <optional>

Extends

Methods


getResource()

Get the resource
Returns:
resource
Type
String

init(json)

Initialize from JSON
Parameters:
Name Type Description
json Object
Overrides:
Returns:
Tag this

<static> isInstance(obj)

Check whether the given object is an instance of this class.
Parameters:
Name Type Description
obj Object
Returns:
Type
Boolean

setResource(resource)

Set the resource
Parameters:
Name Type Description
resource String
Returns:
this
Type
Tag

toJSON()

Export the object as JSON
Overrides:
Returns:
JSON object
Type
Object