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.
1314 1315 1316 1317 1318 1319 |
# File 'lib/v20200910/models.rb', line 1314 def initialize(desc=nil, summary=nil, blocktitle=nil, page=nil) @Desc = desc @Summary = summary @BlockTitle = blocktitle @Page = page end |
Instance Attribute Details
#BlockTitle ⇒ Object
1312 1313 1314 |
# File 'lib/v20200910/models.rb', line 1312 def BlockTitle @BlockTitle end |
#Desc ⇒ Object
1312 1313 1314 |
# File 'lib/v20200910/models.rb', line 1312 def Desc @Desc end |
#Page ⇒ Object
1312 1313 1314 |
# File 'lib/v20200910/models.rb', line 1312 def Page @Page end |
#Summary ⇒ Object
1312 1313 1314 |
# File 'lib/v20200910/models.rb', line 1312 def Summary @Summary end |
Instance Method Details
#deserialize(params) ⇒ Object
1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 |
# File 'lib/v20200910/models.rb', line 1321 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 |