1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 15:53:44 +00:00

Reactor rename Sites => Logins

This commit is contained in:
Kyle Spearrin
2017-01-03 00:17:15 -05:00
parent a176542114
commit 991afb7722
45 changed files with 543 additions and 542 deletions

View File

@@ -1,16 +1,16 @@
namespace Bit.App.Models.Api
{
public class SiteRequest
public class LoginRequest
{
public SiteRequest(Site site)
public LoginRequest(Login login)
{
FolderId = site.FolderId;
Name = site.Name?.EncryptedString;
Uri = site.Uri?.EncryptedString;
Username = site.Username?.EncryptedString;
Password = site.Password?.EncryptedString;
Notes = site.Notes?.EncryptedString;
Favorite = site.Favorite;
FolderId = login.FolderId;
Name = login.Name?.EncryptedString;
Uri = login.Uri?.EncryptedString;
Username = login.Username?.EncryptedString;
Password = login.Password?.EncryptedString;
Notes = login.Notes?.EncryptedString;
Favorite = login.Favorite;
}
public string FolderId { get; set; }

View File

@@ -2,7 +2,7 @@
namespace Bit.App.Models.Api
{
public class SiteResponse
public class LoginResponse
{
public string Id { get; set; }
public string FolderId { get; set; }

View File

@@ -1,6 +1,6 @@
namespace Bit.App.Models.Api
{
public class SiteDataModel
public class LoginDataModel
{
public string Name { get; set; }
public string Uri { get; set; }