Class: TencentCloud::Trocket::V20230308::IpRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trocket::V20230308::IpRule
- Defined in:
- lib/v20230308/models.rb
Overview
IP规则
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ip = nil, allow = nil, remark = nil) ⇒ IpRule
constructor
A new instance of IpRule.
Constructor Details
#initialize(ip = nil, allow = nil, remark = nil) ⇒ IpRule
Returns a new instance of IpRule.
4366 4367 4368 4369 4370 |
# File 'lib/v20230308/models.rb', line 4366 def initialize(ip=nil, allow=nil, remark=nil) @Ip = ip @Allow = allow @Remark = remark end |
Instance Attribute Details
#Allow ⇒ Object
4364 4365 4366 |
# File 'lib/v20230308/models.rb', line 4364 def Allow @Allow end |
#Ip ⇒ Object
4364 4365 4366 |
# File 'lib/v20230308/models.rb', line 4364 def Ip @Ip end |
#Remark ⇒ Object
4364 4365 4366 |
# File 'lib/v20230308/models.rb', line 4364 def Remark @Remark end |
Instance Method Details
#deserialize(params) ⇒ Object
4372 4373 4374 4375 4376 |
# File 'lib/v20230308/models.rb', line 4372 def deserialize(params) @Ip = params['Ip'] @Allow = params['Allow'] @Remark = params['Remark'] end |