Class: TencentCloud::Dayu::V20180709::IpBlackWhite

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

Overview

黑白IP

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#IpObject

Parameters:



6150
6151
6152
# File 'lib/v20180709/models.rb', line 6150

def Ip
  @Ip
end

#TypeObject

Parameters:



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