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