* 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>
12 lines
362 B
C#
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;
|
|
}
|