Class: TencentCloud::Zj::V20190121::CreateCampaignResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Zj::V20190121::CreateCampaignResponse
- Defined in:
- lib/v20190121/models.rb
Overview
CreateCampaign返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, requestid = nil) ⇒ CreateCampaignResponse
constructor
A new instance of CreateCampaignResponse.
Constructor Details
#initialize(data = nil, requestid = nil) ⇒ CreateCampaignResponse
Returns a new instance of CreateCampaignResponse.
367 368 369 370 |
# File 'lib/v20190121/models.rb', line 367 def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
365 366 367 |
# File 'lib/v20190121/models.rb', line 365 def Data @Data end |
#RequestId ⇒ Object
365 366 367 |
# File 'lib/v20190121/models.rb', line 365 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
372 373 374 375 376 377 378 |
# File 'lib/v20190121/models.rb', line 372 def deserialize(params) unless params['Data'].nil? @Data = SmsCreateCampaignResponse.new @Data.deserialize(params['Data']) end @RequestId = params['RequestId'] end |