private ShareFileClient()
 {
     Apps                 = new AppsEntity(this);
     Favorites            = new FavoritesEntity(this);
     WebhookClients       = new WebhookClientsEntity(this);
     WebhookSubscriptions = new WebhookSubscriptionsEntity(this);
     Workflows            = new WorkflowsEntity(this);
     Policies             = new PoliciesEntity(this);
     ConnectorGroups      = new ConnectorGroupsEntity(this);
     EncryptedEmails      = new EncryptedEmailsEntity(this);
     FileLock             = new FileLockEntity(this);
     RemoteUploads        = new RemoteUploadsEntity(this);
     Reports              = new ReportsEntity(this);
     FolderTemplates      = new FolderTemplatesEntity(this);
     AccessControls       = new AccessControlsEntity(this);
     Accounts             = new AccountsEntity(this);
     AsyncOperations      = new AsyncOperationsEntity(this);
     Capabilities         = new CapabilitiesEntity(this);
     Devices              = new DevicesEntity(this);
     FavoriteFolders      = new FavoriteFoldersEntity(this);
     Groups               = new GroupsEntity(this);
     Items                = new ItemsEntity(this);
     Metadata             = new MetadataEntity(this);
     Sessions             = new SessionsEntity(this);
     Shares               = new SharesEntity(this);
     StorageCenters       = new StorageCentersEntity(this);
     Users                = new UsersEntity(this);
     Zones                = new ZonesEntity(this);
     SamlMetadata         = new SamlMetadataEntity(this);
 }
        public static PoliciesDto PoliciesEntityToPoliciesDto(PoliciesEntity policiesEntity)
        {
            PoliciesDto policiesDto = new PoliciesDto(policiesEntity.id, policiesEntity.amountInsured, policiesEntity.email, policiesEntity.inceptionDate, policiesEntity.installmentPayment, policiesEntity.clientId);

            return(policiesDto);
        }
        public static PoliciesEntity PoliciesDtoToPoliciesEntity(PoliciesDto policiesDto)
        {
            PoliciesEntity policiesEntity = new PoliciesEntity(policiesDto.id, policiesDto.amountInsured, policiesDto.email, policiesDto.inceptionDate, policiesDto.installmentPayment, policiesDto.clientId);

            return(policiesEntity);
        }