Class: TencentCloud::Mrs::V20200910::HearingItem

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200910/models.rb

Overview

听力信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ItemObject

Parameters:

  • Name:

    类型

  • Item:

    项目原文

  • Location:

    方位

  • Result:

    描述



4494
4495
4496
# File 'lib/v20200910/models.rb', line 4494

def Item
  @Item
end

#LocationObject

Parameters:

  • Name:

    类型

  • Item:

    项目原文

  • Location:

    方位

  • Result:

    描述



4494
4495
4496
# File 'lib/v20200910/models.rb', line 4494

def Location
  @Location
end

#NameObject

Parameters:

  • Name:

    类型

  • Item:

    项目原文

  • Location:

    方位

  • Result:

    描述



4494
4495
4496
# File 'lib/v20200910/models.rb', line 4494

def Name
  @Name
end

#ResultObject

Parameters:

  • Name:

    类型

  • Item:

    项目原文

  • Location:

    方位

  • Result:

    描述



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