Class: TencentCloud::Ims::V20201229::LibDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ims::V20201229::LibDetail
- Defined in:
- lib/v20201229/models.rb
Overview
用于返回自定义库/黑白库的明细信息
Instance Attribute Summary collapse
- #Id ⇒ Object
- #ImageId ⇒ Object
- #Label ⇒ Object
- #LibId ⇒ Object
- #LibName ⇒ Object
- #Score ⇒ Object
- #Tag ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, libid = nil, libname = nil, imageid = nil, label = nil, tag = nil, score = nil) ⇒ LibDetail
constructor
A new instance of LibDetail.
Constructor Details
#initialize(id = nil, libid = nil, libname = nil, imageid = nil, label = nil, tag = nil, score = nil) ⇒ LibDetail
Returns a new instance of LibDetail.
387 388 389 390 391 392 393 394 395 |
# File 'lib/v20201229/models.rb', line 387 def initialize(id=nil, libid=nil, libname=nil, imageid=nil, label=nil, tag=nil, score=nil) @Id = id @LibId = libid @LibName = libname @ImageId = imageid @Label = label @Tag = tag @Score = score end |
Instance Attribute Details
#Id ⇒ Object
385 386 387 |
# File 'lib/v20201229/models.rb', line 385 def Id @Id end |
#ImageId ⇒ Object
385 386 387 |
# File 'lib/v20201229/models.rb', line 385 def ImageId @ImageId end |
#Label ⇒ Object
385 386 387 |
# File 'lib/v20201229/models.rb', line 385 def Label @Label end |
#LibId ⇒ Object
385 386 387 |
# File 'lib/v20201229/models.rb', line 385 def LibId @LibId end |
#LibName ⇒ Object
385 386 387 |
# File 'lib/v20201229/models.rb', line 385 def LibName @LibName end |
#Score ⇒ Object
385 386 387 |
# File 'lib/v20201229/models.rb', line 385 def Score @Score end |
#Tag ⇒ Object
385 386 387 |
# File 'lib/v20201229/models.rb', line 385 def Tag @Tag end |
Instance Method Details
#deserialize(params) ⇒ Object
397 398 399 400 401 402 403 404 405 |
# File 'lib/v20201229/models.rb', line 397 def deserialize(params) @Id = params['Id'] @LibId = params['LibId'] @LibName = params['LibName'] @ImageId = params['ImageId'] @Label = params['Label'] @Tag = params['Tag'] @Score = params['Score'] end |