Class: TencentCloud::Tiia::V20190529::BodyAttributes
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tiia::V20190529::BodyAttributes
- Defined in:
- lib/v20190529/models.rb
Overview
属性列表。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(label = nil, confidence = nil, name = nil) ⇒ BodyAttributes
constructor
A new instance of BodyAttributes.
Constructor Details
#initialize(label = nil, confidence = nil, name = nil) ⇒ BodyAttributes
Returns a new instance of BodyAttributes.
159 160 161 162 163 |
# File 'lib/v20190529/models.rb', line 159 def initialize(label=nil, confidence=nil, name=nil) @Label = label @Confidence = confidence @Name = name end |
Instance Attribute Details
#Confidence ⇒ Object
157 158 159 |
# File 'lib/v20190529/models.rb', line 157 def Confidence @Confidence end |
#Label ⇒ Object
157 158 159 |
# File 'lib/v20190529/models.rb', line 157 def Label @Label end |
#Name ⇒ Object
157 158 159 |
# File 'lib/v20190529/models.rb', line 157 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
165 166 167 168 169 |
# File 'lib/v20190529/models.rb', line 165 def deserialize(params) @Label = params['Label'] @Confidence = params['Confidence'] @Name = params['Name'] end |