Class: FeatureSet

FeatureSet


new FeatureSet( [json])

A description of a FamilySearch feature.
Parameters:
Name Type Argument Description
json Object <optional>

Extends

Methods


getActivationDate()

Get the activationDate
Returns:
activationDate
Type
Date

getDescription()

Get the description
Returns:
description
Type
String

getEnabled()

Get the enabled flag
Returns:
enabled
Type
Boolean

getName()

Get the name
Returns:
name
Type
String

init(json)

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

<static> isInstance(obj)

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

setActivationDate(activationDate)

Set the activationDate
Parameters:
Name Type Description
activationDate Date | Integer
Returns:
this
Type
FeatureSet

setDescription(description)

Set the description
Parameters:
Name Type Description
description String
Returns:
this
Type
FeatureSet

setEnabled(enabled)

Set the enabled
Parameters:
Name Type Description
enabled Boolean
Returns:
this
Type
FeatureSet

setName(name)

Set the name
Parameters:
Name Type Description
name String
Returns:
this
Type
FeatureSet

toJSON()

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