public SyncResponseModel(
     GlobalSettings globalSettings,
     User user,
     IEnumerable <OrganizationUserOrganizationDetails> organizationUserDetails,
     IEnumerable <Folder> folders,
     IEnumerable <CipherDetails> ciphers)
     : base("sync")
 {
     Profile = new ProfileResponseModel(user, organizationUserDetails);
     Folders = folders.Select(f => new FolderResponseModel(f));
     Ciphers = ciphers.Select(c => new CipherResponseModel(c, globalSettings));
     Domains = new DomainsResponseModel(user, false);
 }
 public SyncResponseModel(
     GlobalSettings globalSettings,
     User user,
     IEnumerable <OrganizationUserOrganizationDetails> organizationUserDetails,
     IEnumerable <Folder> folders,
     IEnumerable <Collection> collections,
     IEnumerable <CipherDetails> ciphers,
     IDictionary <Guid, IGrouping <Guid, CollectionCipher> > collectionCiphersDict)
     : base("sync")
 {
     Profile     = new ProfileResponseModel(user, organizationUserDetails);
     Folders     = folders.Select(f => new FolderResponseModel(f));
     Ciphers     = ciphers.Select(c => new CipherDetailsResponseModel(c, globalSettings, collectionCiphersDict));
     Collections = collections?.Select(c => new CollectionResponseModel(c)) ?? new List <CollectionResponseModel>();
     Domains     = new DomainsResponseModel(user, false);
 }