/// /// SensitiveInfoEnumerateRequest.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 "SensitiveInfoEnumerateRequest". */ @DoNotStrip @Keep data class SensitiveInfoEnumerateRequest( @DoNotStrip @Keep val includeValues: 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 SensitiveInfoEnumerateRequest) return false return Objects.deepEquals(this.includeValues, other.includeValues) && 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( includeValues, service, iosSynchronizable, keychainGroup, accessControl, authenticationPrompt ).contentDeepHashCode() } companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(includeValues: Boolean?, service: String?, iosSynchronizable: Boolean?, keychainGroup: String?, accessControl: AccessControl?, authenticationPrompt: AuthenticationPrompt?): SensitiveInfoEnumerateRequest { return SensitiveInfoEnumerateRequest(includeValues, service, iosSynchronizable, keychainGroup, accessControl, authenticationPrompt) } } }