1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-15 01:41:40 +01:00

include usersgetpremium is org response

This commit is contained in:
Kyle Spearrin 2018-07-24 11:04:20 -04:00
parent 5eff4c6a40
commit 3b31ab85ff
2 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,7 @@ namespace Bit.Core.Models.Api
UseEvents = organization.UseEvents;
UseTotp = organization.UseTotp;
Use2fa = organization.Use2fa;
UsersGetPremium = organization.UsersGetPremium;
}
public string Id { get; set; }
@ -56,6 +57,7 @@ namespace Bit.Core.Models.Api
public bool UseEvents { get; set; }
public bool UseTotp { get; set; }
public bool Use2fa { get; set; }
public bool UsersGetPremium { get; set; }
}
public class OrganizationBillingResponseModel : OrganizationResponseModel

View File

@ -15,6 +15,7 @@ namespace Bit.Core.Models.Api
UseEvents = organization.UseEvents;
UseTotp = organization.UseTotp;
Use2fa = organization.Use2fa;
UsersGetPremium = organization.UsersGetPremium;
Seats = organization.Seats;
MaxCollections = organization.MaxCollections;
MaxStorageGb = organization.MaxStorageGb;
@ -31,6 +32,7 @@ namespace Bit.Core.Models.Api
public bool UseEvents { get; set; }
public bool UseTotp { get; set; }
public bool Use2fa { get; set; }
public bool UsersGetPremium { get; set; }
public int Seats { get; set; }
public int MaxCollections { get; set; }
public short? MaxStorageGb { get; set; }