asPayload

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