Files
divkit/api_generator/tests/references/shared_data_kotlin/EntityWithStringArrayProperty.kt
T
grechka62 3c47e4f3bb Revert "Support prototypes in android"
8162da5a9c891a7adc34b1a35c231702b2e419e8
2024-04-04 14:07:53 +03:00

30 lines
623 B
Kotlin

// Generated code. Do not modify.
package com.yandex.div2
import org.json.JSONObject
class EntityWithStringArrayProperty(
@JvmField final val array: ExpressionList<String>, // at least 1 elements
) : Hashable {
private var _hash: Int? = null
override fun hash(): Int {
_hash?.let {
return it
}
val hash =
array.hashCode()
_hash = hash
return hash
}
companion object {
const val TYPE = "entity_with_string_array_property"
private val ARRAY_VALIDATOR = ListValidator<String> { it: List<*> -> it.size >= 1 }
}
}