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.
7788 7789 7790 7791 7792 7793 7794 |
# File 'lib/v20180608/models.rb', line 7788 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
7786 7787 7788 |
# File 'lib/v20180608/models.rb', line 7786 def BanConfig @BanConfig end |
#IsAcceptHttpOne ⇒ Object
7786 7787 7788 |
# File 'lib/v20180608/models.rb', line 7786 def IsAcceptHttpOne @IsAcceptHttpOne end |
#IsOpenXRealIp ⇒ Object
7786 7787 7788 |
# File 'lib/v20180608/models.rb', line 7786 def IsOpenXRealIp @IsOpenXRealIp end |
#LogConfig ⇒ Object
7786 7787 7788 |
# File 'lib/v20180608/models.rb', line 7786 def LogConfig @LogConfig end |
#SourceIpType ⇒ Object
7786 7787 7788 |
# File 'lib/v20180608/models.rb', line 7786 def SourceIpType @SourceIpType end |
Instance Method Details
#deserialize(params) ⇒ Object
7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 |
# File 'lib/v20180608/models.rb', line 7796 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 |