Class: TencentCloud::Dayu::V20180709::IpBlockData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::IpBlockData
- Defined in:
- lib/v20180709/models.rb
Overview
IP封堵记录
Instance Attribute Summary collapse
- #ActionType ⇒ Object
- #BlockTime ⇒ Object
- #Ip ⇒ Object
- #ProtectFlag ⇒ Object
- #Status ⇒ Object
- #UnBlockTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ip = nil, status = nil, blocktime = nil, unblocktime = nil, actiontype = nil, protectflag = nil) ⇒ IpBlockData
constructor
A new instance of IpBlockData.
Constructor Details
#initialize(ip = nil, status = nil, blocktime = nil, unblocktime = nil, actiontype = nil, protectflag = nil) ⇒ IpBlockData
Returns a new instance of IpBlockData.
6180 6181 6182 6183 6184 6185 6186 6187 |
# File 'lib/v20180709/models.rb', line 6180 def initialize(ip=nil, status=nil, blocktime=nil, unblocktime=nil, actiontype=nil, protectflag=nil) @Ip = ip @Status = status @BlockTime = blocktime @UnBlockTime = unblocktime @ActionType = actiontype @ProtectFlag = protectflag end |
Instance Attribute Details
#ActionType ⇒ Object
6178 6179 6180 |
# File 'lib/v20180709/models.rb', line 6178 def ActionType @ActionType end |
#BlockTime ⇒ Object
6178 6179 6180 |
# File 'lib/v20180709/models.rb', line 6178 def BlockTime @BlockTime end |
#Ip ⇒ Object
6178 6179 6180 |
# File 'lib/v20180709/models.rb', line 6178 def Ip @Ip end |
#ProtectFlag ⇒ Object
6178 6179 6180 |
# File 'lib/v20180709/models.rb', line 6178 def ProtectFlag @ProtectFlag end |
#Status ⇒ Object
6178 6179 6180 |
# File 'lib/v20180709/models.rb', line 6178 def Status @Status end |
#UnBlockTime ⇒ Object
6178 6179 6180 |
# File 'lib/v20180709/models.rb', line 6178 def UnBlockTime @UnBlockTime end |
Instance Method Details
#deserialize(params) ⇒ Object
6189 6190 6191 6192 6193 6194 6195 6196 |
# File 'lib/v20180709/models.rb', line 6189 def deserialize(params) @Ip = params['Ip'] @Status = params['Status'] @BlockTime = params['BlockTime'] @UnBlockTime = params['UnBlockTime'] @ActionType = params['ActionType'] @ProtectFlag = params['ProtectFlag'] end |