public void Clear() { ChatStep = 0; Days = null; Types = null; DialogState = DialogStateEnum.DialogStarted; LastMessage = new DateTime(); }
public IntentRequest(JObject json) : base(json) { Intent = Intent.FromJson(json.Value <JObject>("intent")); DialogStateEnum dialogState = DialogStateEnum.UNKNOWN; Enum.TryParse(json.Value <string>("dialogState"), out dialogState); DialogState = dialogState; }
public IntentRequest(string requestId, DateTime timestamp, string locale, Intent intent, DialogStateEnum dialogState) : base(requestId, timestamp, locale) { Intent = intent; DialogState = dialogState; }