Class: TencentCloud::Ims::V20201229::RecognitionTag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ims::V20201229::RecognitionTag
- Defined in:
- lib/v20201229/models.rb
Overview
识别类型标签信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, score = nil, location = nil) ⇒ RecognitionTag
constructor
A new instance of RecognitionTag.
Constructor Details
#initialize(name = nil, score = nil, location = nil) ⇒ RecognitionTag
Returns a new instance of RecognitionTag.
777 778 779 780 781 |
# File 'lib/v20201229/models.rb', line 777 def initialize(name=nil, score=nil, location=nil) @Name = name @Score = score @Location = location end |
Instance Attribute Details
#Location ⇒ Object
775 776 777 |
# File 'lib/v20201229/models.rb', line 775 def Location @Location end |
#Name ⇒ Object
775 776 777 |
# File 'lib/v20201229/models.rb', line 775 def Name @Name end |
#Score ⇒ Object
775 776 777 |
# File 'lib/v20201229/models.rb', line 775 def Score @Score end |
Instance Method Details
#deserialize(params) ⇒ Object
783 784 785 786 787 788 789 790 |
# File 'lib/v20201229/models.rb', line 783 def deserialize(params) @Name = params['Name'] @Score = params['Score'] unless params['Location'].nil? @Location = Location.new @Location.deserialize(params['Location']) end end |