Files
Umbraco-CMS/src/Umbraco.Core/Models/Segment.cs
Laura Neto 955f0c8d63 New document segments endpoint (#20088)
* Added `cultures` property to the Segment models

* Added new endpoint to return the segments of a specific document.

* Mark additional properties and methods as obsolete

* Small indentation fix

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-09 09:48:17 +02:00

12 lines
362 B
C#

namespace Umbraco.Cms.Core.Models;
public class Segment
{
public required string Name { get; set; }
public required string Alias { get; set; }
[Obsolete("This property is temporary and will be removed in a future release (planned for v20). A more permanent solution will follow.")]
public IEnumerable<string>? Cultures { get; set; } = null;
}