mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-02-12 19:22:45 +00:00
26 lines
726 B
C#
26 lines
726 B
C#
using System.Text.Json.Serialization;
|
|
using Streetwriters.Common.Interfaces;
|
|
using Streetwriters.Common.Models;
|
|
|
|
namespace Notesnook.API.Models.Responses
|
|
{
|
|
public class UserResponse : UserModel, IResponse
|
|
{
|
|
[JsonPropertyName("salt")]
|
|
public string Salt { get; set; }
|
|
|
|
[JsonPropertyName("attachmentsKey")]
|
|
public EncryptedData AttachmentsKey { get; set; }
|
|
|
|
[JsonPropertyName("subscription")]
|
|
public ISubscription Subscription { get; set; }
|
|
|
|
[JsonPropertyName("profile")]
|
|
public EncryptedData Profile { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public bool Success { get; set; }
|
|
public int StatusCode { get; set; }
|
|
}
|
|
}
|