Class: TencentCloud::Cpdp::V20190820::CloudExternalPromptGroup
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::CloudExternalPromptGroup
- Defined in:
- lib/v20190820/models.rb
Overview
渠道扩展促销信息
Instance Attribute Summary collapse
-
#ChannelName ⇒ Object
为米大师定义的枚举值: wechat 微信渠道 ChannelName为wechat时,组成为 <Wechat-ExternalPromptInfo>.
-
#ExternalPromptInfoList ⇒ Object
为米大师定义的枚举值: wechat 微信渠道 ChannelName为wechat时,组成为 <Wechat-ExternalPromptInfo>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(channelname = nil, externalpromptinfolist = nil) ⇒ CloudExternalPromptGroup
constructor
A new instance of CloudExternalPromptGroup.
Constructor Details
#initialize(channelname = nil, externalpromptinfolist = nil) ⇒ CloudExternalPromptGroup
Returns a new instance of CloudExternalPromptGroup.
4076 4077 4078 4079 |
# File 'lib/v20190820/models.rb', line 4076 def initialize(channelname=nil, externalpromptinfolist=nil) @ChannelName = channelname @ExternalPromptInfoList = externalpromptinfolist end |
Instance Attribute Details
#ChannelName ⇒ Object
为米大师定义的枚举值: wechat 微信渠道 ChannelName为wechat时,组成为 <Wechat-ExternalPromptInfo>
4074 4075 4076 |
# File 'lib/v20190820/models.rb', line 4074 def ChannelName @ChannelName end |
#ExternalPromptInfoList ⇒ Object
为米大师定义的枚举值: wechat 微信渠道 ChannelName为wechat时,组成为 <Wechat-ExternalPromptInfo>
4074 4075 4076 |
# File 'lib/v20190820/models.rb', line 4074 def ExternalPromptInfoList @ExternalPromptInfoList end |
Instance Method Details
#deserialize(params) ⇒ Object
4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 |
# File 'lib/v20190820/models.rb', line 4081 def deserialize(params) @ChannelName = params['ChannelName'] unless params['ExternalPromptInfoList'].nil? @ExternalPromptInfoList = [] params['ExternalPromptInfoList'].each do |i| cloudexternalpromptinfo_tmp = CloudExternalPromptInfo.new cloudexternalpromptinfo_tmp.deserialize(i) @ExternalPromptInfoList << cloudexternalpromptinfo_tmp end end end |