class Google::Apis::HomegraphV1::DeviceInfo
Device
information.
Attributes
hw_version[RW]
Device
hardware version. Corresponds to the JSON property `hwVersion` @return [String]
manufacturer[RW]
Device
manufacturer. Corresponds to the JSON property `manufacturer` @return [String]
model[RW]
Device
model. Corresponds to the JSON property `model` @return [String]
sw_version[RW]
Device
software version. Corresponds to the JSON property `swVersion` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/homegraph_v1/classes.rb, line 195 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/homegraph_v1/classes.rb, line 200 def update!(**args) @hw_version = args[:hw_version] if args.key?(:hw_version) @manufacturer = args[:manufacturer] if args.key?(:manufacturer) @model = args[:model] if args.key?(:model) @sw_version = args[:sw_version] if args.key?(:sw_version) end