All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.securityinsights.kotlin.outputs.HuntOwnerResponse.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@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