public void Deserialize(Json_ChatChannelMasterParam json) { if (json == null) { throw new InvalidCastException(); } this.id = json.fields.id; this.category_id = json.fields.category_id; this.name = json.fields.name; }
public void Deserialize(string language, Json_ChatChannelMasterParam json) { this.Deserialize(json); this.localizeFields(language); }