Response.cs 616 B

123456789101112131415161718192021222324
  1. namespace Application.Features.Api.Crypto.Market.GetAll;
  2. public sealed record Response(IReadOnlyList<Response.MarketItem> Markets)
  3. {
  4. public sealed record MarketItem(
  5. string Market,
  6. string KoreanName,
  7. string EnglishName,
  8. MarketEvent MarketEvent
  9. );
  10. public sealed record MarketEvent(
  11. bool Warning,
  12. MarketCaution Caution
  13. );
  14. public sealed record MarketCaution(
  15. bool PriceFluctuations,
  16. bool TradingVolumeSoaring,
  17. bool DepositAmountSoaring,
  18. bool GlobalPriceDifferences,
  19. bool ConcentrationOfSmallAccounts
  20. );
  21. }