Class: TencentCloud::Zj::V20190121::CancelCampaignRequest

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(license = nil, campaignid = nil) ⇒ CancelCampaignRequest

Returns a new instance of CancelCampaignRequest.



277
278
279
280
# File 'lib/v20190121/models.rb', line 277

def initialize(license=nil, campaignid=nil)
  @License = license
  @CampaignId = campaignid
end

Instance Attribute Details

#CampaignIdObject

Parameters:

  • License:

    商户证书

  • CampaignId:

    短信活动id



275
276
277
# File 'lib/v20190121/models.rb', line 275

def CampaignId
  @CampaignId
end

#LicenseObject

Parameters:

  • License:

    商户证书

  • CampaignId:

    短信活动id



275
276
277
# File 'lib/v20190121/models.rb', line 275

def License
  @License
end

Instance Method Details

#deserialize(params) ⇒ Object



282
283
284
285
# File 'lib/v20190121/models.rb', line 282

def deserialize(params)
  @License = params['License']
  @CampaignId = params['CampaignId']
end