class Google::Apis::SasportalV1alpha1::SasPortalDeviceModel

Information about the model of the device.

Attributes

firmware_version[RW]

The firmware version of the device. Corresponds to the JSON property `firmwareVersion` @return [String]

hardware_version[RW]

The hardware version of the device. Corresponds to the JSON property `hardwareVersion` @return [String]

name[RW]

The name of the device model. Corresponds to the JSON property `name` @return [String]

software_version[RW]

The software version of the device. Corresponds to the JSON property `softwareVersion` @return [String]

vendor[RW]

The name of the device vendor. Corresponds to the JSON property `vendor` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sasportal_v1alpha1/classes.rb, line 483
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sasportal_v1alpha1/classes.rb, line 488
def update!(**args)
  @firmware_version = args[:firmware_version] if args.key?(:firmware_version)
  @hardware_version = args[:hardware_version] if args.key?(:hardware_version)
  @name = args[:name] if args.key?(:name)
  @software_version = args[:software_version] if args.key?(:software_version)
  @vendor = args[:vendor] if args.key?(:vendor)
end