commonMain.aws.sdk.kotlin.services.iotfleetwise.model.NetworkFileDefinition.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iotfleetwise-jvm Show documentation
Show all versions of iotfleetwise-jvm Show documentation
The AWS SDK for Kotlin client for IoTFleetWise
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iotfleetwise.model
/**
* Specifications for defining a vehicle network.
*/
public sealed class NetworkFileDefinition {
/**
* Information, including CAN DBC files, about the configurations used to create a decoder manifest.
*/
public data class CanDbc(val value: aws.sdk.kotlin.services.iotfleetwise.model.CanDbcDefinition) : aws.sdk.kotlin.services.iotfleetwise.model.NetworkFileDefinition() {
}
public object SdkUnknown : aws.sdk.kotlin.services.iotfleetwise.model.NetworkFileDefinition() {
}
/**
* Casts this [NetworkFileDefinition] as a [CanDbc] and retrieves its [aws.sdk.kotlin.services.iotfleetwise.model.CanDbcDefinition] value. Throws an exception if the [NetworkFileDefinition] is not a
* [CanDbc].
*/
public fun asCanDbc(): aws.sdk.kotlin.services.iotfleetwise.model.CanDbcDefinition = (this as NetworkFileDefinition.CanDbc).value
/**
* Casts this [NetworkFileDefinition] as a [CanDbc] and retrieves its [aws.sdk.kotlin.services.iotfleetwise.model.CanDbcDefinition] value. Returns null if the [NetworkFileDefinition] is not a [CanDbc].
*/
public fun asCanDbcOrNull(): aws.sdk.kotlin.services.iotfleetwise.model.CanDbcDefinition? = (this as? NetworkFileDefinition.CanDbc)?.value
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy