/// <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); } },
     });
 }
Exemplo n.º 2
0
 /// <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); } },
     });
 }