Class: TencentCloud::Sms::V20210111::PhoneNumberInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sms::V20210111::PhoneNumberInfo
- Defined in:
- lib/v20210111/models.rb
Overview
号码信息。
Instance Attribute Summary collapse
- #Code ⇒ Object
- #IsoCode ⇒ Object
- #IsoName ⇒ Object
- #Message ⇒ Object
- #NationCode ⇒ Object
- #PhoneNumber ⇒ Object
- #SubscriberNumber ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(code = nil, message = nil, nationcode = nil, subscribernumber = nil, phonenumber = nil, isocode = nil, isoname = nil) ⇒ PhoneNumberInfo
constructor
A new instance of PhoneNumberInfo.
Constructor Details
#initialize(code = nil, message = nil, nationcode = nil, subscribernumber = nil, phonenumber = nil, isocode = nil, isoname = nil) ⇒ PhoneNumberInfo
Returns a new instance of PhoneNumberInfo.
881 882 883 884 885 886 887 888 889 |
# File 'lib/v20210111/models.rb', line 881 def initialize(code=nil, =nil, nationcode=nil, subscribernumber=nil, phonenumber=nil, isocode=nil, isoname=nil) @Code = code @Message = @NationCode = nationcode @SubscriberNumber = subscribernumber @PhoneNumber = phonenumber @IsoCode = isocode @IsoName = isoname end |
Instance Attribute Details
#Code ⇒ Object
879 880 881 |
# File 'lib/v20210111/models.rb', line 879 def Code @Code end |
#IsoCode ⇒ Object
879 880 881 |
# File 'lib/v20210111/models.rb', line 879 def IsoCode @IsoCode end |
#IsoName ⇒ Object
879 880 881 |
# File 'lib/v20210111/models.rb', line 879 def IsoName @IsoName end |
#Message ⇒ Object
879 880 881 |
# File 'lib/v20210111/models.rb', line 879 def Message @Message end |
#NationCode ⇒ Object
879 880 881 |
# File 'lib/v20210111/models.rb', line 879 def NationCode @NationCode end |
#PhoneNumber ⇒ Object
879 880 881 |
# File 'lib/v20210111/models.rb', line 879 def PhoneNumber @PhoneNumber end |
#SubscriberNumber ⇒ Object
879 880 881 |
# File 'lib/v20210111/models.rb', line 879 def SubscriberNumber @SubscriberNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
891 892 893 894 895 896 897 898 899 |
# File 'lib/v20210111/models.rb', line 891 def deserialize(params) @Code = params['Code'] @Message = params['Message'] @NationCode = params['NationCode'] @SubscriberNumber = params['SubscriberNumber'] @PhoneNumber = params['PhoneNumber'] @IsoCode = params['IsoCode'] @IsoName = params['IsoName'] end |