core.Map<core.String, core.dynamic> toJson() => { if (drainingTimeoutSec != null) 'drainingTimeoutSec': drainingTimeoutSec!, };