StepInput

sealed class StepInput

A map of key value pairs that is generated when you create a migration workflow. The key value pairs will differ based on your selection of the template.

Inheritors

Types

Link copied to clipboard
data class IntegerValue(val value: Int) : StepInput

The value of the integer.

Link copied to clipboard
data class ListOfStringsValue(val value: List<String>) : StepInput

List of string values.

Link copied to clipboard
data class MapOfStringValue(val value: Map<String, String>) : StepInput

Map of string values.

Link copied to clipboard
Link copied to clipboard
data class StringValue(val value: String) : StepInput

String value.

Functions

Link copied to clipboard

Casts this StepInput as a IntegerValue and retrieves its kotlin.Int value. Throws an exception if the StepInput is not a IntegerValue.

Link copied to clipboard

Casts this StepInput as a IntegerValue and retrieves its kotlin.Int value. Returns null if the StepInput is not a IntegerValue.

Link copied to clipboard

Casts this StepInput as a ListOfStringsValue and retrieves its List value. Throws an exception if the StepInput is not a ListOfStringsValue.

Link copied to clipboard

Casts this StepInput as a ListOfStringsValue and retrieves its List value. Returns null if the StepInput is not a ListOfStringsValue.

Link copied to clipboard

Casts this StepInput as a MapOfStringValue and retrieves its Map value. Throws an exception if the StepInput is not a MapOfStringValue.

Link copied to clipboard

Casts this StepInput as a MapOfStringValue and retrieves its Map value. Returns null if the StepInput is not a MapOfStringValue.

Link copied to clipboard

Casts this StepInput as a StringValue and retrieves its kotlin.String value. Throws an exception if the StepInput is not a StringValue.

Link copied to clipboard

Casts this StepInput as a StringValue and retrieves its kotlin.String value. Returns null if the StepInput is not a StringValue.