Class: TencentCloud::Cfg::V20210820::TaskTarget
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfg::V20210820::TaskTarget
- Defined in:
- lib/v20210820/models.rb
Overview
演练目标
Instance Attribute Summary collapse
-
#Source ⇒ Object
2:演练目标.
-
#TargetDesc ⇒ Object
2:演练目标.
-
#TargetId ⇒ Object
2:演练目标.
-
#TargetStatus ⇒ Object
2:演练目标.
-
#Type ⇒ Object
2:演练目标.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(targetid = nil, targetdesc = nil, type = nil, source = nil, targetstatus = nil) ⇒ TaskTarget
constructor
A new instance of TaskTarget.
Constructor Details
#initialize(targetid = nil, targetdesc = nil, type = nil, source = nil, targetstatus = nil) ⇒ TaskTarget
Returns a new instance of TaskTarget.
2345 2346 2347 2348 2349 2350 2351 |
# File 'lib/v20210820/models.rb', line 2345 def initialize(targetid=nil, targetdesc=nil, type=nil, source=nil, targetstatus=nil) @TargetId = targetid @TargetDesc = targetdesc @Type = type @Source = source @TargetStatus = targetstatus end |
Instance Attribute Details
#Source ⇒ Object
2:演练目标
2343 2344 2345 |
# File 'lib/v20210820/models.rb', line 2343 def Source @Source end |
#TargetDesc ⇒ Object
2:演练目标
2343 2344 2345 |
# File 'lib/v20210820/models.rb', line 2343 def TargetDesc @TargetDesc end |
#TargetId ⇒ Object
2:演练目标
2343 2344 2345 |
# File 'lib/v20210820/models.rb', line 2343 def TargetId @TargetId end |
#TargetStatus ⇒ Object
2:演练目标
2343 2344 2345 |
# File 'lib/v20210820/models.rb', line 2343 def TargetStatus @TargetStatus end |
#Type ⇒ Object
2:演练目标
2343 2344 2345 |
# File 'lib/v20210820/models.rb', line 2343 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
2353 2354 2355 2356 2357 2358 2359 |
# File 'lib/v20210820/models.rb', line 2353 def deserialize(params) @TargetId = params['TargetId'] @TargetDesc = params['TargetDesc'] @Type = params['Type'] @Source = params['Source'] @TargetStatus = params['TargetStatus'] end |