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