Module Values.UserSource

Represents user metadata added to a Users dataset using the PutUsers API. For more information see Importing users individually.

Sourcetype nonrec t = {
  1. userId : StringType.t;
    (*

    The ID associated with the user.

    *)
  2. properties : UserProperties.t option;
    (*

    A string map of user-specific metadata. Each element in the map consists of a key-value pair. For example, {"numberOfVideosWatched": "45"}. The keys use camel case names that match the fields in the schema for the Users dataset. In the previous example, the numberOfVideosWatched matches the 'NUMBER_OF_VIDEOS_WATCHED' field defined in the Users schema. For categorical string data, to include multiple categories for a single user, separate each category with a pipe separator (|). For example, \"Member|Frequent shopper\".

    *)
}
Sourceval context_ : string
Sourceval make : ?properties:??? -> userId:StringType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of StringType.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t