Class: TencentCloud::Zj::V20190121::CancelCampaignResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Zj::V20190121::CancelCampaignResponse
- Defined in:
- lib/v20190121/models.rb
Overview
CancelCampaign返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, requestid = nil) ⇒ CancelCampaignResponse
constructor
A new instance of CancelCampaignResponse.
Constructor Details
#initialize(data = nil, requestid = nil) ⇒ CancelCampaignResponse
Returns a new instance of CancelCampaignResponse.
297 298 299 300 |
# File 'lib/v20190121/models.rb', line 297 def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
295 296 297 |
# File 'lib/v20190121/models.rb', line 295 def Data @Data end |
#RequestId ⇒ Object
295 296 297 |
# File 'lib/v20190121/models.rb', line 295 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
302 303 304 305 306 307 308 |
# File 'lib/v20190121/models.rb', line 302 def deserialize(params) unless params['Data'].nil? @Data = CancelActivityData.new @Data.deserialize(params['Data']) end @RequestId = params['RequestId'] end |