Ejemplo n.º 1
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())
     {
         { "memberType", n => { MemberType = n.GetStringValue(); } },
         { "scheduleInfo", n => { ScheduleInfo = n.GetObjectValue <RequestSchedule>(RequestSchedule.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())
     {
         { "activatedUsing", n => { ActivatedUsing = n.GetObjectValue <UnifiedRoleEligibilitySchedule>(UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue); } },
         { "assignmentType", n => { AssignmentType = n.GetStringValue(); } },
         { "memberType", n => { MemberType = n.GetStringValue(); } },
         { "scheduleInfo", n => { ScheduleInfo = n.GetObjectValue <RequestSchedule>(RequestSchedule.CreateFromDiscriminatorValue); } },
     });
 }