Class: TencentCloud::Zj::V20190121::PaasStrategy
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Zj::V20190121::PaasStrategy
- Defined in:
- lib/v20190121/models.rb
Overview
短信发送人群包策略
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(crowdid = nil, items = nil) ⇒ PaasStrategy
constructor
A new instance of PaasStrategy.
Constructor Details
#initialize(crowdid = nil, items = nil) ⇒ PaasStrategy
Returns a new instance of PaasStrategy.
1426 1427 1428 1429 |
# File 'lib/v20190121/models.rb', line 1426 def initialize(crowdid=nil, items=nil) @CrowdID = crowdid @Items = items end |
Instance Attribute Details
#CrowdID ⇒ Object
1424 1425 1426 |
# File 'lib/v20190121/models.rb', line 1424 def CrowdID @CrowdID end |
#Items ⇒ Object
1424 1425 1426 |
# File 'lib/v20190121/models.rb', line 1424 def Items @Items end |
Instance Method Details
#deserialize(params) ⇒ Object
1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 |
# File 'lib/v20190121/models.rb', line 1431 def deserialize(params) @CrowdID = params['CrowdID'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| paasstrategyitem_tmp = PaasStrategyItem.new paasstrategyitem_tmp.deserialize(i) @Items << paasstrategyitem_tmp end end end |