Class: TencentCloud::Dayu::V20180709::IpBlackWhite
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::IpBlackWhite
- Defined in:
- lib/v20180709/models.rb
Overview
黑白IP
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ip = nil, type = nil) ⇒ IpBlackWhite
constructor
A new instance of IpBlackWhite.
Constructor Details
#initialize(ip = nil, type = nil) ⇒ IpBlackWhite
Returns a new instance of IpBlackWhite.
6152 6153 6154 6155 |
# File 'lib/v20180709/models.rb', line 6152 def initialize(ip=nil, type=nil) @Ip = ip @Type = type end |
Instance Attribute Details
#Ip ⇒ Object
6150 6151 6152 |
# File 'lib/v20180709/models.rb', line 6150 def Ip @Ip end |
#Type ⇒ Object
6150 6151 6152 |
# File 'lib/v20180709/models.rb', line 6150 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
6157 6158 6159 6160 |
# File 'lib/v20180709/models.rb', line 6157 def deserialize(params) @Ip = params['Ip'] @Type = params['Type'] end |