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