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