/// /// FetchBlobRef.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.one import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip import java.util.Objects /** * Represents the JavaScript object/struct "FetchBlobRef". */ @DoNotStrip @Keep data class FetchBlobRef( @DoNotStrip @Keep val blobId: String, @DoNotStrip @Keep val offset: Double, @DoNotStrip @Keep val size: Double ) { /* primary constructor */ override fun equals(other: Any?): Boolean { if (this === other) return true if (other !is FetchBlobRef) return false return Objects.deepEquals(this.blobId, other.blobId) && Objects.deepEquals(this.offset, other.offset) && Objects.deepEquals(this.size, other.size) } override fun hashCode(): Int { return arrayOf( blobId, offset, size ).contentDeepHashCode() } companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(blobId: String, offset: Double, size: Double): FetchBlobRef { return FetchBlobRef(blobId, offset, size) } } }