Class: TencentCloud::Zj::V20190121::SendSmsPaasDataStruct
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Zj::V20190121::SendSmsPaasDataStruct
- Defined in:
- lib/v20190121/models.rb
Overview
发送短信返回
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(serialno = nil, phonenumber = nil, fee = nil, code = nil, message = nil) ⇒ SendSmsPaasDataStruct
constructor
A new instance of SendSmsPaasDataStruct.
Constructor Details
#initialize(serialno = nil, phonenumber = nil, fee = nil, code = nil, message = nil) ⇒ SendSmsPaasDataStruct
Returns a new instance of SendSmsPaasDataStruct.
1562 1563 1564 1565 1566 1567 1568 |
# File 'lib/v20190121/models.rb', line 1562 def initialize(serialno=nil, phonenumber=nil, fee=nil, code=nil, =nil) @SerialNo = serialno @PhoneNumber = phonenumber @Fee = fee @Code = code @Message = end |
Instance Attribute Details
#Code ⇒ Object
1560 1561 1562 |
# File 'lib/v20190121/models.rb', line 1560 def Code @Code end |
#Fee ⇒ Object
1560 1561 1562 |
# File 'lib/v20190121/models.rb', line 1560 def Fee @Fee end |
#Message ⇒ Object
1560 1561 1562 |
# File 'lib/v20190121/models.rb', line 1560 def Message @Message end |
#PhoneNumber ⇒ Object
1560 1561 1562 |
# File 'lib/v20190121/models.rb', line 1560 def PhoneNumber @PhoneNumber end |
#SerialNo ⇒ Object
1560 1561 1562 |
# File 'lib/v20190121/models.rb', line 1560 def SerialNo @SerialNo end |
Instance Method Details
#deserialize(params) ⇒ Object
1570 1571 1572 1573 1574 1575 1576 |
# File 'lib/v20190121/models.rb', line 1570 def deserialize(params) @SerialNo = params['SerialNo'] @PhoneNumber = params['PhoneNumber'] @Fee = params['Fee'] @Code = params['Code'] @Message = params['Message'] end |