/// <summary> /// The deserialization information for the current model /// </summary> public new IDictionary <string, Action <IParseNode> > GetFieldDeserializers() { return(new Dictionary <string, Action <IParseNode> >(base.GetFieldDeserializers()) { { "assignmentResourceUrl", n => { AssignmentResourceUrl = n.GetStringValue(); } }, { "resource", n => { Resource = n.GetObjectValue <EducationResource>(EducationResource.CreateFromDiscriminatorValue); } }, }); }
/// <summary> /// The deserialization information for the current model /// </summary> public new IDictionary <string, Action <IParseNode> > GetFieldDeserializers() { return(new Dictionary <string, Action <IParseNode> >(base.GetFieldDeserializers()) { { "distributeForStudentWork", n => { DistributeForStudentWork = n.GetBoolValue(); } }, { "resource", n => { Resource = n.GetObjectValue <EducationResource>(EducationResource.CreateFromDiscriminatorValue); } }, }); }