Files
Chat/ChatController/LoginKlassen/UserDaten.cs
Lyndon Jetten 87036ca7a6 .
2020-04-17 13:01:23 +02:00

59 lines
1.2 KiB
C#

using Newtonsoft.Json;
namespace ChatController.LoginKlassen
{
public class UserDaten
{
public string Token { get; set; }
public OwnChatLoginResponse Response { get; set; }
public string Message { get; set; }
public Tetserror Errors { get; set; }
public bool Success { get; set; }
}
public class InputTest
{
public OwnChatLoginResponse User { get; set; }
}
public class OwnChatLoginResponse
{
[JsonProperty("file_upload_max_size")]
public long FileUploadMaxSize { get; set; }
public string Token { get; set; }
public OwnChatUser User { get; set; }
}
public class Tetserror
{
public string[] chatcode_failed{ get; set; }
public string[] login_failed { get; set; }
}
public class OwnChatUser
{
public long Oid { get; set; }
public string UserId { get; set; }
public string Firstname { get; set; }
public string Lastname { get; set; }
public string Mobile { get; set; }
public string Picture { get; set; }
[JsonProperty("is_employee")]
public bool IsEmployee { get; set; }
public string Token { get; set; }
}
}