-
Notifications
You must be signed in to change notification settings - Fork 0
/
ProtoBufferUser
142 lines (106 loc) · 6 KB
/
ProtoBufferUser
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[global::ProtoBuf.ProtoContract()]
public partial class Users : global::ProtoBuf.IExtensible
{
private global::ProtoBuf.IExtension __pbn__extensionData;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);
[global::ProtoBuf.ProtoMember(1, Name = @"userBaseData")]
public global::System.Collections.Generic.List<UserBaseData> userBaseDatas { get; } = new global::System.Collections.Generic.List<UserBaseData>();
}
[global::ProtoBuf.ProtoContract()]
public partial class UserProfiles : global::ProtoBuf.IExtensible
{
private global::ProtoBuf.IExtension __pbn__extensionData;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);
[global::ProtoBuf.ProtoMember(1, Name = @"userProfileData")]
public global::System.Collections.Generic.List<UserProfileData> userProfileDatas { get; } = new global::System.Collections.Generic.List<UserProfileData>();
}
[global::ProtoBuf.ProtoContract()]
public partial class UserBaseData : global::ProtoBuf.IExtensible
{
private global::ProtoBuf.IExtension __pbn__extensionData;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);
[global::ProtoBuf.ProtoMember(1)]
[global::System.ComponentModel.DefaultValue("")]
public string userID { get; set; } = "";
[global::ProtoBuf.ProtoMember(2, Name = @"username")]
[global::System.ComponentModel.DefaultValue("")]
public string Username { get; set; } = "";
[global::ProtoBuf.ProtoMember(3, Name = @"profileImage")]
public global::System.Collections.Generic.List<byte[]> profileImages { get; } = new global::System.Collections.Generic.List<byte[]>();
}
[global::ProtoBuf.ProtoContract()]
public partial class UserProfileData : global::ProtoBuf.IExtensible
{
private global::ProtoBuf.IExtension __pbn__extensionData;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);
[global::ProtoBuf.ProtoMember(1)]
public UserBaseData baseUserData { get; set; }
}
[global::ProtoBuf.ProtoContract()]
public partial class LoggedInUserData : global::ProtoBuf.IExtensible
{
private global::ProtoBuf.IExtension __pbn__extensionData;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);
[global::ProtoBuf.ProtoMember(1)]
public UserProfileData userProfileData { get; set; }
[global::ProtoBuf.ProtoMember(2)]
public bool isAuthenticated { get; set; }
[global::ProtoBuf.ProtoMember(3)]
public AuthenticationResult lastAuthenticationResult { get; set; }
}
[global::ProtoBuf.ProtoContract()]
public partial class AuthenticationResult : global::ProtoBuf.IExtensible
{
private global::ProtoBuf.IExtension __pbn__extensionData;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);
[global::ProtoBuf.ProtoMember(1)]
[global::System.ComponentModel.DefaultValue("")]
public string accessToken { get; set; } = "";
[global::ProtoBuf.ProtoMember(2)]
public long expiresIn { get; set; }
[global::ProtoBuf.ProtoMember(3)]
[global::System.ComponentModel.DefaultValue("")]
public string tokenID { get; set; } = "";
[global::ProtoBuf.ProtoMember(4)]
[global::System.ComponentModel.DefaultValue("")]
public string refreshToken { get; set; } = "";
[global::ProtoBuf.ProtoMember(5)]
[global::System.ComponentModel.DefaultValue("")]
public string tokenType { get; set; } = "";
}
[global::ProtoBuf.ProtoContract()]
public partial class Wallet : global::ProtoBuf.IExtensible
{
private global::ProtoBuf.IExtension __pbn__extensionData;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);
[global::ProtoBuf.ProtoMember(1, Name = @"signature")]
[global::System.ComponentModel.DefaultValue("")]
public string Signature { get; set; } = "";
[global::ProtoBuf.ProtoMember(2)]
[global::System.ComponentModel.DefaultValue("")]
public string accountPublicKey { get; set; } = "";
}
[global::ProtoBuf.ProtoContract()]
public partial class MetaMaskWallet : global::ProtoBuf.IExtensible
{
private global::ProtoBuf.IExtension __pbn__extensionData;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
=> global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);
[global::ProtoBuf.ProtoMember(1)]
[global::System.ComponentModel.DefaultValue("")]
public string phantomEncryptionPublicKey { get; set; } = "";
[global::ProtoBuf.ProtoMember(2, Name = @"nonce")]
[global::System.ComponentModel.DefaultValue("")]
public string Nonce { get; set; } = "";
[global::ProtoBuf.ProtoMember(3, Name = @"session")]
[global::System.ComponentModel.DefaultValue("")]
public string Session { get; set; } = "";
}
}