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