Class: TencentCloud::Cfw::V20190904::CreateNatRuleItem
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::CreateNatRuleItem
- Defined in:
- lib/v20190904/models.rb
Overview
创建NAT ACL规则参数结构
Instance Attribute Summary collapse
- #Description ⇒ Object
- #Direction ⇒ Object
- #Enable ⇒ Object
- #InternalUuid ⇒ Object
- #OrderIndex ⇒ Object
- #ParamTemplateId ⇒ Object
- #Port ⇒ Object
- #Protocol ⇒ Object
- #RuleAction ⇒ Object
- #Scope ⇒ Object
- #SourceContent ⇒ Object
- #SourceType ⇒ Object
- #TargetContent ⇒ Object
- #TargetType ⇒ Object
- #Uuid ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sourcecontent = nil, sourcetype = nil, targetcontent = nil, targettype = nil, protocol = nil, ruleaction = nil, port = nil, direction = nil, orderindex = nil, enable = nil, uuid = nil, description = nil, paramtemplateid = nil, internaluuid = nil, scope = nil) ⇒ CreateNatRuleItem
constructor
A new instance of CreateNatRuleItem.
Constructor Details
#initialize(sourcecontent = nil, sourcetype = nil, targetcontent = nil, targettype = nil, protocol = nil, ruleaction = nil, port = nil, direction = nil, orderindex = nil, enable = nil, uuid = nil, description = nil, paramtemplateid = nil, internaluuid = nil, scope = nil) ⇒ CreateNatRuleItem
Returns a new instance of CreateNatRuleItem.
1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 |
# File 'lib/v20190904/models.rb', line 1504 def initialize(sourcecontent=nil, sourcetype=nil, targetcontent=nil, targettype=nil, protocol=nil, ruleaction=nil, port=nil, direction=nil, orderindex=nil, enable=nil, uuid=nil, description=nil, paramtemplateid=nil, internaluuid=nil, scope=nil) @SourceContent = sourcecontent @SourceType = sourcetype @TargetContent = targetcontent @TargetType = targettype @Protocol = protocol @RuleAction = ruleaction @Port = port @Direction = direction @OrderIndex = orderindex @Enable = enable @Uuid = uuid @Description = description @ParamTemplateId = paramtemplateid @InternalUuid = internaluuid @Scope = scope end |
Instance Attribute Details
#Description ⇒ Object
1502 1503 1504 |
# File 'lib/v20190904/models.rb', line 1502 def Description @Description end |
#Direction ⇒ Object
1502 1503 1504 |
# File 'lib/v20190904/models.rb', line 1502 def Direction @Direction end |
#Enable ⇒ Object
1502 1503 1504 |
# File 'lib/v20190904/models.rb', line 1502 def Enable @Enable end |
#InternalUuid ⇒ Object
1502 1503 1504 |
# File 'lib/v20190904/models.rb', line 1502 def InternalUuid @InternalUuid end |
#OrderIndex ⇒ Object
1502 1503 1504 |
# File 'lib/v20190904/models.rb', line 1502 def OrderIndex @OrderIndex end |
#ParamTemplateId ⇒ Object
1502 1503 1504 |
# File 'lib/v20190904/models.rb', line 1502 def ParamTemplateId @ParamTemplateId end |
#Port ⇒ Object
1502 1503 1504 |
# File 'lib/v20190904/models.rb', line 1502 def Port @Port end |
#Protocol ⇒ Object
1502 1503 1504 |
# File 'lib/v20190904/models.rb', line 1502 def Protocol @Protocol end |
#RuleAction ⇒ Object
1502 1503 1504 |
# File 'lib/v20190904/models.rb', line 1502 def RuleAction @RuleAction end |
#Scope ⇒ Object
1502 1503 1504 |
# File 'lib/v20190904/models.rb', line 1502 def Scope @Scope end |
#SourceContent ⇒ Object
1502 1503 1504 |
# File 'lib/v20190904/models.rb', line 1502 def SourceContent @SourceContent end |
#SourceType ⇒ Object
1502 1503 1504 |
# File 'lib/v20190904/models.rb', line 1502 def SourceType @SourceType end |
#TargetContent ⇒ Object
1502 1503 1504 |
# File 'lib/v20190904/models.rb', line 1502 def TargetContent @TargetContent end |
#TargetType ⇒ Object
1502 1503 1504 |
# File 'lib/v20190904/models.rb', line 1502 def TargetType @TargetType end |
#Uuid ⇒ Object
1502 1503 1504 |
# File 'lib/v20190904/models.rb', line 1502 def Uuid @Uuid end |
Instance Method Details
#deserialize(params) ⇒ Object
1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 |
# File 'lib/v20190904/models.rb', line 1522 def deserialize(params) @SourceContent = params['SourceContent'] @SourceType = params['SourceType'] @TargetContent = params['TargetContent'] @TargetType = params['TargetType'] @Protocol = params['Protocol'] @RuleAction = params['RuleAction'] @Port = params['Port'] @Direction = params['Direction'] @OrderIndex = params['OrderIndex'] @Enable = params['Enable'] @Uuid = params['Uuid'] @Description = params['Description'] @ParamTemplateId = params['ParamTemplateId'] @InternalUuid = params['InternalUuid'] @Scope = params['Scope'] end |