Response.cs 806 B

1234567891011121314151617181920212223242526272829303132
  1. namespace Application.Features.Api.DonationAlert.GetConfigByToken;
  2. public sealed record Response(IReadOnlyList<ConfigItem> List);
  3. public sealed record ConfigItem(
  4. int ID,
  5. string Title,
  6. int Amount,
  7. int MatchType,
  8. string Message,
  9. double PlayDelaySec,
  10. double DisplayDurationSec,
  11. string? PopupEffect,
  12. string? TextEffect,
  13. string? NicknameFontFamily,
  14. int NicknameFontSize,
  15. string NicknameFontColor,
  16. string? AmountFontFamily,
  17. int AmountFontSize,
  18. string AmountFontColor,
  19. string? MessageFontFamily,
  20. int MessageFontSize,
  21. string MessageFontColor,
  22. string? TemplateFontFamily,
  23. int TemplateFontSize,
  24. string TemplateFontColor,
  25. bool EnableImage,
  26. string? ImageUrl,
  27. bool EnableSound,
  28. string? SoundUrl,
  29. bool IsActive
  30. );