Response.cs 805 B

12345678910111213141516171819202122232425262728293031
  1. namespace Application.Features.Admin.Channel.YouTubePubSub.GetHealth;
  2. public sealed record ChannelHealthItem(
  3. string YouTubeChannelID,
  4. string? ChannelName,
  5. string? Handle,
  6. bool IsActive,
  7. bool IsSubscribed,
  8. DateTime? LastPolledAtUtc,
  9. DateTime? LeaseExpiresAtUtc,
  10. string? LastProcessedVideoId
  11. );
  12. public sealed record Response(
  13. // 설정 정보 (masked)
  14. bool ApiKeyConfigured,
  15. string? ApiKeyMaskedTail,
  16. bool HmacSecretConfigured,
  17. string? HmacSecretMaskedTail,
  18. string CallbackUrl,
  19. int FeedPollingIntervalMinutes,
  20. // 실시간 상태
  21. int ActiveLiveChatCollectors,
  22. int ActiveLiveVideosCount,
  23. int SubscribedChannelsCount,
  24. int ActiveInternalChannelsCount,
  25. // 채널별 상세
  26. IReadOnlyList<ChannelHealthItem> Channels
  27. );