mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
tcloud compatibility, dotnet bug fixes
This commit is contained in:
@@ -1,9 +1,18 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace TrainSearchWorker.Models;
|
||||
|
||||
public record SearchTrainsRequest
|
||||
{
|
||||
[JsonPropertyName("origin")]
|
||||
public required string From { get; init; }
|
||||
|
||||
[JsonPropertyName("destination")]
|
||||
public required string To { get; init; }
|
||||
|
||||
[JsonPropertyName("outbound_time")]
|
||||
public required string OutboundTime { get; init; }
|
||||
|
||||
[JsonPropertyName("return_time")]
|
||||
public required string ReturnTime { get; init; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user