2017-03-12 01:28:23 +00:00
|
|
|
namespace Dino.Plugins.Omemo {
|
|
|
|
|
2017-03-15 16:23:13 +00:00
|
|
|
public class EncryptState {
|
2017-03-12 01:28:23 +00:00
|
|
|
public bool encrypted { get; internal set; }
|
|
|
|
public int other_devices { get; internal set; }
|
|
|
|
public int other_success { get; internal set; }
|
|
|
|
public int other_lost { get; internal set; }
|
|
|
|
public int other_unknown { get; internal set; }
|
|
|
|
public int other_failure { get; internal set; }
|
2017-03-15 16:23:13 +00:00
|
|
|
public bool other_list { get; internal set; }
|
|
|
|
|
2017-03-12 01:28:23 +00:00
|
|
|
public int own_devices { get; internal set; }
|
|
|
|
public int own_success { get; internal set; }
|
|
|
|
public int own_lost { get; internal set; }
|
|
|
|
public int own_unknown { get; internal set; }
|
|
|
|
public int own_failure { get; internal set; }
|
2017-03-15 16:23:13 +00:00
|
|
|
public bool own_list { get; internal set; }
|
|
|
|
|
|
|
|
public string to_string() {
|
|
|
|
return @"EncryptState (encrypted=$encrypted, other=(devices=$other_devices, success=$other_success, lost=$other_lost, unknown=$other_unknown, failure=$other_failure, list=$other_list), own=(devices=$own_devices, success=$own_success, lost=$own_lost, unknown=$own_unknown, failure=$own_failure, list=$own_list))";
|
|
|
|
}
|
2017-03-12 01:28:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|