Class: TencentCloud::Zj::V20190121::SendSmsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Zj::V20190121::SendSmsResponse
- Defined in:
- lib/v20190121/models.rb
Overview
SendSms返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, requestid = nil) ⇒ SendSmsResponse
constructor
A new instance of SendSmsResponse.
Constructor Details
#initialize(data = nil, requestid = nil) ⇒ SendSmsResponse
Returns a new instance of SendSmsResponse.
1638 1639 1640 1641 |
# File 'lib/v20190121/models.rb', line 1638 def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
1636 1637 1638 |
# File 'lib/v20190121/models.rb', line 1636 def Data @Data end |
#RequestId ⇒ Object
1636 1637 1638 |
# File 'lib/v20190121/models.rb', line 1636 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 |
# File 'lib/v20190121/models.rb', line 1643 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| sendsmspaasdatastruct_tmp = SendSmsPaasDataStruct.new sendsmspaasdatastruct_tmp.deserialize(i) @Data << sendsmspaasdatastruct_tmp end end @RequestId = params['RequestId'] end |