mirror of
https://github.com/bitwarden/server
synced 2025-12-23 19:53:40 +00:00
add/edit group with collection ids
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using Bit.Core.Models.Table;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Bit.Core.Models.Api
|
||||
{
|
||||
@@ -22,4 +23,15 @@ namespace Bit.Core.Models.Api
|
||||
public string OrganizationId { get; set; }
|
||||
public string Name { get; set; }
|
||||
}
|
||||
|
||||
public class GroupDetailsResponseModel : GroupResponseModel
|
||||
{
|
||||
public GroupDetailsResponseModel(Group group, IEnumerable<Guid> collectionIds)
|
||||
: base(group, "groupDetails")
|
||||
{
|
||||
CollectionIds = collectionIds;
|
||||
}
|
||||
|
||||
public IEnumerable<Guid> CollectionIds { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user