public OrganizationData(ProfileOrganizationResponse response) { Id = response.Id; Name = response.Name; Status = response.Status; Type = response.Type; Enabled = response.Enabled; UseGroups = response.UseGroups; UseDirectory = response.UseDirectory; UseEvents = response.UseEvents; UseTotp = response.UseTotp; Use2fa = response.Use2fa; UseApi = response.UseApi; SelfHost = response.SelfHost; UsersGetPremium = response.UsersGetPremium; Seats = response.Seats; MaxCollections = response.MaxCollections; MaxStorageGb = response.MaxStorageGb; }
public OrganizationData(ProfileOrganizationResponse response) { Id = response.Id; Name = response.Name; Status = response.Status; Type = response.Type; Enabled = response.Enabled; UseGroups = response.UseGroups; UseDirectory = response.UseDirectory; UseEvents = response.UseEvents; UseTotp = response.UseTotp; Use2fa = response.Use2fa; UseApi = response.UseApi; UsePolicies = response.UsePolicies; SelfHost = response.SelfHost; UsersGetPremium = response.UsersGetPremium; Seats = response.Seats; MaxCollections = response.MaxCollections; MaxStorageGb = response.MaxStorageGb; Permissions = response.Permissions ?? new Permissions(); Identifier = response.Identifier; UsesKeyConnector = response.UsesKeyConnector; KeyConnectorUrl = response.KeyConnectorUrl; }