Skip to content

Commit

Permalink
Changed internal client classes to internal access type
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Jul 7, 2024
1 parent 17ca48e commit ee25aa8
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Huobi.Net/Clients/SpotApi/HuobiRestClientSpotApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
namespace Huobi.Net.Clients.SpotApi
{
/// <inheritdoc />
public class HuobiRestClientSpotApi : RestApiClient, IHuobiRestClientSpotApi, ISpotClient
internal class HuobiRestClientSpotApi : RestApiClient, IHuobiRestClientSpotApi, ISpotClient
{
/// <inheritdoc />
public new HuobiRestOptions ClientOptions => (HuobiRestOptions)base.ClientOptions;
Expand Down
2 changes: 1 addition & 1 deletion Huobi.Net/Clients/SpotApi/HuobiRestClientSpotApiAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace Huobi.Net.Clients.SpotApi
{
/// <inheritdoc />
public class HuobiRestClientSpotApiAccount : IHuobiRestClientSpotApiAccount
internal class HuobiRestClientSpotApiAccount : IHuobiRestClientSpotApiAccount
{
private const string GetUserId = "user/uid";
private const string GetSubAccountUsers = "sub-user/user-list";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
namespace Huobi.Net.Clients.SpotApi
{
/// <inheritdoc />
public class HuobiRestClientSpotApiExchangeData : IHuobiRestClientSpotApiExchangeData
internal class HuobiRestClientSpotApiExchangeData : IHuobiRestClientSpotApiExchangeData
{
private const string MarketTickerEndpoint = "market/tickers";
private const string MarketTickerMergedEndpoint = "market/detail/merged";
Expand Down
2 changes: 1 addition & 1 deletion Huobi.Net/Clients/SpotApi/HuobiRestClientSpotApiTrading.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
namespace Huobi.Net.Clients.SpotApi
{
/// <inheritdoc />
public class HuobiRestClientSpotApiTrading : IHuobiRestClientSpotApiTrading
internal class HuobiRestClientSpotApiTrading : IHuobiRestClientSpotApiTrading
{
private const string PlaceOrderEndpoint = "order/orders/place";
private const string OpenOrdersEndpoint = "order/openOrders";
Expand Down
2 changes: 1 addition & 1 deletion Huobi.Net/Clients/SpotApi/HuobiSocketClientSpotApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
namespace Huobi.Net.Clients.SpotApi
{
/// <inheritdoc />
public class HuobiSocketClientSpotApi : SocketApiClient, IHuobiSocketClientSpotApi
internal class HuobiSocketClientSpotApi : SocketApiClient, IHuobiSocketClientSpotApi
{
private static readonly MessagePath _idPath = MessagePath.Get().Property("id");
private static readonly MessagePath _actionPath = MessagePath.Get().Property("action");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
namespace Huobi.Net.Clients.FuturesApi
{
/// <inheritdoc />
public class HuobiRestClientUsdtMarginSwapApi : RestApiClient, IHuobiRestClientUsdtMarginSwapApi
internal class HuobiRestClientUsdtMarginSwapApi : RestApiClient, IHuobiRestClientUsdtMarginSwapApi
{
/// <inheritdoc />
public new HuobiRestOptions ClientOptions => (HuobiRestOptions)base.ClientOptions;
Expand All @@ -44,9 +44,9 @@ public class HuobiRestClientUsdtMarginSwapApi : RestApiClient, IHuobiRestClientU
/// <inheritdoc />
public IHuobiRestClientUsdtMarginSwapApiAccount Account { get; }
/// <inheritdoc />
public HuobiRestClientUsdtMarginSwapApiExchangeData ExchangeData { get; }
public IHuobiRestClientUsdtMarginSwapApiExchangeData ExchangeData { get; }
/// <inheritdoc />
public HuobiRestClientUsdtMarginSwapApiTrading Trading { get; }
public IHuobiRestClientUsdtMarginSwapApiTrading Trading { get; }

#endregion

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
namespace Huobi.Net.Clients.UsdtMarginSwapApi
{
/// <inheritdoc />
public class HuobiRestClientUsdtMarginSwapApiAccount : IHuobiRestClientUsdtMarginSwapApiAccount
internal class HuobiRestClientUsdtMarginSwapApiAccount : IHuobiRestClientUsdtMarginSwapApiAccount
{
private readonly HuobiRestClientUsdtMarginSwapApi _baseClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
namespace Huobi.Net.Clients.UsdtMarginSwapApi
{
/// <inheritdoc />
public class HuobiRestClientUsdtMarginSwapApiExchangeData : IHuobiRestClientUsdtMarginSwapApiExchangeData
internal class HuobiRestClientUsdtMarginSwapApiExchangeData : IHuobiRestClientUsdtMarginSwapApiExchangeData
{
private readonly HuobiRestClientUsdtMarginSwapApi _baseClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace Huobi.Net.Clients.UsdtMarginSwapApi
{
/// <inheritdoc />
public class HuobiRestClientUsdtMarginSwapApiTrading : IHuobiRestClientUsdtMarginSwapApiTrading
internal class HuobiRestClientUsdtMarginSwapApiTrading : IHuobiRestClientUsdtMarginSwapApiTrading
{
private readonly HuobiRestClientUsdtMarginSwapApi _baseClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
namespace Huobi.Net.Clients.SpotApi
{
/// <inheritdoc />
public class HuobiSocketClientUsdtMarginSwapApi : SocketApiClient, IHuobiSocketClientUsdtMarginSwapApi
internal class HuobiSocketClientUsdtMarginSwapApi : SocketApiClient, IHuobiSocketClientUsdtMarginSwapApi
{
private static readonly MessagePath _idPath = MessagePath.Get().Property("id");
private static readonly MessagePath _actionPath = MessagePath.Get().Property("action");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ public interface IHuobiRestClientUsdtMarginSwapApi : IRestApiClient
/// <summary>
/// Endpoints related to retrieving market and system data
/// </summary>
HuobiRestClientUsdtMarginSwapApiExchangeData ExchangeData { get; }
IHuobiRestClientUsdtMarginSwapApiExchangeData ExchangeData { get; }
/// <summary>
/// Endpoints related to orders and trades
/// </summary>
HuobiRestClientUsdtMarginSwapApiTrading Trading { get; }
IHuobiRestClientUsdtMarginSwapApiTrading Trading { get; }
}
}

0 comments on commit ee25aa8

Please sign in to comment.