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 1f07794 commit 317da0f
Show file tree
Hide file tree
Showing 31 changed files with 31 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
namespace Bybit.Net.Clients.CopyTradingApi
{
/// <inheritdoc cref="IBybitRestClientCopyTradingApi" />
public class BybitRestClientCopyTradingApi : RestApiClient, IBybitRestClientCopyTradingApi
internal class BybitRestClientCopyTradingApi : RestApiClient, IBybitRestClientCopyTradingApi
{
internal static TimeSyncState _timeSyncState = new TimeSyncState("CopyTrade Api");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace Bybit.Net.Clients.CopyTradingApi
{
/// <inheritdoc />
public class BybitRestClientCopyTradingApiAccount : IBybitRestClientCopyTradingApiAccount
internal class BybitRestClientCopyTradingApiAccount : IBybitRestClientCopyTradingApiAccount
{
private BybitRestClientCopyTradingApi _baseClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace Bybit.Net.Clients.CopyTradingApi
{
/// <inheritdoc />
public class BybitRestClientCopyTradingApiExchangeData : IBybitRestClientCopyTradingApiExchangeData
internal class BybitRestClientCopyTradingApiExchangeData : IBybitRestClientCopyTradingApiExchangeData
{
private BybitRestClientCopyTradingApi _baseClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
namespace Bybit.Net.Clients.CopyTradingApi
{
/// <inheritdoc />
public class BybitRestClientCopyTradingApiTrading : IBybitRestClientCopyTradingApiTrading
internal class BybitRestClientCopyTradingApiTrading : IBybitRestClientCopyTradingApiTrading
{
private BybitRestClientCopyTradingApi _baseClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
namespace Bybit.Net.Clients.DerivativesApi
{
/// <inheritdoc cref="IBybitRestClientDerivativesApi" />
public class BybitRestClientDerivativesApi : RestApiClient, IBybitRestClientDerivativesApi
internal class BybitRestClientDerivativesApi : RestApiClient, IBybitRestClientDerivativesApi
{
internal static TimeSyncState _timeSyncState = new TimeSyncState("Derivatives Api");
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
namespace Bybit.Net.Clients.DerivativesApi
{
/// <inheritdoc />
public class BybitRestClientDerivativesApiExchangeData : IBybitRestClientDerivativesApiExchangeData
internal class BybitRestClientDerivativesApiExchangeData : IBybitRestClientDerivativesApiExchangeData
{
private readonly BybitRestClientDerivativesApi _baseClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
namespace Bybit.Net.Clients.DerivativesApi
{
/// <inheritdoc cref="IBybitSocketClientDerivativesPublicApi" />
public class BybitSocketClientDerivativesPublicApi : SocketApiClient, IBybitSocketClientDerivativesPublicApi
internal class BybitSocketClientDerivativesPublicApi : SocketApiClient, IBybitSocketClientDerivativesPublicApi
{
private static readonly MessagePath _reqIdPath = MessagePath.Get().Property("req_id");
private static readonly MessagePath _topicPath = MessagePath.Get().Property("topic");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Bybit.Net.Clients.DerivativesApi.ContractApi
{
/// <inheritdoc cref="IBybitRestClientContractApi" />
public class BybitRestClientContractApi : IBybitRestClientContractApi
internal class BybitRestClientContractApi : IBybitRestClientContractApi
{
/// <inheritdoc />
public IBybitRestClientContractApiAccount Account { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace Bybit.Net.Clients.DerivativesApi.ContractApi
{
/// <inheritdoc />
public class BybitClientUnifiedMarginApiAccount : IBybitRestClientContractApiAccount
internal class BybitClientUnifiedMarginApiAccount : IBybitRestClientContractApiAccount
{
private readonly BybitRestClientDerivativesApi _baseClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
namespace Bybit.Net.Clients.DerivativesApi.ContractApi
{
/// <inheritdoc cref="IBybitSocketClientContractApi" />
public class BybitSocketClientContractApi : SocketApiClient, IBybitSocketClientContractApi
internal class BybitSocketClientContractApi : SocketApiClient, IBybitSocketClientContractApi
{
private static readonly MessagePath _reqIdPath = MessagePath.Get().Property("req_id");
private static readonly MessagePath _topicPath = MessagePath.Get().Property("topic");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Bybit.Net.Clients.DerivativesApi.UnifiedMarginApi
{
/// <inheritdoc cref="IBybitRestClientUnifiedMarginApi" />
public class BybitRestClientUnifiedMarginApi : IBybitRestClientUnifiedMarginApi
internal class BybitRestClientUnifiedMarginApi : IBybitRestClientUnifiedMarginApi
{
/// <inheritdoc />
public IBybitRestClientUnifiedMarginApiAccount Account { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
namespace Bybit.Net.Clients.DerivativesApi.UnifiedMarginApi
{
/// <inheritdoc />
public class BybitRestClientUnifiedMarginApiAccount : IBybitRestClientUnifiedMarginApiAccount
internal class BybitRestClientUnifiedMarginApiAccount : IBybitRestClientUnifiedMarginApiAccount
{
private readonly BybitRestClientDerivativesApi _baseClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
namespace Bybit.Net.Clients.DerivativesApi.UnifiedMarginApi
{
/// <inheritdoc />
public class BybitRestClientUnifiedMarginApiTrading : IBybitRestClientUnifiedMarginApiTrading
internal class BybitRestClientUnifiedMarginApiTrading : IBybitRestClientUnifiedMarginApiTrading
{
private readonly BybitRestClientDerivativesApi _baseClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
namespace Bybit.Net.Clients.DerivativesApi.UnifiedMarginApi
{
/// <inheritdoc cref="IBybitSocketClientUnifiedMarginApi" />
public class BybitSocketClientUnifiedMarginApi : SocketApiClient, IBybitSocketClientUnifiedMarginApi
internal class BybitSocketClientUnifiedMarginApi : SocketApiClient, IBybitSocketClientUnifiedMarginApi
{
private static readonly MessagePath _typePath = MessagePath.Get().Property("type");
private static readonly MessagePath _opPath = MessagePath.Get().Property("op");
Expand Down
2 changes: 1 addition & 1 deletion ByBit.Net/Clients/SpotApi/BybitRestClientBaseSpotApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Bybit.Net.Clients.SpotApi
/// <summary>
/// Base client for the Bybit rest spot API
/// </summary>
public abstract class BybitRestClientBaseSpotApi : RestApiClient, ISpotClient
internal abstract class BybitRestClientBaseSpotApi : RestApiClient, ISpotClient
{
internal static TimeSyncState _timeSyncState = new TimeSyncState("Spot Api");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
namespace Bybit.Net.Clients.SpotApi.v3
{
/// <inheritdoc />
public class BybitRestClientSpotApiAccountV3 : IBybitRestClientSpotApiAccountV3
internal class BybitRestClientSpotApiAccountV3 : IBybitRestClientSpotApiAccountV3
{
private BybitRestClientBaseSpotApi _baseClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
namespace Bybit.Net.Clients.SpotApi.v3
{
/// <inheritdoc />
public class BybitRestClientSpotApiExchangeDataV3 : IBybitRestClientSpotApiExchangeDataV3
internal class BybitRestClientSpotApiExchangeDataV3 : IBybitRestClientSpotApiExchangeDataV3
{
private BybitRestClientBaseSpotApi _baseClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
namespace Bybit.Net.Clients.SpotApi.v3
{
/// <inheritdoc />
public class BybitRestClientSpotApiTradingV3 : IBybitRestClientSpotApiTradingV3
internal class BybitRestClientSpotApiTradingV3 : IBybitRestClientSpotApiTradingV3
{
private readonly BybitRestClientBaseSpotApi _baseClient;

Expand Down
2 changes: 1 addition & 1 deletion ByBit.Net/Clients/SpotApi/v3/BybitRestClientSpotApiV3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
namespace Bybit.Net.Clients.SpotApi.v3
{
/// <inheritdoc cref="IBybitRestClientSpotApiV3" />
public class BybitRestClientSpotApiV3 : BybitRestClientBaseSpotApi, IBybitRestClientSpotApiV3
internal class BybitRestClientSpotApiV3 : BybitRestClientBaseSpotApi, IBybitRestClientSpotApiV3
{
/// <inheritdoc />
public IBybitRestClientSpotApiAccountV3 Account { get; }
Expand Down
2 changes: 1 addition & 1 deletion ByBit.Net/Clients/SpotApi/v3/BybitSocketClientSpotApiV3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
namespace Bybit.Net.Clients.SpotApi.v3
{
/// <inheritdoc cref="IBybitSocketClientSpotApiV3"/>
public class BybitSocketClientSpotApiV3 : SocketApiClient, IBybitSocketClientSpotApiV3
internal class BybitSocketClientSpotApiV3 : SocketApiClient, IBybitSocketClientSpotApiV3
{
private static readonly MessagePath _reqIdPath = MessagePath.Get().Property("req_id");
private static readonly MessagePath _topicPath = MessagePath.Get().Property("topic");
Expand Down
2 changes: 1 addition & 1 deletion ByBit.Net/Clients/V5/BybitRestClientApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
namespace Bybit.Net.Clients.V5
{
/// <inheritdoc cref="IBybitRestClientApi"/>
public class BybitRestClientApi : RestApiClient, IBybitRestClientApi, ISpotClient
internal class BybitRestClientApi : RestApiClient, IBybitRestClientApi, ISpotClient
{
internal TimeSyncState _timeSyncState = new TimeSyncState("Bybit V5 API");

Expand Down
2 changes: 1 addition & 1 deletion ByBit.Net/Clients/V5/BybitRestClientApiAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace Bybit.Net.Clients.V5
{
/// <inheritdoc />
public class BybitRestClientApiAccount : IBybitRestClientApiAccount
internal class BybitRestClientApiAccount : IBybitRestClientApiAccount
{
private static readonly RequestDefinitionCache _definitions = new RequestDefinitionCache();

Expand Down
2 changes: 1 addition & 1 deletion ByBit.Net/Clients/V5/BybitRestClientApiExchangeData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
namespace Bybit.Net.Clients.V5
{
/// <inheritdoc />
public class BybitRestClientApiExchangeData : IBybitRestClientApiExchangeData
internal class BybitRestClientApiExchangeData : IBybitRestClientApiExchangeData
{
private BybitRestClientApi _baseClient;

Expand Down
2 changes: 1 addition & 1 deletion ByBit.Net/Clients/V5/BybitRestClientApiSubAccounts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace Bybit.Net.Clients.V5
{
/// <inheritdoc />
public class BybitRestClientApiSubAccounts : IBybitRestClientApiSubAccounts
internal class BybitRestClientApiSubAccounts : IBybitRestClientApiSubAccounts
{
private BybitRestClientApi _baseClient;

Expand Down
2 changes: 1 addition & 1 deletion ByBit.Net/Clients/V5/BybitRestClientApiTrading.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace Bybit.Net.Clients.V5
{
/// <inheritdoc />
public class BybitRestClientApiTrading : IBybitRestClientApiTrading
internal class BybitRestClientApiTrading : IBybitRestClientApiTrading
{
private readonly BybitRestClientApi _baseClient;

Expand Down
2 changes: 1 addition & 1 deletion ByBit.Net/Clients/V5/BybitSocketClientBaseApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace Bybit.Net.Clients.V5
{
/// <inheritdoc cref="IBybitSocketClientBaseApi" />
public abstract class BybitSocketClientBaseApi : SocketApiClient, IBybitSocketClientBaseApi
internal abstract class BybitSocketClientBaseApi : SocketApiClient, IBybitSocketClientBaseApi
{
/// <inheritdoc />
public new BybitSocketOptions ClientOptions => (BybitSocketOptions)base.ClientOptions;
Expand Down
2 changes: 1 addition & 1 deletion ByBit.Net/Clients/V5/BybitSocketClientInverseApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
namespace Bybit.Net.Clients.V5
{
/// <inheritdoc cref="IBybitSocketClientLinearApi" />
public class BybitSocketClientInverseApi : BybitSocketClientBaseApi, IBybitSocketClientInverseApi
internal class BybitSocketClientInverseApi : BybitSocketClientBaseApi, IBybitSocketClientInverseApi
{
private static readonly MessagePath _reqIdPath = MessagePath.Get().Property("req_id");
private static readonly MessagePath _topicPath = MessagePath.Get().Property("topic");
Expand Down
2 changes: 1 addition & 1 deletion ByBit.Net/Clients/V5/BybitSocketClientLinearApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
namespace Bybit.Net.Clients.V5
{
/// <inheritdoc cref="IBybitSocketClientLinearApi" />
public class BybitSocketClientLinearApi : BybitSocketClientBaseApi, IBybitSocketClientLinearApi
internal class BybitSocketClientLinearApi : BybitSocketClientBaseApi, IBybitSocketClientLinearApi
{
private static readonly MessagePath _reqIdPath = MessagePath.Get().Property("req_id");
private static readonly MessagePath _topicPath = MessagePath.Get().Property("topic");
Expand Down
2 changes: 1 addition & 1 deletion ByBit.Net/Clients/V5/BybitSocketClientOptionApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
namespace Bybit.Net.Clients.V5
{
/// <inheritdoc cref="IBybitSocketClientOptionApi" />
public class BybitSocketClientOptionApi : BybitSocketClientBaseApi, IBybitSocketClientOptionApi
internal class BybitSocketClientOptionApi : BybitSocketClientBaseApi, IBybitSocketClientOptionApi
{
private static readonly MessagePath _typePath = MessagePath.Get().Property("type");
private static readonly MessagePath _successPath = MessagePath.Get().Property("data").Property("successTopics");
Expand Down
2 changes: 1 addition & 1 deletion ByBit.Net/Clients/V5/BybitSocketClientPrivateApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
namespace Bybit.Net.Clients.V5
{
/// <inheritdoc cref="IBybitSocketClientPrivateApi" />
public class BybitSocketClientPrivateApi : SocketApiClient, IBybitSocketClientPrivateApi
internal class BybitSocketClientPrivateApi : SocketApiClient, IBybitSocketClientPrivateApi
{
private static readonly MessagePath _reqIdPath = MessagePath.Get().Property("req_id");
private static readonly MessagePath _reqId2Path = MessagePath.Get().Property("reqId");
Expand Down
2 changes: 1 addition & 1 deletion ByBit.Net/Clients/V5/BybitSocketClientSpotApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
namespace Bybit.Net.Clients.V5
{
/// <inheritdoc cref="IBybitSocketClientSpotApi" />
public class BybitSocketClientSpotApi : BybitSocketClientBaseApi, IBybitSocketClientSpotApi
internal class BybitSocketClientSpotApi : BybitSocketClientBaseApi, IBybitSocketClientSpotApi
{
private static readonly MessagePath _reqIdPath = MessagePath.Get().Property("req_id");
private static readonly MessagePath _topicPath = MessagePath.Get().Property("topic");
Expand Down

0 comments on commit 317da0f

Please sign in to comment.