commonMain.aws.sdk.kotlin.services.iotfleetwise.model.FormattedVss.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
/**
* [Vehicle Signal Specification (VSS)](https://www.w3.org/auto/wg/wiki/Vehicle_Signal_Specification_(VSS)/Vehicle_Data_Spec) is a precise language used to describe and model signals in vehicle networks. The JSON file collects signal specificiations in a VSS format.
*/
public sealed class FormattedVss {
/**
* Provides the VSS in JSON format.
*/
public data class VssJson(val value: kotlin.String) : aws.sdk.kotlin.services.iotfleetwise.model.FormattedVss() {
}
public object SdkUnknown : aws.sdk.kotlin.services.iotfleetwise.model.FormattedVss() {
}
/**
* Casts this [FormattedVss] as a [VssJson] and retrieves its [kotlin.String] value. Throws an exception if the [FormattedVss] is not a
* [VssJson].
*/
public fun asVssJson(): kotlin.String = (this as FormattedVss.VssJson).value
/**
* Casts this [FormattedVss] as a [VssJson] and retrieves its [kotlin.String] value. Returns null if the [FormattedVss] is not a [VssJson].
*/
public fun asVssJsonOrNull(): kotlin.String? = (this as? FormattedVss.VssJson)?.value
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy