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

commonMain.aws.sdk.kotlin.services.apptest.model.TestCases.kt Maven / Gradle / Ivy

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.apptest.model



/**
 * Specifies test cases.
 */
public sealed class TestCases {
    /**
     * The sequential of the test case.
     */
    public data class Sequential(val value: List) : aws.sdk.kotlin.services.apptest.model.TestCases() {
    }

    public object SdkUnknown : aws.sdk.kotlin.services.apptest.model.TestCases() {
    }

    /**
     * Casts this [TestCases] as a [Sequential] and retrieves its [List] value. Throws an exception if the [TestCases] is not a
     * [Sequential].
     */
    public fun asSequential(): List = (this as TestCases.Sequential).value

    /**
     * Casts this [TestCases] as a [Sequential] and retrieves its [List] value. Returns null if the [TestCases] is not a [Sequential].
     */
    public fun asSequentialOrNull(): List? = (this as? TestCases.Sequential)?.value
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy