Class: TesoteSdk::Models::SyncSession
- Inherits:
-
Struct
- Object
- Struct
- TesoteSdk::Models::SyncSession
- Extended by:
- FromHash
- Defined in:
- lib/tesote_sdk/models.rb
Instance Attribute Summary collapse
-
#accounts_count ⇒ Object
Returns the value of attribute accounts_count.
-
#completed_at ⇒ Object
Returns the value of attribute completed_at.
-
#error ⇒ Object
Returns the value of attribute error.
-
#id ⇒ Object
Returns the value of attribute id.
-
#performance ⇒ Object
Returns the value of attribute performance.
-
#started_at ⇒ Object
Returns the value of attribute started_at.
-
#status ⇒ Object
Returns the value of attribute status.
-
#transactions_synced ⇒ Object
Returns the value of attribute transactions_synced.
Class Method Summary collapse
Methods included from FromHash
build_field, from_array, from_hash
Instance Attribute Details
#accounts_count ⇒ Object
Returns the value of attribute accounts_count
195 196 197 |
# File 'lib/tesote_sdk/models.rb', line 195 def accounts_count @accounts_count end |
#completed_at ⇒ Object
Returns the value of attribute completed_at
195 196 197 |
# File 'lib/tesote_sdk/models.rb', line 195 def completed_at @completed_at end |
#error ⇒ Object
Returns the value of attribute error
195 196 197 |
# File 'lib/tesote_sdk/models.rb', line 195 def error @error end |
#id ⇒ Object
Returns the value of attribute id
195 196 197 |
# File 'lib/tesote_sdk/models.rb', line 195 def id @id end |
#performance ⇒ Object
Returns the value of attribute performance
195 196 197 |
# File 'lib/tesote_sdk/models.rb', line 195 def performance @performance end |
#started_at ⇒ Object
Returns the value of attribute started_at
195 196 197 |
# File 'lib/tesote_sdk/models.rb', line 195 def started_at @started_at end |
#status ⇒ Object
Returns the value of attribute status
195 196 197 |
# File 'lib/tesote_sdk/models.rb', line 195 def status @status end |
#transactions_synced ⇒ Object
Returns the value of attribute transactions_synced
195 196 197 |
# File 'lib/tesote_sdk/models.rb', line 195 def transactions_synced @transactions_synced end |
Class Method Details
.build_field(key, value) ⇒ Object
208 209 210 211 212 213 214 |
# File 'lib/tesote_sdk/models.rb', line 208 def self.build_field(key, value) case key when 'error' then SyncSessionError.from_hash(value) when 'performance' then SyncSessionPerformance.from_hash(value) else value end end |