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