Class: TencentCloud::Iotcloud::V20210408::BatchUpdateFirmwareRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::BatchUpdateFirmwareRequest
- Defined in:
- lib/v20210408/models.rb
Overview
BatchUpdateFirmware请求参数结构体
Instance Attribute Summary collapse
- #DeviceNames ⇒ Object
- #FileMd5 ⇒ Object
- #FileName ⇒ Object
- #FileSize ⇒ Object
- #FirmwareOriVersion ⇒ Object
- #FirmwareVersion ⇒ Object
- #ProductId ⇒ Object
- #TimeoutInterval ⇒ Object
- #Type ⇒ Object
- #UpgradeMethod ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, firmwareversion = nil, firmwareoriversion = nil, upgrademethod = nil, filename = nil, filemd5 = nil, filesize = nil, devicenames = nil, timeoutinterval = nil, type = nil) ⇒ BatchUpdateFirmwareRequest
constructor
A new instance of BatchUpdateFirmwareRequest.
Constructor Details
#initialize(productid = nil, firmwareversion = nil, firmwareoriversion = nil, upgrademethod = nil, filename = nil, filemd5 = nil, filesize = nil, devicenames = nil, timeoutinterval = nil, type = nil) ⇒ BatchUpdateFirmwareRequest
Returns a new instance of BatchUpdateFirmwareRequest.
68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/v20210408/models.rb', line 68 def initialize(productid=nil, firmwareversion=nil, firmwareoriversion=nil, upgrademethod=nil, filename=nil, filemd5=nil, filesize=nil, devicenames=nil, timeoutinterval=nil, type=nil) @ProductId = productid @FirmwareVersion = firmwareversion @FirmwareOriVersion = firmwareoriversion @UpgradeMethod = upgrademethod @FileName = filename @FileMd5 = filemd5 @FileSize = filesize @DeviceNames = devicenames @TimeoutInterval = timeoutinterval @Type = type end |
Instance Attribute Details
#DeviceNames ⇒ Object
66 67 68 |
# File 'lib/v20210408/models.rb', line 66 def DeviceNames @DeviceNames end |
#FileMd5 ⇒ Object
66 67 68 |
# File 'lib/v20210408/models.rb', line 66 def FileMd5 @FileMd5 end |
#FileName ⇒ Object
66 67 68 |
# File 'lib/v20210408/models.rb', line 66 def FileName @FileName end |
#FileSize ⇒ Object
66 67 68 |
# File 'lib/v20210408/models.rb', line 66 def FileSize @FileSize end |
#FirmwareOriVersion ⇒ Object
66 67 68 |
# File 'lib/v20210408/models.rb', line 66 def FirmwareOriVersion @FirmwareOriVersion end |
#FirmwareVersion ⇒ Object
66 67 68 |
# File 'lib/v20210408/models.rb', line 66 def FirmwareVersion @FirmwareVersion end |
#ProductId ⇒ Object
66 67 68 |
# File 'lib/v20210408/models.rb', line 66 def ProductId @ProductId end |
#TimeoutInterval ⇒ Object
66 67 68 |
# File 'lib/v20210408/models.rb', line 66 def TimeoutInterval @TimeoutInterval end |
#Type ⇒ Object
66 67 68 |
# File 'lib/v20210408/models.rb', line 66 def Type @Type end |
#UpgradeMethod ⇒ Object
66 67 68 |
# File 'lib/v20210408/models.rb', line 66 def UpgradeMethod @UpgradeMethod end |
Instance Method Details
#deserialize(params) ⇒ Object
81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/v20210408/models.rb', line 81 def deserialize(params) @ProductId = params['ProductId'] @FirmwareVersion = params['FirmwareVersion'] @FirmwareOriVersion = params['FirmwareOriVersion'] @UpgradeMethod = params['UpgradeMethod'] @FileName = params['FileName'] @FileMd5 = params['FileMd5'] @FileSize = params['FileSize'] @DeviceNames = params['DeviceNames'] @TimeoutInterval = params['TimeoutInterval'] @Type = params['Type'] end |