Class: TencentCloud::Zj::V20190121::CreateMmsInstanceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Zj::V20190121::CreateMmsInstanceRequest
- Defined in:
- lib/v20190121/models.rb
Overview
CreateMmsInstance请求参数结构体
Instance Attribute Summary collapse
- #CommonParams ⇒ Object
- #Contents ⇒ Object
- #InstanceName ⇒ Object
- #License ⇒ Object
- #PhoneType ⇒ Object
- #Sign ⇒ Object
- #Title ⇒ Object
- #UrlParams ⇒ Object
- #Urls ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(license = nil, instancename = nil, title = nil, sign = nil, contents = nil, urls = nil, phonetype = nil, commonparams = nil, urlparams = nil) ⇒ CreateMmsInstanceRequest
constructor
A new instance of CreateMmsInstanceRequest.
Constructor Details
#initialize(license = nil, instancename = nil, title = nil, sign = nil, contents = nil, urls = nil, phonetype = nil, commonparams = nil, urlparams = nil) ⇒ CreateMmsInstanceRequest
Returns a new instance of CreateMmsInstanceRequest.
424 425 426 427 428 429 430 431 432 433 434 |
# File 'lib/v20190121/models.rb', line 424 def initialize(license=nil, instancename=nil, title=nil, sign=nil, contents=nil, urls=nil, phonetype=nil, commonparams=nil, urlparams=nil) @License = license @InstanceName = instancename @Title = title @Sign = sign @Contents = contents @Urls = urls @PhoneType = phonetype @CommonParams = commonparams @UrlParams = urlparams end |
Instance Attribute Details
#CommonParams ⇒ Object
422 423 424 |
# File 'lib/v20190121/models.rb', line 422 def CommonParams @CommonParams end |
#Contents ⇒ Object
422 423 424 |
# File 'lib/v20190121/models.rb', line 422 def Contents @Contents end |
#InstanceName ⇒ Object
422 423 424 |
# File 'lib/v20190121/models.rb', line 422 def InstanceName @InstanceName end |
#License ⇒ Object
422 423 424 |
# File 'lib/v20190121/models.rb', line 422 def License @License end |
#PhoneType ⇒ Object
422 423 424 |
# File 'lib/v20190121/models.rb', line 422 def PhoneType @PhoneType end |
#Sign ⇒ Object
422 423 424 |
# File 'lib/v20190121/models.rb', line 422 def Sign @Sign end |
#Title ⇒ Object
422 423 424 |
# File 'lib/v20190121/models.rb', line 422 def Title @Title end |
#UrlParams ⇒ Object
422 423 424 |
# File 'lib/v20190121/models.rb', line 422 def UrlParams @UrlParams end |
#Urls ⇒ Object
422 423 424 |
# File 'lib/v20190121/models.rb', line 422 def Urls @Urls end |
Instance Method Details
#deserialize(params) ⇒ Object
436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 |
# File 'lib/v20190121/models.rb', line 436 def deserialize(params) @License = params['License'] @InstanceName = params['InstanceName'] @Title = params['Title'] @Sign = params['Sign'] unless params['Contents'].nil? @Contents = [] params['Contents'].each do |i| createmmsinstanceitem_tmp = CreateMmsInstanceItem.new createmmsinstanceitem_tmp.deserialize(i) @Contents << createmmsinstanceitem_tmp end end @Urls = params['Urls'] @PhoneType = params['PhoneType'] @CommonParams = params['CommonParams'] @UrlParams = params['UrlParams'] end |