Skip to content

Commit d3f1060

Browse files
authored
Add applications to get role response (#5403)
1 parent d492993 commit d3f1060

File tree

1 file changed

+3
-0
lines changed
  • src/Nest/XPack/Security/Role/GetRole

1 file changed

+3
-0
lines changed

src/Nest/XPack/Security/Role/GetRole/Role.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ namespace Nest
1111
//only used by GetRoleResponse thus private setters and IReadOnlyCollection
1212
public class XPackRole
1313
{
14+
[DataMember(Name = "applications")]
15+
public IReadOnlyCollection<IApplicationPrivileges> Applications { get; private set; } = EmptyReadOnly<IApplicationPrivileges>.Collection;
16+
1417
[DataMember(Name = "cluster")]
1518
public IReadOnlyCollection<string> Cluster { get; private set; } = EmptyReadOnly<string>.Collection;
1619

0 commit comments

Comments
 (0)