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