namespace Bit.Core.Models.Business;
public class SecretsManagerSubscriptionUpdate
{
public Guid OrganizationId { get; set; }
///
/// The seats to be added or removed from the organization
///
public int SmSeatsAdjustment { get; set; }
///
/// The total seats the organization will have after the update, including any base seats included in the plan
///
public int SmSeats { get; set; }
///
/// The seats the organization will have after the update, excluding the base seats included in the plan
/// Usually this is what the organization is billed for
///
public int SmSeatsExcludingBase { get; set; }
///
/// The new autoscale limit for seats, expressed as a total (not an adjustment).
/// This may or may not be the same as the current autoscale limit.
///
public int? MaxAutoscaleSmSeats { get; set; }
///
/// The service accounts to be added or removed from the organization
///
public int SmServiceAccountsAdjustment { get; set; }
///
/// The total service accounts the organization will have after the update, including the base service accounts
/// included in the plan
///
public int SmServiceAccounts { get; set; }
///
/// The seats the organization will have after the update, excluding the base seats included in the plan
/// Usually this is what the organization is billed for
///
public int SmServiceAccountsExcludingBase { get; set; }
///
/// The new autoscale limit for service accounts, expressed as a total (not an adjustment).
/// This may or may not be the same as the current autoscale limit.
///
public int? MaxAutoscaleSmServiceAccounts { get; set; }
public bool SmSeatsChanged => SmSeatsAdjustment != 0;
public bool SmServiceAccountsChanged => SmServiceAccountsAdjustment != 0;
public bool MaxAutoscaleSmSeatsChanged { get; set; }
public bool MaxAutoscaleSmServiceAccountsChanged { get; set; }
}