Class: TencentCloud::Clb::V20180317::BlockedIP

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

Overview

加入了12306黑名单的IP

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ip = nil, createtime = nil, expiretime = nil) ⇒ BlockedIP

Returns a new instance of BlockedIP.



535
536
537
538
539
# File 'lib/v20180317/models.rb', line 535

def initialize(ip=nil, createtime=nil, expiretime=nil)
  @IP = ip
  @CreateTime = createtime
  @ExpireTime = expiretime
end

Instance Attribute Details

#CreateTimeObject

Parameters:

  • IP:

    黑名单IP

  • CreateTime:

    加入黑名单的时间

  • ExpireTime:

    过期时间



533
534
535
# File 'lib/v20180317/models.rb', line 533

def CreateTime
  @CreateTime
end

#ExpireTimeObject

Parameters:

  • IP:

    黑名单IP

  • CreateTime:

    加入黑名单的时间

  • ExpireTime:

    过期时间



533
534
535
# File 'lib/v20180317/models.rb', line 533

def ExpireTime
  @ExpireTime
end

#IPObject

Parameters:

  • IP:

    黑名单IP

  • CreateTime:

    加入黑名单的时间

  • ExpireTime:

    过期时间



533
534
535
# File 'lib/v20180317/models.rb', line 533

def IP
  @IP
end

Instance Method Details

#deserialize(params) ⇒ Object



541
542
543
544
545
# File 'lib/v20180317/models.rb', line 541

def deserialize(params)
  @IP = params['IP']
  @CreateTime = params['CreateTime']
  @ExpireTime = params['ExpireTime']
end