mirror of
https://github.com/bitwarden/mobile
synced 2025-12-18 09:13:15 +00:00
sync service
This commit is contained in:
34
src/Core/Models/Response/NotificationResponse.cs
Normal file
34
src/Core/Models/Response/NotificationResponse.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using Bit.Core.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Bit.Core.Models.Response
|
||||
{
|
||||
public class PushNotificationResponse
|
||||
{
|
||||
public NotificationType Type { get; set; }
|
||||
public string Payload { get; set; }
|
||||
}
|
||||
|
||||
public class SyncCipherNotification
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string UserId { get; set; }
|
||||
public string OrganizationId { get; set; }
|
||||
public HashSet<string> CollectionIds { get; set; }
|
||||
public DateTime RevisionDate { get; set; }
|
||||
}
|
||||
|
||||
public class SyncFolderNotification
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string UserId { get; set; }
|
||||
public DateTime RevisionDate { get; set; }
|
||||
}
|
||||
|
||||
public class UserNotification
|
||||
{
|
||||
public string UserId { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,7 @@ namespace Bit.Core.Models.Response
|
||||
{
|
||||
public ProfileResponse Profile { get; set; }
|
||||
public List<FolderResponse> Folders { get; set; } = new List<FolderResponse>();
|
||||
public List<CollectionResponse> Collections { get; set; } = new List<CollectionResponse>();
|
||||
public List<CollectionDetailsResponse> Collections { get; set; } = new List<CollectionDetailsResponse>();
|
||||
public List<CipherResponse> Ciphers { get; set; } = new List<CipherResponse>();
|
||||
public DomainsResponse Domains { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user