예제 #1
0
 internal void Update(ConnectedAccountModel model)
 {
     IsVerified = model.Verified;
     Type       = model.Type;
     Id         = model.Id;
     Name       = model.Name;
 }
예제 #2
0
 internal RestConnectedAccount(RestDiscordClient client, ConnectedAccountModel model) : base(client)
 {
     Id         = model.Id;
     Name       = model.Name;
     Type       = model.Type;
     IsVerified = model.Verified;
 }
예제 #3
0
 internal RestConnectedAccount(RestDiscordClient client, ConnectedAccountModel model) : base(client)
 {
     Update(model);
 }