![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.connect.kotlin.outputs.UserPhoneConfig.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.connect.kotlin.outputs
import com.pulumi.awsnative.connect.kotlin.enums.UserPhoneType
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* Contains information about the phone configuration settings for a user.
* @property afterContactWorkTimeLimit The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
* > When returned by a `SearchUsers` call, `AfterContactWorkTimeLimit` is returned in milliseconds.
* @property autoAccept The Auto accept setting.
* @property deskPhoneNumber The phone number for the user's desk phone.
* @property phoneType The phone type.
*/
public data class UserPhoneConfig(
public val afterContactWorkTimeLimit: Int? = null,
public val autoAccept: Boolean? = null,
public val deskPhoneNumber: String? = null,
public val phoneType: UserPhoneType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.connect.outputs.UserPhoneConfig): UserPhoneConfig = UserPhoneConfig(
afterContactWorkTimeLimit = javaType.afterContactWorkTimeLimit().map({ args0 ->
args0
}).orElse(null),
autoAccept = javaType.autoAccept().map({ args0 -> args0 }).orElse(null),
deskPhoneNumber = javaType.deskPhoneNumber().map({ args0 -> args0 }).orElse(null),
phoneType = javaType.phoneType().let({ args0 ->
com.pulumi.awsnative.connect.kotlin.enums.UserPhoneType.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy