public override void DeserializeToken (JSONReader JSONReader, string Tag) {
switch (Tag) {
case "Description" : {
Description = JSONReader.ReadString ();
break;
}
case "DeviceSignatureKey" : {
// An untagged structure
DeviceSignatureKey = new PublicKey (JSONReader);
break;
}
case "DeviceAuthenticationKey" : {
// An untagged structure
DeviceAuthenticationKey = new PublicKey (JSONReader);
break;
}
case "DeviceEncryptiontionKey" : {
// An untagged structure
DeviceEncryptiontionKey = new PublicKey (JSONReader);
break;
}
default : {
base.DeserializeToken(JSONReader, Tag);
break;
}
}
// check up that all the required elements are present
}