Class: TencentCloud::Cfw::V20190904::RuleInfoData
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::RuleInfoData
- Defined in:
- lib/v20190904/models.rb
Overview
规则输入对象
Instance Attribute Summary collapse
- #City ⇒ Object
- #CityName ⇒ Object
- #CloudCode ⇒ Object
- #Country ⇒ Object
- #CountryName ⇒ Object
- #Detail ⇒ Object
- #Direction ⇒ Object
- #Id ⇒ Object
- #IsRegion ⇒ Object
- #LogId ⇒ Object
- #OrderIndex ⇒ Object
- #Port ⇒ Object
- #Protocol ⇒ Object
- #RegionIso ⇒ Object
- #SourceIp ⇒ Object
- #SourceType ⇒ Object
- #Strategy ⇒ Object
- #TargetIp ⇒ Object
- #TargetType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(orderindex = nil, sourceip = nil, targetip = nil, protocol = nil, strategy = nil, sourcetype = nil, direction = nil, detail = nil, targettype = nil, port = nil, id = nil, logid = nil, city = nil, country = nil, cloudcode = nil, isregion = nil, cityname = nil, countryname = nil, regioniso = nil) ⇒ RuleInfoData
constructor
A new instance of RuleInfoData.
Constructor Details
#initialize(orderindex = nil, sourceip = nil, targetip = nil, protocol = nil, strategy = nil, sourcetype = nil, direction = nil, detail = nil, targettype = nil, port = nil, id = nil, logid = nil, city = nil, country = nil, cloudcode = nil, isregion = nil, cityname = nil, countryname = nil, regioniso = nil) ⇒ RuleInfoData
Returns a new instance of RuleInfoData.
8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 |
# File 'lib/v20190904/models.rb', line 8615 def initialize(orderindex=nil, sourceip=nil, targetip=nil, protocol=nil, strategy=nil, sourcetype=nil, direction=nil, detail=nil, targettype=nil, port=nil, id=nil, logid=nil, city=nil, country=nil, cloudcode=nil, isregion=nil, cityname=nil, countryname=nil, regioniso=nil) @OrderIndex = orderindex @SourceIp = sourceip @TargetIp = targetip @Protocol = protocol @Strategy = strategy @SourceType = sourcetype @Direction = direction @Detail = detail @TargetType = targettype @Port = port @Id = id @LogId = logid @City = city @Country = country @CloudCode = cloudcode @IsRegion = isregion @CityName = cityname @CountryName = countryname @RegionIso = regioniso end |
Instance Attribute Details
#City ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def City @City end |
#CityName ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def CityName @CityName end |
#CloudCode ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def CloudCode @CloudCode end |
#Country ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def Country @Country end |
#CountryName ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def CountryName @CountryName end |
#Detail ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def Detail @Detail end |
#Direction ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def Direction @Direction end |
#Id ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def Id @Id end |
#IsRegion ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def IsRegion @IsRegion end |
#LogId ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def LogId @LogId end |
#OrderIndex ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def OrderIndex @OrderIndex end |
#Port ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def Port @Port end |
#Protocol ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def Protocol @Protocol end |
#RegionIso ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def RegionIso @RegionIso end |
#SourceIp ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def SourceIp @SourceIp end |
#SourceType ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def SourceType @SourceType end |
#Strategy ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def Strategy @Strategy end |
#TargetIp ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def TargetIp @TargetIp end |
#TargetType ⇒ Object
8613 8614 8615 |
# File 'lib/v20190904/models.rb', line 8613 def TargetType @TargetType end |
Instance Method Details
#deserialize(params) ⇒ Object
8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 |
# File 'lib/v20190904/models.rb', line 8637 def deserialize(params) @OrderIndex = params['OrderIndex'] @SourceIp = params['SourceIp'] @TargetIp = params['TargetIp'] @Protocol = params['Protocol'] @Strategy = params['Strategy'] @SourceType = params['SourceType'] @Direction = params['Direction'] @Detail = params['Detail'] @TargetType = params['TargetType'] @Port = params['Port'] @Id = params['Id'] @LogId = params['LogId'] @City = params['City'] @Country = params['Country'] @CloudCode = params['CloudCode'] @IsRegion = params['IsRegion'] @CityName = params['CityName'] @CountryName = params['CountryName'] @RegionIso = params['RegionIso'] end |