Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceModel
- Inherits:
-
Object
- Object
- Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceModel
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb,
lib/google/apis/prod_tt_sasportal_v1alpha1/representations.rb,
lib/google/apis/prod_tt_sasportal_v1alpha1/representations.rb
Overview
Information about the model of the device.
Instance Attribute Summary collapse
-
#firmware_version ⇒ String
The firmware version of the device.
-
#hardware_version ⇒ String
The hardware version of the device.
-
#name ⇒ String
The name of the device model.
-
#software_version ⇒ String
The software version of the device.
-
#vendor ⇒ String
The name of the device vendor.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalDeviceModel
constructor
A new instance of SasPortalDeviceModel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SasPortalDeviceModel
Returns a new instance of SasPortalDeviceModel.
509 510 511 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 509 def initialize(**args) update!(**args) end |
Instance Attribute Details
#firmware_version ⇒ String
The firmware version of the device.
Corresponds to the JSON property firmwareVersion
487 488 489 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 487 def firmware_version @firmware_version end |
#hardware_version ⇒ String
The hardware version of the device.
Corresponds to the JSON property hardwareVersion
492 493 494 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 492 def hardware_version @hardware_version end |
#name ⇒ String
The name of the device model.
Corresponds to the JSON property name
497 498 499 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 497 def name @name end |
#software_version ⇒ String
The software version of the device.
Corresponds to the JSON property softwareVersion
502 503 504 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 502 def software_version @software_version end |
#vendor ⇒ String
The name of the device vendor.
Corresponds to the JSON property vendor
507 508 509 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 507 def vendor @vendor end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
514 515 516 517 518 519 520 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 514 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 |