Class: Seam::Resources::Device::Properties::TtlockMetadata
- Inherits:
-
BaseResource
- Object
- BaseResource
- Seam::Resources::Device::Properties::TtlockMetadata
- Defined in:
- lib/seam/resources/device.rb
Defined Under Namespace
Classes: Features, WirelessKeypads
Instance Attribute Summary collapse
-
#feature_value ⇒ String?
Feature value for a TTLock device.
-
#has_gateway ⇒ Boolean?
Indicates whether a TTLock device has a gateway.
-
#lock_alias ⇒ String?
Lock alias for a TTLock device.
-
#lock_id ⇒ Float?
Lock ID for a TTLock device.
-
#timezone_raw_offset_ms ⇒ Float?
Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app.
Attributes inherited from BaseResource
Instance Method Summary collapse
-
#features ⇒ Features?
Features for a TTLock device.
-
#wireless_keypads ⇒ Array<WirelessKeypads>
Wireless keypads for a TTLock device.
Methods inherited from BaseResource
#[], date_accessor, #initialize, #inspect, load_from_response, resource_accessor, resource_accessors, resource_list_accessor, resource_list_accessors, #update_from_response
Constructor Details
This class inherits a constructor from Seam::Resources::BaseResource
Instance Attribute Details
#feature_value ⇒ String?
Feature value for a TTLock device.
880 881 882 |
# File 'lib/seam/resources/device.rb', line 880 def feature_value @feature_value end |
#has_gateway ⇒ Boolean?
Indicates whether a TTLock device has a gateway.
883 884 885 |
# File 'lib/seam/resources/device.rb', line 883 def has_gateway @has_gateway end |
#lock_alias ⇒ String?
Lock alias for a TTLock device.
886 887 888 |
# File 'lib/seam/resources/device.rb', line 886 def lock_alias @lock_alias end |
#lock_id ⇒ Float?
Lock ID for a TTLock device.
889 890 891 |
# File 'lib/seam/resources/device.rb', line 889 def lock_id @lock_id end |
#timezone_raw_offset_ms ⇒ Float?
Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value.
892 893 894 |
# File 'lib/seam/resources/device.rb', line 892 def timezone_raw_offset_ms @timezone_raw_offset_ms end |
Instance Method Details
#features ⇒ Features?
Features for a TTLock device.
874 |
# File 'lib/seam/resources/device.rb', line 874 resource_accessor :features, Features |
#wireless_keypads ⇒ Array<WirelessKeypads>
Wireless keypads for a TTLock device.
877 |
# File 'lib/seam/resources/device.rb', line 877 resource_list_accessor :wireless_keypads, WirelessKeypads |