Class: TencentCloud::Zj::V20190121::CancelCampaignResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190121/models.rb

Overview

CancelCampaign返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DataObject

Parameters:

  • Data:

    处理结果

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



295
296
297
# File 'lib/v20190121/models.rb', line 295

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    处理结果

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



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