Class: TencentCloud::Cwp::V20180228::DefaultStrategyInfo

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

Overview

默认策略基础信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(strategyname = nil, strategyid = nil) ⇒ DefaultStrategyInfo

Returns a new instance of DefaultStrategyInfo.



6324
6325
6326
6327
# File 'lib/v20180228/models.rb', line 6324

def initialize(strategyname=nil, strategyid=nil)
  @StrategyName = strategyname
  @StrategyId = strategyid
end

Instance Attribute Details

#StrategyIdObject

Parameters:

  • StrategyName:

    策略名

  • StrategyId:

    策略id



6322
6323
6324
# File 'lib/v20180228/models.rb', line 6322

def StrategyId
  @StrategyId
end

#StrategyNameObject

Parameters:

  • StrategyName:

    策略名

  • StrategyId:

    策略id



6322
6323
6324
# File 'lib/v20180228/models.rb', line 6322

def StrategyName
  @StrategyName
end

Instance Method Details

#deserialize(params) ⇒ Object



6329
6330
6331
6332
# File 'lib/v20180228/models.rb', line 6329

def deserialize(params)
  @StrategyName = params['StrategyName']
  @StrategyId = params['StrategyId']
end