common_parameter History

web

android

Common parameters that are used in all events.


Parameters

NameTypeDescription
user_idlongThe unique identifier of the user.
session_idstringThe unique identifier of the session.
user_typetype:user_typeThe type of user.

Generated Code

Android
package net.meilcli.dte.common

import net.meilcli.dte.entity.UserType

/**
 * Common parameters that are used in all events.
 */
class CommonParameter(
    /**
     * The unique identifier of the user.
     */
    val userId: Long,    
    /**
     * The unique identifier of the session.
     */
    val sessionId: String,    
    /**
     * The type of user.
     */
    val userType: UserType,    
)
Web
import { UserType } from "../type/user-type";

/**
 * Common parameters that are used in all events.
 */
export interface CommonParameter {
    /**
     * The unique identifier of the user.
     */
    userId: number;
    /**
     * The unique identifier of the session.
     */
    sessionId: string;
    /**
     * The type of user.
     */
    userType: UserType;
}