Class: TencentCloud::Sms::V20210111::DescribePhoneNumberInfoResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sms::V20210111::DescribePhoneNumberInfoResponse
- Defined in:
- lib/v20210111/models.rb
Overview
DescribePhoneNumberInfo返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(phonenumberinfoset = nil, requestid = nil) ⇒ DescribePhoneNumberInfoResponse
constructor
A new instance of DescribePhoneNumberInfoResponse.
Constructor Details
#initialize(phonenumberinfoset = nil, requestid = nil) ⇒ DescribePhoneNumberInfoResponse
Returns a new instance of DescribePhoneNumberInfoResponse.
451 452 453 454 |
# File 'lib/v20210111/models.rb', line 451 def initialize(phonenumberinfoset=nil, requestid=nil) @PhoneNumberInfoSet = phonenumberinfoset @RequestId = requestid end |
Instance Attribute Details
#PhoneNumberInfoSet ⇒ Object
449 450 451 |
# File 'lib/v20210111/models.rb', line 449 def PhoneNumberInfoSet @PhoneNumberInfoSet end |
#RequestId ⇒ Object
449 450 451 |
# File 'lib/v20210111/models.rb', line 449 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
456 457 458 459 460 461 462 463 464 465 466 |
# File 'lib/v20210111/models.rb', line 456 def deserialize(params) unless params['PhoneNumberInfoSet'].nil? @PhoneNumberInfoSet = [] params['PhoneNumberInfoSet'].each do |i| phonenumberinfo_tmp = PhoneNumberInfo.new phonenumberinfo_tmp.deserialize(i) @PhoneNumberInfoSet << phonenumberinfo_tmp end end @RequestId = params['RequestId'] end |