/// /// SubtitleAssets.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 "SubtitleAssets". */ @DoNotStrip @Keep data class SubtitleAssets( @DoNotStrip @Keep val jassub: JassubAssets?, @DoNotStrip @Keep val pgs: PgsAssets? ) { /* primary constructor */ override fun equals(other: Any?): Boolean { if (this === other) return true if (other !is SubtitleAssets) return false return Objects.deepEquals(this.jassub, other.jassub) && Objects.deepEquals(this.pgs, other.pgs) } override fun hashCode(): Int { return arrayOf( jassub, pgs ).contentDeepHashCode() } companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(jassub: JassubAssets?, pgs: PgsAssets?): SubtitleAssets { return SubtitleAssets(jassub, pgs) } } }