BotSharp/src/Infrastructure/BotSharp.Abstraction/Conversations/Models/StateChangeModel.cs

35 lines
912 B
C#
Raw Normal View History

2024-03-28 18:16:16 +00:00
namespace BotSharp.Abstraction.Conversations.Models;
public class StateChangeModel
{
[JsonPropertyName("conversation_id")]
public string ConversationId { get; set; }
[JsonPropertyName("message_id")]
public string MessageId { get; set; }
[JsonPropertyName("name")]
public string Name { get; set; }
[JsonPropertyName("before_value")]
2024-04-07 18:37:16 +00:00
public string? BeforeValue { get; set; }
2024-03-28 18:16:16 +00:00
2024-03-31 03:43:45 +00:00
[JsonPropertyName("before_active_rounds")]
public int? BeforeActiveRounds { get; set; }
2024-03-28 18:16:16 +00:00
[JsonPropertyName("after_value")]
2024-04-07 18:37:16 +00:00
public string? AfterValue { get; set; }
2024-03-31 03:43:45 +00:00
[JsonPropertyName("after_active_rounds")]
public int? AfterActiveRounds { get; set; }
2024-04-02 19:09:42 +00:00
[JsonPropertyName("data_type")]
public string DataType { get; set; }
[JsonPropertyName("source")]
public string Source { get; set; }
2024-04-02 20:39:14 +00:00
[JsonPropertyName("readonly")]
public bool Readonly { get; set; }
2024-03-28 18:16:16 +00:00
}