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