mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 06:35:13 +01:00
20 lines
622 B
C#
20 lines
622 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using BTCPayServer.Services.Rates;
|
|
|
|
namespace BTCPayServer.Models.ServerViewModels
|
|
{
|
|
public class RatesViewModel
|
|
{
|
|
[Display(Name = "Bitcoin average api keys")]
|
|
public string PublicKey { get; set; }
|
|
public string PrivateKey { get; set; }
|
|
[Display(Name = "Cache the rates for ... minutes")]
|
|
[Range(0, 60)]
|
|
public int CacheMinutes { get; set; }
|
|
public GetRateLimitsResponse RateLimits { get; internal set; }
|
|
}
|
|
}
|