UserAttributeResult

sealed class UserAttributeResult

Success payload delivered to com.moengage.core.task.MoETask.onSuccess for setUserAttribute* and related attribute APIs.

Author

Gowtham KK

Since

10.0.0

Inheritors

Types

Link copied to clipboard
data class Bulk(val acceptedAttributes: Map<String, Any>, val skippedAttributes: Map<String, String>, val attributeLevel: UserAttributeLevel) : UserAttributeResult

A bulk map of attributes was processed and at least one attribute was accepted.

Link copied to clipboard
data class EpochTime(val attributeName: String, val epochTime: Long, val attributeLevel: UserAttributeLevel) : UserAttributeResult

A date attribute expressed as an epoch-time millisecond was accepted.

Link copied to clipboard
data class ISODate(val attributeName: String, val isoDateString: String, val attributeLevel: UserAttributeLevel) : UserAttributeResult

A date attribute expressed as an ISO-8601 string was accepted.

Link copied to clipboard
data class Standard(val attributeName: String, val attributeValue: Any, val attributeLevel: UserAttributeLevel) : UserAttributeResult

A single attribute of a standard (non-date) type was accepted.