From 24c032284f6f94bb29ef519e6861551fcffda884 Mon Sep 17 00:00:00 2001 From: AKosylo Date: Fri, 13 Oct 2023 13:33:11 +0200 Subject: [PATCH] change accessibility level of timeSequence property --- DXFeedFramework/Events/Market/Extra/OrderBase.swift | 2 +- DXFeedFramework/Events/Market/Extra/TradeBase.swift | 2 +- DXFeedFramework/Events/Market/OptionSale.swift | 2 +- DXFeedFramework/Events/Market/Series.swift | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DXFeedFramework/Events/Market/Extra/OrderBase.swift b/DXFeedFramework/Events/Market/Extra/OrderBase.swift index 0a269ae11..ece1f5105 100644 --- a/DXFeedFramework/Events/Market/Extra/OrderBase.swift +++ b/DXFeedFramework/Events/Market/Extra/OrderBase.swift @@ -93,7 +93,7 @@ public class OrderBase: MarketEvent, IIndexedEvent, CustomStringConvertible { /// Gets or sets time and sequence of this order packaged into single long value /// This method is intended for efficient order time priority comparison. /// Do not set their property directly. - public var timeSequence: Int64 = 0 + public internal(set) var timeSequence: Long = 0 /// Gets or sets microseconds and nanoseconds time part of this order. public var timeNanoPart: Int32 = 0 /// Gets or sets time of the last ``action`` diff --git a/DXFeedFramework/Events/Market/Extra/TradeBase.swift b/DXFeedFramework/Events/Market/Extra/TradeBase.swift index c75842fc7..6afcb674e 100644 --- a/DXFeedFramework/Events/Market/Extra/TradeBase.swift +++ b/DXFeedFramework/Events/Market/Extra/TradeBase.swift @@ -28,7 +28,7 @@ public class TradeBase: MarketEvent, ILastingEvent { /// Gets or sets time and sequence of last trade packaged into single long value. /// Do not set this property directly. /// Sets ``time`` and/or ``setSequence(_:)``. - public var timeSequence: Long = 0 + public internal(set) var timeSequence: Long = 0 /// Gets or sets microseconds and nanoseconds time part of the last trade. public var timeNanoPart: Int32 = 0 /// Gets or sets exchange code of the last trade. diff --git a/DXFeedFramework/Events/Market/OptionSale.swift b/DXFeedFramework/Events/Market/OptionSale.swift index 1eb870794..f8a46a3d9 100644 --- a/DXFeedFramework/Events/Market/OptionSale.swift +++ b/DXFeedFramework/Events/Market/OptionSale.swift @@ -43,7 +43,7 @@ public class OptionSale: MarketEvent, IIndexedEvent { /// This method is intended for efficient series time priority comparison. /// **Do not use this method directly** /// Change ``time`` and/or ``setSequence(_:)`` - public var timeSequence: Int64 = 0 + public internal(set) var timeSequence: Long = 0 /// Gets or sets microseconds and nanoseconds time part of event. public var timeNanoPart: Int32 = 0 /// Gets or sets exchange code of this option sale event. diff --git a/DXFeedFramework/Events/Market/Series.swift b/DXFeedFramework/Events/Market/Series.swift index 92e05f1c3..d18b9b6ff 100644 --- a/DXFeedFramework/Events/Market/Series.swift +++ b/DXFeedFramework/Events/Market/Series.swift @@ -40,7 +40,7 @@ public class Series: MarketEvent, IIndexedEvent { /// This method is intended for efficient series time priority comparison. /// **Do not use this method directly** /// Change ``time`` and/or ``setSequence(_:)`` - public var timeSequence: Long = 0 + public internal(set) var timeSequence: Long = 0 /// Gets or sets day id of expiration. public var expiration: Int32 = 0 /// Gets or sets implied volatility index for this series based on VIX methodology.