/// /// JassubAssets.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © Marc Rousavy @ Margelo /// package com.margelo.nitro.omni import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip import java.util.Objects /** * Represents the JavaScript object/struct "JassubAssets". */ @DoNotStrip @Keep data class JassubAssets( @DoNotStrip @Keep val workerUrl: String?, @DoNotStrip @Keep val wasmUrl: String?, @DoNotStrip @Keep val modernWasmUrl: String?, @DoNotStrip @Keep val fontUrl: String? ) { /* primary constructor */ override fun equals(other: Any?): Boolean { if (this === other) return true if (other !is JassubAssets) return false return Objects.deepEquals(this.workerUrl, other.workerUrl) && Objects.deepEquals(this.wasmUrl, other.wasmUrl) && Objects.deepEquals(this.modernWasmUrl, other.modernWasmUrl) && Objects.deepEquals(this.fontUrl, other.fontUrl) } override fun hashCode(): Int { return arrayOf( workerUrl, wasmUrl, modernWasmUrl, fontUrl ).contentDeepHashCode() } companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(workerUrl: String?, wasmUrl: String?, modernWasmUrl: String?, fontUrl: String?): JassubAssets { return JassubAssets(workerUrl, wasmUrl, modernWasmUrl, fontUrl) } } }