Class: TencentCloud::Tcb::V20180608::WxGatewayCustomConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::WxGatewayCustomConfig
- Defined in:
- lib/v20180608/models.rb
Overview
安全网关自定义配置
Instance Attribute Summary collapse
- #BanConfig ⇒ Object
- #IsAcceptHttpOne ⇒ Object
- #IsOpenXRealIp ⇒ Object
- #LogConfig ⇒ Object
- #SourceIpType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(isopenxrealip = nil, banconfig = nil, sourceiptype = nil, logconfig = nil, isaccepthttpone = nil) ⇒ WxGatewayCustomConfig
constructor
A new instance of WxGatewayCustomConfig.
Constructor Details
#initialize(isopenxrealip = nil, banconfig = nil, sourceiptype = nil, logconfig = nil, isaccepthttpone = nil) ⇒ WxGatewayCustomConfig
Returns a new instance of WxGatewayCustomConfig.
8983 8984 8985 8986 8987 8988 8989 |
# File 'lib/v20180608/models.rb', line 8983 def initialize(isopenxrealip=nil, banconfig=nil, sourceiptype=nil, logconfig=nil, isaccepthttpone=nil) @IsOpenXRealIp = isopenxrealip @BanConfig = banconfig @SourceIpType = sourceiptype @LogConfig = logconfig @IsAcceptHttpOne = isaccepthttpone end |
Instance Attribute Details
#BanConfig ⇒ Object
8981 8982 8983 |
# File 'lib/v20180608/models.rb', line 8981 def BanConfig @BanConfig end |
#IsAcceptHttpOne ⇒ Object
8981 8982 8983 |
# File 'lib/v20180608/models.rb', line 8981 def IsAcceptHttpOne @IsAcceptHttpOne end |
#IsOpenXRealIp ⇒ Object
8981 8982 8983 |
# File 'lib/v20180608/models.rb', line 8981 def IsOpenXRealIp @IsOpenXRealIp end |
#LogConfig ⇒ Object
8981 8982 8983 |
# File 'lib/v20180608/models.rb', line 8981 def LogConfig @LogConfig end |
#SourceIpType ⇒ Object
8981 8982 8983 |
# File 'lib/v20180608/models.rb', line 8981 def SourceIpType @SourceIpType end |
Instance Method Details
#deserialize(params) ⇒ Object
8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 |
# File 'lib/v20180608/models.rb', line 8991 def deserialize(params) @IsOpenXRealIp = params['IsOpenXRealIp'] unless params['BanConfig'].nil? @BanConfig = BanConfig.new @BanConfig.deserialize(params['BanConfig']) end @SourceIpType = params['SourceIpType'] unless params['LogConfig'].nil? @LogConfig = CustomLogConfig.new @LogConfig.deserialize(params['LogConfig']) end @IsAcceptHttpOne = params['IsAcceptHttpOne'] end |