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.
8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 |
# File 'lib/v20190904/models.rb', line 8297 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
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def City @City end |
#CityName ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def CityName @CityName end |
#CloudCode ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def CloudCode @CloudCode end |
#Country ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def Country @Country end |
#CountryName ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def CountryName @CountryName end |
#Detail ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def Detail @Detail end |
#Direction ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def Direction @Direction end |
#Id ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def Id @Id end |
#IsRegion ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def IsRegion @IsRegion end |
#LogId ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def LogId @LogId end |
#OrderIndex ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def OrderIndex @OrderIndex end |
#Port ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def Port @Port end |
#Protocol ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def Protocol @Protocol end |
#RegionIso ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def RegionIso @RegionIso end |
#SourceIp ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def SourceIp @SourceIp end |
#SourceType ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def SourceType @SourceType end |
#Strategy ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def Strategy @Strategy end |
#TargetIp ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def TargetIp @TargetIp end |
#TargetType ⇒ Object
8295 8296 8297 |
# File 'lib/v20190904/models.rb', line 8295 def TargetType @TargetType end |
Instance Method Details
#deserialize(params) ⇒ Object
8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 |
# File 'lib/v20190904/models.rb', line 8319 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 |