![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.securityinsights.kotlin.outputs.HuntOwnerResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.securityinsights.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Describes a user that the hunt is assigned to
* @property assignedTo The name of the user the hunt is assigned to.
* @property email The email of the user the hunt is assigned to.
* @property objectId The object id of the user the hunt is assigned to.
* @property ownerType The type of the owner the hunt is assigned to.
* @property userPrincipalName The user principal name of the user the hunt is assigned to.
*/
public data class HuntOwnerResponse(
public val assignedTo: String? = null,
public val email: String? = null,
public val objectId: String? = null,
public val ownerType: String? = null,
public val userPrincipalName: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.securityinsights.outputs.HuntOwnerResponse): HuntOwnerResponse = HuntOwnerResponse(
assignedTo = javaType.assignedTo().map({ args0 -> args0 }).orElse(null),
email = javaType.email().map({ args0 -> args0 }).orElse(null),
objectId = javaType.objectId().map({ args0 -> args0 }).orElse(null),
ownerType = javaType.ownerType().map({ args0 -> args0 }).orElse(null),
userPrincipalName = javaType.userPrincipalName().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy