namespace CryptoExchange.Net.Objects
{
///
/// Information on the platform
///
public record PlatformInfo
{
///
/// Platform id
///
public string Id { get; }
///
/// Display name
///
public string DisplayName { get; }
///
/// Logo
///
public string Logo { get; }
///
/// Url to main application
///
public string Url { get; }
///
/// Urls to the API documentation
///
public string[] ApiDocsUrl { get; }
///
/// Platform type
///
public PlatformType PlatformType { get; }
///
/// Centralization type
///
public CentralizationType CentralizationType { get; }
///
/// Supported environments
///
public string[] SupportedEnvironments { get; }
///
/// ctor
///
public PlatformInfo(
string id,
string displayName,
string logo,
string url,
string[] apiDocsUrl,
PlatformType platformType,
CentralizationType centralizationType,
string[] supportedEnvironments)
{
Id = id;
DisplayName = displayName;
Logo = logo;
Url = url;
ApiDocsUrl = apiDocsUrl;
PlatformType = platformType;
CentralizationType = centralizationType;
SupportedEnvironments = supportedEnvironments;
}
}
}