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