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

com.pulumi.googlenative.dialogflow.v2.kotlin.enums.ParticipantRole.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.dialogflow.v2.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * Immutable. The role this participant plays in the conversation. This field must be set during participant creation and is then immutable.
 */
public enum class ParticipantRole(
    public val javaValue: com.pulumi.googlenative.dialogflow.v2.enums.ParticipantRole,
) : ConvertibleToJava {
    /**
     * Participant role not set.
     */
    RoleUnspecified(com.pulumi.googlenative.dialogflow.v2.enums.ParticipantRole.RoleUnspecified),

    /**
     * Participant is a human agent.
     */
    HumanAgent(com.pulumi.googlenative.dialogflow.v2.enums.ParticipantRole.HumanAgent),

    /**
     * Participant is an automated agent, such as a Dialogflow agent.
     */
    AutomatedAgent(com.pulumi.googlenative.dialogflow.v2.enums.ParticipantRole.AutomatedAgent),

    /**
     * Participant is an end user that has called or chatted with Dialogflow services.
     */
    EndUser(com.pulumi.googlenative.dialogflow.v2.enums.ParticipantRole.EndUser),
    ;

    override fun toJava(): com.pulumi.googlenative.dialogflow.v2.enums.ParticipantRole = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.dialogflow.v2.enums.ParticipantRole): ParticipantRole = ParticipantRole.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy