mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
41d441420e
* Initial draft of actor runtime abstractions
15 lines
406 B
C#
15 lines
406 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace HelloHttpApi.ApiService;
|
|
|
|
public class PingResponse(PingResponseStatus status, long timeOfLastUpdate)
|
|
{
|
|
[JsonPropertyName("status")]
|
|
public PingResponseStatus Status { get; } = status;
|
|
|
|
[JsonPropertyName("time_of_last_update")]
|
|
public long TimeOfLastUpdate { get; } = timeOfLastUpdate;
|
|
}
|