
A SetupData object contains all of the session’s configuration settings including Functions, Parameters, Data Objects, Joins, Roles, etc. Access this object via the SetupData Property.
The Api object has shortcut properties to several of SetupData's, granting access to them directly from there without having to reference SetupData. For example, calling api.DataSources will return a reference to the same DataSourceCollection as api.SetupData.DataSources.

public class SetupData
System.Object
WebReports.Api.Common.SetupData