Class: TencentCloud::Eb::V20210416::TargetBrief
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::TargetBrief
- Defined in:
- lib/v20210416/models.rb
Overview
目标简要信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(targetid = nil, type = nil) ⇒ TargetBrief
constructor
A new instance of TargetBrief.
Constructor Details
#initialize(targetid = nil, type = nil) ⇒ TargetBrief
Returns a new instance of TargetBrief.
2356 2357 2358 2359 |
# File 'lib/v20210416/models.rb', line 2356 def initialize(targetid=nil, type=nil) @TargetId = targetid @Type = type end |
Instance Attribute Details
#TargetId ⇒ Object
2354 2355 2356 |
# File 'lib/v20210416/models.rb', line 2354 def TargetId @TargetId end |
#Type ⇒ Object
2354 2355 2356 |
# File 'lib/v20210416/models.rb', line 2354 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
2361 2362 2363 2364 |
# File 'lib/v20210416/models.rb', line 2361 def deserialize(params) @TargetId = params['TargetId'] @Type = params['Type'] end |