Class: TencentCloud::Mrs::V20200910::Check
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::Check
- Defined in:
- lib/v20200910/models.rb
Overview
检查报告单
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(desc = nil, summary = nil, blocktitle = nil, page = nil) ⇒ Check
constructor
A new instance of Check.
Constructor Details
#initialize(desc = nil, summary = nil, blocktitle = nil, page = nil) ⇒ Check
Returns a new instance of Check.
1325 1326 1327 1328 1329 1330 |
# File 'lib/v20200910/models.rb', line 1325 def initialize(desc=nil, summary=nil, blocktitle=nil, page=nil) @Desc = desc @Summary = summary @BlockTitle = blocktitle @Page = page end |
Instance Attribute Details
#BlockTitle ⇒ Object
1323 1324 1325 |
# File 'lib/v20200910/models.rb', line 1323 def BlockTitle @BlockTitle end |
#Desc ⇒ Object
1323 1324 1325 |
# File 'lib/v20200910/models.rb', line 1323 def Desc @Desc end |
#Page ⇒ Object
1323 1324 1325 |
# File 'lib/v20200910/models.rb', line 1323 def Page @Page end |
#Summary ⇒ Object
1323 1324 1325 |
# File 'lib/v20200910/models.rb', line 1323 def Summary @Summary end |
Instance Method Details
#deserialize(params) ⇒ Object
1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 |
# File 'lib/v20200910/models.rb', line 1332 def deserialize(params) unless params['Desc'].nil? @Desc = Desc.new @Desc.deserialize(params['Desc']) end unless params['Summary'].nil? @Summary = Summary.new @Summary.deserialize(params['Summary']) end unless params['BlockTitle'].nil? @BlockTitle = [] params['BlockTitle'].each do |i| blocktitle_tmp = BlockTitle.new blocktitle_tmp.deserialize(i) @BlockTitle << blocktitle_tmp end end @Page = params['Page'] end |