Class: TencentCloud::Dc::V20180410::ApplyInternetAddressRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dc::V20180410::ApplyInternetAddressRequest
- Defined in:
- lib/v20180410/models.rb
Overview
ApplyInternetAddress请求参数结构体
Instance Attribute Summary collapse
-
#AddrProto ⇒ Object
1:中国电信 2:中国移动 3:中国联通 1:IPv6.
-
#AddrType ⇒ Object
1:中国电信 2:中国移动 3:中国联通 1:IPv6.
-
#MaskLen ⇒ Object
1:中国电信 2:中国移动 3:中国联通 1:IPv6.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(masklen = nil, addrtype = nil, addrproto = nil) ⇒ ApplyInternetAddressRequest
constructor
A new instance of ApplyInternetAddressRequest.
Constructor Details
#initialize(masklen = nil, addrtype = nil, addrproto = nil) ⇒ ApplyInternetAddressRequest
Returns a new instance of ApplyInternetAddressRequest.
153 154 155 156 157 |
# File 'lib/v20180410/models.rb', line 153 def initialize(masklen=nil, addrtype=nil, addrproto=nil) @MaskLen = masklen @AddrType = addrtype @AddrProto = addrproto end |
Instance Attribute Details
#AddrProto ⇒ Object
1:中国电信2:中国移动3:中国联通1:IPv6
151 152 153 |
# File 'lib/v20180410/models.rb', line 151 def AddrProto @AddrProto end |
#AddrType ⇒ Object
1:中国电信2:中国移动3:中国联通1:IPv6
151 152 153 |
# File 'lib/v20180410/models.rb', line 151 def AddrType @AddrType end |
#MaskLen ⇒ Object
1:中国电信2:中国移动3:中国联通1:IPv6
151 152 153 |
# File 'lib/v20180410/models.rb', line 151 def MaskLen @MaskLen end |
Instance Method Details
#deserialize(params) ⇒ Object
159 160 161 162 163 |
# File 'lib/v20180410/models.rb', line 159 def deserialize(params) @MaskLen = params['MaskLen'] @AddrType = params['AddrType'] @AddrProto = params['AddrProto'] end |