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