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