Class: TencentCloud::Zj::V20190121::PaasStrategyItem

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

Overview

短信活动策略元素

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, contenttype = nil) ⇒ PaasStrategyItem

Returns a new instance of PaasStrategyItem.



1453
1454
1455
1456
# File 'lib/v20190121/models.rb', line 1453

def initialize(id=nil, contenttype=nil)
  @Id = id
  @ContentType = contenttype
end

Instance Attribute Details

#ContentTypeObject

Parameters:

  • Id:

    短信模板id或超级短信样例id

  • ContentType:

    素材类型 0-普短 1-超短



1451
1452
1453
# File 'lib/v20190121/models.rb', line 1451

def ContentType
  @ContentType
end

#IdObject

Parameters:

  • Id:

    短信模板id或超级短信样例id

  • ContentType:

    素材类型 0-普短 1-超短



1451
1452
1453
# File 'lib/v20190121/models.rb', line 1451

def Id
  @Id
end

Instance Method Details

#deserialize(params) ⇒ Object



1458
1459
1460
1461
# File 'lib/v20190121/models.rb', line 1458

def deserialize(params)
  @Id = params['Id']
  @ContentType = params['ContentType']
end