mirror of
https://github.com/bitwarden/mobile
synced 2025-12-16 08:13:20 +00:00
more models
This commit is contained in:
22
src/Core/Models/Data/CollectionData.cs
Normal file
22
src/Core/Models/Data/CollectionData.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using Bit.Core.Models.Response;
|
||||
|
||||
namespace Bit.Core.Models.Data
|
||||
{
|
||||
public class CollectionData : Data
|
||||
{
|
||||
public CollectionData(CollectionResponse response)
|
||||
{
|
||||
Id = response.Id;
|
||||
OrganizationId = response.OrganizationId;
|
||||
Name = response.Name;
|
||||
ExternalId = response.ExternalId;
|
||||
ReadOnly = response.ReadOnly;
|
||||
}
|
||||
|
||||
public string Id { get; set; }
|
||||
public string OrganizationId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string ExternalId { get; set; }
|
||||
public bool ReadOnly { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user