API: Add sample() method on Node

Defines a sample() method on Node API objects in order to provide
sample data used in the auto-generated documentation.

Change-Id: I660361ea3416ed7143b71cc9da5d40f2185a51c3
Partial-Bug: #1260337
Merge "API: Add sample() method on Node"