/// <summary> /// /// </summary> /// <param name="jToken"></param> public void Init(JToken jToken) { Content = jToken[nameof(Content)]?.Value <string>(); OfflineSave = jToken[nameof(OfflineSave)]?.Value <string>(); OfflineSave_Int32 = OfflineSave.TryParseInt32(); ScheduleSendTime = jToken[nameof(ScheduleSendTime)]?.Value <string>(); ScheduleSendTime_DateTime = ScheduleSendTime.TryParseDateTime(); SendTime = jToken[nameof(SendTime)]?.Value <string>(); SendTime_DateTime = SendTime.TryParseDateTime(); TagsList = jToken[nameof(TagsList)]?.Value <string>(); Title = jToken[nameof(Title)]?.Value <string>(); Type = jToken[nameof(Type)]?.Value <string>(); Type_Int32 = Type.TryParseInt32(); Cleanup = jToken["cleanup"]?.Value <string>(); Cleanup_Int32 = Cleanup.TryParseInt32(); Click = jToken["click"]?.Value <string>(); Click_Int32 = Click.TryParseInt32(); CreateTime = jToken["create_time"]?.Value <string>(); CreateTime_DateTime = CreateTime.TryParseDateTime(); PushActive = jToken["push_active"]?.Value <string>(); PushActive_Int32 = PushActive.TryParseInt32(); PushId = jToken["push_id"]?.Value <string>(); PushId_UInt32 = PushId.TryParseUInt32(); PushOnline = jToken["push_online"]?.Value <string>(); PushOnline_Int32 = PushOnline.TryParseInt32(); StartTime = jToken["start_time"]?.Value <string>(); StartTime_DateTime = StartTime.TryParseDateTime(); Status = jToken["status"]?.Value <string>(); Status_Int32 = Status.TryParseInt32(); Verify = jToken["verify"]?.Value <string>(); VerifySvc = jToken["verify_svc"]?.Value <string>(); VerifySvc_Int32 = VerifySvc.TryParseInt32(); CalType = jToken["cal_type"]?.Value <string>(); }