asInlineOrNull

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