Class: TencentCloud::Iotcloud::V20210408::ListFirmwaresRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::ListFirmwaresRequest
- Defined in:
- lib/v20210408/models.rb
Overview
ListFirmwares请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pagenum = nil, pagesize = nil, productid = nil, filters = nil) ⇒ ListFirmwaresRequest
constructor
A new instance of ListFirmwaresRequest.
Constructor Details
#initialize(pagenum = nil, pagesize = nil, productid = nil, filters = nil) ⇒ ListFirmwaresRequest
Returns a new instance of ListFirmwaresRequest.
3173 3174 3175 3176 3177 3178 |
# File 'lib/v20210408/models.rb', line 3173 def initialize(pagenum=nil, pagesize=nil, productid=nil, filters=nil) @PageNum = pagenum @PageSize = pagesize @ProductId = productid @Filters = filters end |
Instance Attribute Details
#Filters ⇒ Object
3171 3172 3173 |
# File 'lib/v20210408/models.rb', line 3171 def Filters @Filters end |
#PageNum ⇒ Object
3171 3172 3173 |
# File 'lib/v20210408/models.rb', line 3171 def PageNum @PageNum end |
#PageSize ⇒ Object
3171 3172 3173 |
# File 'lib/v20210408/models.rb', line 3171 def PageSize @PageSize end |
#ProductId ⇒ Object
3171 3172 3173 |
# File 'lib/v20210408/models.rb', line 3171 def ProductId @ProductId end |
Instance Method Details
#deserialize(params) ⇒ Object
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 |
# File 'lib/v20210408/models.rb', line 3180 def deserialize(params) @PageNum = params['PageNum'] @PageSize = params['PageSize'] @ProductId = params['ProductId'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| searchkeyword_tmp = SearchKeyword.new searchkeyword_tmp.deserialize(i) @Filters << searchkeyword_tmp end end end |