Class: Seam::Resources::Device::Properties::SaltoMetadata

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 device.

Returns:

  • (String, nil)


1025
1026
1027
# File 'lib/seam/resources/device.rb', line 1025

def battery_level
  @battery_level
end

#customer_referenceString?

Customer reference for a Salto device.

Returns:

  • (String, nil)


1028
1029
1030
# File 'lib/seam/resources/device.rb', line 1028

def customer_reference
  @customer_reference
end

#lock_idString?

Lock ID for a Salto device.

Returns:

  • (String, nil)


1031
1032
1033
# File 'lib/seam/resources/device.rb', line 1031

def lock_id
  @lock_id
end

#lock_typeString?

Lock type for a Salto device.

Returns:

  • (String, nil)


1034
1035
1036
# File 'lib/seam/resources/device.rb', line 1034

def lock_type
  @lock_type
end

#locked_stateString?

Locked state for a Salto device.

Returns:

  • (String, nil)


1037
1038
1039
# File 'lib/seam/resources/device.rb', line 1037

def locked_state
  @locked_state
end

#modelString?

Model for a Salto device.

Returns:

  • (String, nil)


1040
1041
1042
# File 'lib/seam/resources/device.rb', line 1040

def model
  @model
end

#site_idString?

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

Returns:

  • (String, nil)


1043
1044
1045
# File 'lib/seam/resources/device.rb', line 1043

def site_id
  @site_id
end

#site_nameString?

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

Returns:

  • (String, nil)


1046
1047
1048
# File 'lib/seam/resources/device.rb', line 1046

def site_name
  @site_name
end