Class: TencentCloud::Dayu::V20180709::IpUnBlockData

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, blocktime = nil, unblocktime = nil, actiontype = nil) ⇒ IpUnBlockData

Returns a new instance of IpUnBlockData.



6212
6213
6214
6215
6216
6217
# File 'lib/v20180709/models.rb', line 6212

def initialize(ip=nil, blocktime=nil, unblocktime=nil, actiontype=nil)
  @Ip = ip
  @BlockTime = blocktime
  @UnBlockTime = unblocktime
  @ActionType = actiontype
end

Instance Attribute Details

#ActionTypeObject

Parameters:

  • Ip:

    IP

  • BlockTime:

    封堵时间

  • UnBlockTime:

    解封时间(实际解封时间)

  • ActionType:

    解封类型(user:自助解封;auto:自动解封; update:升级解封;bind:绑定高防包解封)



6210
6211
6212
# File 'lib/v20180709/models.rb', line 6210

def ActionType
  @ActionType
end

#BlockTimeObject

Parameters:

  • Ip:

    IP

  • BlockTime:

    封堵时间

  • UnBlockTime:

    解封时间(实际解封时间)

  • ActionType:

    解封类型(user:自助解封;auto:自动解封; update:升级解封;bind:绑定高防包解封)



6210
6211
6212
# File 'lib/v20180709/models.rb', line 6210

def BlockTime
  @BlockTime
end

#IpObject

Parameters:

  • Ip:

    IP

  • BlockTime:

    封堵时间

  • UnBlockTime:

    解封时间(实际解封时间)

  • ActionType:

    解封类型(user:自助解封;auto:自动解封; update:升级解封;bind:绑定高防包解封)



6210
6211
6212
# File 'lib/v20180709/models.rb', line 6210

def Ip
  @Ip
end

#UnBlockTimeObject

Parameters:

  • Ip:

    IP

  • BlockTime:

    封堵时间

  • UnBlockTime:

    解封时间(实际解封时间)

  • ActionType:

    解封类型(user:自助解封;auto:自动解封; update:升级解封;bind:绑定高防包解封)



6210
6211
6212
# File 'lib/v20180709/models.rb', line 6210

def UnBlockTime
  @UnBlockTime
end

Instance Method Details

#deserialize(params) ⇒ Object



6219
6220
6221
6222
6223
6224
# File 'lib/v20180709/models.rb', line 6219

def deserialize(params)
  @Ip = params['Ip']
  @BlockTime = params['BlockTime']
  @UnBlockTime = params['UnBlockTime']
  @ActionType = params['ActionType']
end