Class: Seam::Resources::Device::Properties::SaltoKsMetadata

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

Instance Attribute Summary collapse

Attributes inherited from BaseResource

#client, #data

Method Summary

Methods inherited from BaseResource

#[], aliased_accessor, attribute_aliases, date_accessor, discriminated_by, #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

#battery_levelString?

Battery level for a Salto KS device.

Returns:

  • (String, nil)


995
996
997
# File 'lib/seam/resources/device.rb', line 995

def battery_level
  @battery_level
end

#customer_referenceString?

Customer reference for a Salto KS device.

Returns:

  • (String, nil)


998
999
1000
# File 'lib/seam/resources/device.rb', line 998

def customer_reference
  @customer_reference
end

#has_custom_pin_subscriptionBoolean?

Indicates whether the site has a Salto KS subscription that supports custom PINs.

Returns:

  • (Boolean, nil)


1001
1002
1003
# File 'lib/seam/resources/device.rb', line 1001

def has_custom_pin_subscription
  @has_custom_pin_subscription
end

#lock_idString?

Lock ID for a Salto KS device.

Returns:

  • (String, nil)


1004
1005
1006
# File 'lib/seam/resources/device.rb', line 1004

def lock_id
  @lock_id
end

#lock_typeString?

Lock type for a Salto KS device.

Returns:

  • (String, nil)


1007
1008
1009
# File 'lib/seam/resources/device.rb', line 1007

def lock_type
  @lock_type
end

#locked_stateString?

Locked state for a Salto KS device.

Returns:

  • (String, nil)


1010
1011
1012
# File 'lib/seam/resources/device.rb', line 1010

def locked_state
  @locked_state
end

#modelString?

Model for a Salto KS device.

Returns:

  • (String, nil)


1013
1014
1015
# File 'lib/seam/resources/device.rb', line 1013

def model
  @model
end

#site_idString?

Site ID for the Salto KS site to which the device belongs.

Returns:

  • (String, nil)


1016
1017
1018
# File 'lib/seam/resources/device.rb', line 1016

def site_id
  @site_id
end

#site_nameString?

Site name for the Salto KS site to which the device belongs.

Returns:

  • (String, nil)


1019
1020
1021
# File 'lib/seam/resources/device.rb', line 1019

def site_name
  @site_name
end