Class: TencentCloud::Eb::V20210416::TargetBrief

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210416/models.rb

Overview

目标简要信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#TargetIdObject

Parameters:

  • TargetId:

    目标ID

  • Type:

    目标类型



2354
2355
2356
# File 'lib/v20210416/models.rb', line 2354

def TargetId
  @TargetId
end

#TypeObject

Parameters:

  • TargetId:

    目标ID

  • Type:

    目标类型



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