Class AssignRoleContentRequest
Fields for assigning (or moving) a content element within a role's content tree.
public sealed record AssignRoleContentRequest : IAssignRoleContentRequest
- Inheritance
-
objectAssignRoleContentRequest
- Implements
Properties
IsFolder
Whether the placement is a folder that other elements of the role can be placed under.
[JsonPropertyName("isFolder")]
public bool IsFolder { get; init; }
Property Value
- bool
Name
The name of the placement; the element's own name when left null.
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
- string
ParentId
The element id of the parent folder within the role, which must be a GUID; null for the top level.
[JsonPropertyName("parentId")]
public string? ParentId { get; init; }
Property Value
- string
Position
The sort order of the placement among its siblings.
[JsonPropertyName("position")]
public int Position { get; init; }
Property Value
- int
UsergroupIds
When set, replaces the full set of usergroups the element is restricted to - for every role it is placed in, as the restriction belongs to the element. An empty array lifts the restriction; null leaves it unchanged.
[JsonPropertyName("usergroupIds")]
public string[]? UsergroupIds { get; init; }
Property Value
- string[]