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.



6303
6304
6305
6306
# File 'lib/v20180228/models.rb', line 6303

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

Instance Attribute Details

#StrategyIdObject

Parameters:

  • StrategyName:

    策略名

  • StrategyId:

    策略id



6301
6302
6303
# File 'lib/v20180228/models.rb', line 6301

def StrategyId
  @StrategyId
end

#StrategyNameObject

Parameters:

  • StrategyName:

    策略名

  • StrategyId:

    策略id



6301
6302
6303
# File 'lib/v20180228/models.rb', line 6301

def StrategyName
  @StrategyName
end

Instance Method Details

#deserialize(params) ⇒ Object



6308
6309
6310
6311
# File 'lib/v20180228/models.rb', line 6308

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