Class: Seam::Resources::Device::Properties::TtlockMetadata

Inherits:
BaseResource
  • Object
show all
Defined in:
lib/seam/resources/device.rb

Defined Under Namespace

Classes: Features, WirelessKeypads

Instance Attribute Summary collapse

Attributes inherited from BaseResource

#client, #data

Method Summary

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_valueObject

Feature value for a TTLock device.



626
627
628
# File 'lib/seam/resources/device.rb', line 626

def feature_value
  @feature_value
end

#has_gatewayObject

Indicates whether a TTLock device has a gateway.



628
629
630
# File 'lib/seam/resources/device.rb', line 628

def has_gateway
  @has_gateway
end

#lock_aliasObject

Lock alias for a TTLock device.



630
631
632
# File 'lib/seam/resources/device.rb', line 630

def lock_alias
  @lock_alias
end

#lock_idObject

Lock ID for a TTLock device.



632
633
634
# File 'lib/seam/resources/device.rb', line 632

def lock_id
  @lock_id
end

#timezone_raw_offset_msObject

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.



634
635
636
# File 'lib/seam/resources/device.rb', line 634

def timezone_raw_offset_ms
  @timezone_raw_offset_ms
end