com.pulumi.awsnative.synthetics.kotlin.outputs.CanaryBaseScreenshot.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-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.awsnative.synthetics.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property ignoreCoordinates List of coordinates of rectangles to be ignored during visual testing
* @property screenshotName Name of the screenshot to be used as base reference for visual testing
*/
public data class CanaryBaseScreenshot(
public val ignoreCoordinates: List? = null,
public val screenshotName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.synthetics.outputs.CanaryBaseScreenshot): CanaryBaseScreenshot = CanaryBaseScreenshot(
ignoreCoordinates = javaType.ignoreCoordinates().map({ args0 -> args0 }),
screenshotName = javaType.screenshotName(),
)
}
}