Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

1007 B
Raw Blame
//-----------------------------------------------------------------------
// <copyright file="VaultUpdateResponse.cs" company="aliasvault">
// Copyright (c) aliasvault. All rights reserved.
// Licensed under the AGPLv3 license. See LICENSE.md file in the project root for full license information.
// </copyright>
//-----------------------------------------------------------------------

namespace AliasVault.Shared.Models.WebApi.V1.Vault;

/// <summary>
/// Vault update response model.
/// </summary>
public class VaultUpdateResponse
{
    /// <summary>
    /// Gets or sets the status of the vault update operation.
    /// </summary>
    public required VaultStatus Status { get; set; }

    /// <summary>
    /// Gets or sets the current vault's revision number.
    /// The server will increment this number with each change to the vault and is used for managing concurrency
    /// and merging if conflicts are detected.
    /// </summary>
    public required long NewRevisionNumber { get; set; }
}