Class: TencentCloud::Clb::V20180317::BlockedIP
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::BlockedIP
- Defined in:
- lib/v20180317/models.rb
Overview
加入了12306黑名单的IP
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ip = nil, createtime = nil, expiretime = nil) ⇒ BlockedIP
constructor
A new instance of BlockedIP.
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
#CreateTime ⇒ Object
533 534 535 |
# File 'lib/v20180317/models.rb', line 533 def CreateTime @CreateTime end |
#ExpireTime ⇒ Object
533 534 535 |
# File 'lib/v20180317/models.rb', line 533 def ExpireTime @ExpireTime end |
#IP ⇒ Object
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 |