asInline

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