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