Class: TencentCloud::Mrs::V20200910::HearingItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::HearingItem
- Defined in:
- lib/v20200910/models.rb
Overview
听力信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, item = nil, location = nil, result = nil) ⇒ HearingItem
constructor
A new instance of HearingItem.
Constructor Details
#initialize(name = nil, item = nil, location = nil, result = nil) ⇒ HearingItem
Returns a new instance of HearingItem.
4496 4497 4498 4499 4500 4501 |
# File 'lib/v20200910/models.rb', line 4496 def initialize(name=nil, item=nil, location=nil, result=nil) @Name = name @Item = item @Location = location @Result = result end |
Instance Attribute Details
#Item ⇒ Object
4494 4495 4496 |
# File 'lib/v20200910/models.rb', line 4494 def Item @Item end |
#Location ⇒ Object
4494 4495 4496 |
# File 'lib/v20200910/models.rb', line 4494 def Location @Location end |
#Name ⇒ Object
4494 4495 4496 |
# File 'lib/v20200910/models.rb', line 4494 def Name @Name end |
#Result ⇒ Object
4494 4495 4496 |
# File 'lib/v20200910/models.rb', line 4494 def Result @Result end |
Instance Method Details
#deserialize(params) ⇒ Object
4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 |
# File 'lib/v20200910/models.rb', line 4503 def deserialize(params) @Name = params['Name'] unless params['Item'].nil? @Item = PhysicalBaseItem.new @Item.deserialize(params['Item']) end unless params['Location'].nil? @Location = PhysicalBaseItem.new @Location.deserialize(params['Location']) end unless params['Result'].nil? @Result = PhysicalBaseItem.new @Result.deserialize(params['Result']) end end |