Class: TencentCloud::Npp::V20190823::CallBackPhoneCode

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190823/models.rb

Overview

回拨号码字段

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nation = nil, phone = nil) ⇒ CallBackPhoneCode

Returns a new instance of CallBackPhoneCode.



108
109
110
111
# File 'lib/v20190823/models.rb', line 108

def initialize(nation=nil, phone=nil)
  @Nation = nation
  @Phone = phone
end

Instance Attribute Details

#NationObject

Parameters:

  • Nation:

    国家码,统一以 00 开头

  • Phone:

    号码(固话区号前加 0,如075586013388)



106
107
108
# File 'lib/v20190823/models.rb', line 106

def Nation
  @Nation
end

#PhoneObject

Parameters:

  • Nation:

    国家码,统一以 00 开头

  • Phone:

    号码(固话区号前加 0,如075586013388)



106
107
108
# File 'lib/v20190823/models.rb', line 106

def Phone
  @Phone
end

Instance Method Details

#deserialize(params) ⇒ Object



113
114
115
116
# File 'lib/v20190823/models.rb', line 113

def deserialize(params)
  @Nation = params['Nation']
  @Phone = params['Phone']
end