Class: TencentCloud::Gaap::V20180529::SecurityPolicyRuleOut
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gaap::V20180529::SecurityPolicyRuleOut
- Defined in:
- lib/v20180529/models.rb
Overview
安全策略规则(出参)
Instance Attribute Summary collapse
- #Action ⇒ Object
- #AliasName ⇒ Object
- #DestPortRange ⇒ Object
- #PolicyId ⇒ Object
- #Protocol ⇒ Object
- #RuleId ⇒ Object
- #SourceCidr ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(action = nil, sourcecidr = nil, aliasname = nil, destportrange = nil, ruleid = nil, protocol = nil, policyid = nil) ⇒ SecurityPolicyRuleOut
constructor
A new instance of SecurityPolicyRuleOut.
Constructor Details
#initialize(action = nil, sourcecidr = nil, aliasname = nil, destportrange = nil, ruleid = nil, protocol = nil, policyid = nil) ⇒ SecurityPolicyRuleOut
Returns a new instance of SecurityPolicyRuleOut.
7385 7386 7387 7388 7389 7390 7391 7392 7393 |
# File 'lib/v20180529/models.rb', line 7385 def initialize(action=nil, sourcecidr=nil, aliasname=nil, destportrange=nil, ruleid=nil, protocol=nil, policyid=nil) @Action = action @SourceCidr = sourcecidr @AliasName = aliasname @DestPortRange = destportrange @RuleId = ruleid @Protocol = protocol @PolicyId = policyid end |
Instance Attribute Details
#Action ⇒ Object
7383 7384 7385 |
# File 'lib/v20180529/models.rb', line 7383 def Action @Action end |
#AliasName ⇒ Object
7383 7384 7385 |
# File 'lib/v20180529/models.rb', line 7383 def AliasName @AliasName end |
#DestPortRange ⇒ Object
7383 7384 7385 |
# File 'lib/v20180529/models.rb', line 7383 def DestPortRange @DestPortRange end |
#PolicyId ⇒ Object
7383 7384 7385 |
# File 'lib/v20180529/models.rb', line 7383 def PolicyId @PolicyId end |
#Protocol ⇒ Object
7383 7384 7385 |
# File 'lib/v20180529/models.rb', line 7383 def Protocol @Protocol end |
#RuleId ⇒ Object
7383 7384 7385 |
# File 'lib/v20180529/models.rb', line 7383 def RuleId @RuleId end |
#SourceCidr ⇒ Object
7383 7384 7385 |
# File 'lib/v20180529/models.rb', line 7383 def SourceCidr @SourceCidr end |
Instance Method Details
#deserialize(params) ⇒ Object
7395 7396 7397 7398 7399 7400 7401 7402 7403 |
# File 'lib/v20180529/models.rb', line 7395 def deserialize(params) @Action = params['Action'] @SourceCidr = params['SourceCidr'] @AliasName = params['AliasName'] @DestPortRange = params['DestPortRange'] @RuleId = params['RuleId'] @Protocol = params['Protocol'] @PolicyId = params['PolicyId'] end |