createdByUserId property Null safety

int? createdByUserId
read / write

The unique id of the user who created / uploaded this data point. null if this data point is not yet stored.

This user id is the server-side generated user id (an integer), and NOT the user id that this data point belongs to, which is stored in the DataPointHeader as the userId (a string, typically the email).

This createdByUserId id may, or may not, be identical to the id of the user who this data point belongs to. By being able to separate who uploads a data point and who the data point belongs to, allows for one user to upload data on behalf of another user. For example, a parent on behalf of a child.

Implementation

int? createdByUserId;