Pivot samples
Usage
Set fields
It is possible to set a new fields object.
Check documentation:
Getting/Setting Fields
setFields
Set fields