Class: TencentCloud::Tcb::V20180608::WxGatewayRountItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::WxGatewayRountItem
- Defined in:
- lib/v20180608/models.rb
Overview
安全网关路由
Instance Attribute Summary collapse
- #CustomHeader ⇒ Object
- #FrequencyLimitConfig ⇒ Object
- #GatewayRewriteHost ⇒ Object
- #GatewayRouteAddr ⇒ Object
- #GatewayRouteClusterId ⇒ Object
- #GatewayRouteCreateTime ⇒ Object
- #GatewayRouteDesc ⇒ Object
- #GatewayRouteEnvId ⇒ Object
- #GatewayRouteMethod ⇒ Object
- #GatewayRouteName ⇒ Object
- #GatewayRoutePath ⇒ Object
- #GatewayRoutePathMatchType ⇒ Object
- #GatewayRoutePort ⇒ Object
- #GatewayRouteProtocol ⇒ Object
- #GatewayRouteServerName ⇒ Object
- #GatewayRouteServerType ⇒ Object
- #GatewayVersion ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gatewayroutename = nil, gatewayrouteprotocol = nil, gatewayrouteaddr = nil, gatewayroutedesc = nil, gatewayrouteclusterid = nil, gatewayroutecreatetime = nil, frequencylimitconfig = nil, gatewayrouteservertype = nil, gatewayrouteservername = nil, gatewayrewritehost = nil, gatewayversion = nil, gatewayroutepath = nil, gatewayroutemethod = nil, gatewayrouteport = nil, gatewayrouteenvid = nil, gatewayroutepathmatchtype = nil, customheader = nil) ⇒ WxGatewayRountItem
constructor
A new instance of WxGatewayRountItem.
Constructor Details
#initialize(gatewayroutename = nil, gatewayrouteprotocol = nil, gatewayrouteaddr = nil, gatewayroutedesc = nil, gatewayrouteclusterid = nil, gatewayroutecreatetime = nil, frequencylimitconfig = nil, gatewayrouteservertype = nil, gatewayrouteservername = nil, gatewayrewritehost = nil, gatewayversion = nil, gatewayroutepath = nil, gatewayroutemethod = nil, gatewayrouteport = nil, gatewayrouteenvid = nil, gatewayroutepathmatchtype = nil, customheader = nil) ⇒ WxGatewayRountItem
Returns a new instance of WxGatewayRountItem.
7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 |
# File 'lib/v20180608/models.rb', line 7850 def initialize(gatewayroutename=nil, gatewayrouteprotocol=nil, gatewayrouteaddr=nil, gatewayroutedesc=nil, gatewayrouteclusterid=nil, gatewayroutecreatetime=nil, frequencylimitconfig=nil, gatewayrouteservertype=nil, gatewayrouteservername=nil, gatewayrewritehost=nil, gatewayversion=nil, gatewayroutepath=nil, gatewayroutemethod=nil, gatewayrouteport=nil, gatewayrouteenvid=nil, gatewayroutepathmatchtype=nil, customheader=nil) @GatewayRouteName = gatewayroutename @GatewayRouteProtocol = gatewayrouteprotocol @GatewayRouteAddr = gatewayrouteaddr @GatewayRouteDesc = gatewayroutedesc @GatewayRouteClusterId = gatewayrouteclusterid @GatewayRouteCreateTime = gatewayroutecreatetime @FrequencyLimitConfig = frequencylimitconfig @GatewayRouteServerType = gatewayrouteservertype @GatewayRouteServerName = gatewayrouteservername @GatewayRewriteHost = gatewayrewritehost @GatewayVersion = gatewayversion @GatewayRoutePath = gatewayroutepath @GatewayRouteMethod = gatewayroutemethod @GatewayRoutePort = gatewayrouteport @GatewayRouteEnvId = gatewayrouteenvid @GatewayRoutePathMatchType = gatewayroutepathmatchtype @CustomHeader = customheader end |
Instance Attribute Details
#CustomHeader ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def CustomHeader @CustomHeader end |
#FrequencyLimitConfig ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def FrequencyLimitConfig @FrequencyLimitConfig end |
#GatewayRewriteHost ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def GatewayRewriteHost @GatewayRewriteHost end |
#GatewayRouteAddr ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def GatewayRouteAddr @GatewayRouteAddr end |
#GatewayRouteClusterId ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def GatewayRouteClusterId @GatewayRouteClusterId end |
#GatewayRouteCreateTime ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def GatewayRouteCreateTime @GatewayRouteCreateTime end |
#GatewayRouteDesc ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def GatewayRouteDesc @GatewayRouteDesc end |
#GatewayRouteEnvId ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def GatewayRouteEnvId @GatewayRouteEnvId end |
#GatewayRouteMethod ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def GatewayRouteMethod @GatewayRouteMethod end |
#GatewayRouteName ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def GatewayRouteName @GatewayRouteName end |
#GatewayRoutePath ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def GatewayRoutePath @GatewayRoutePath end |
#GatewayRoutePathMatchType ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def GatewayRoutePathMatchType @GatewayRoutePathMatchType end |
#GatewayRoutePort ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def GatewayRoutePort @GatewayRoutePort end |
#GatewayRouteProtocol ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def GatewayRouteProtocol @GatewayRouteProtocol end |
#GatewayRouteServerName ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def GatewayRouteServerName @GatewayRouteServerName end |
#GatewayRouteServerType ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def GatewayRouteServerType @GatewayRouteServerType end |
#GatewayVersion ⇒ Object
7848 7849 7850 |
# File 'lib/v20180608/models.rb', line 7848 def GatewayVersion @GatewayVersion end |
Instance Method Details
#deserialize(params) ⇒ Object
7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 |
# File 'lib/v20180608/models.rb', line 7870 def deserialize(params) @GatewayRouteName = params['GatewayRouteName'] @GatewayRouteProtocol = params['GatewayRouteProtocol'] @GatewayRouteAddr = params['GatewayRouteAddr'] @GatewayRouteDesc = params['GatewayRouteDesc'] @GatewayRouteClusterId = params['GatewayRouteClusterId'] @GatewayRouteCreateTime = params['GatewayRouteCreateTime'] unless params['FrequencyLimitConfig'].nil? @FrequencyLimitConfig = [] params['FrequencyLimitConfig'].each do |i| frequencylimitconfig_tmp = FrequencyLimitConfig.new frequencylimitconfig_tmp.deserialize(i) @FrequencyLimitConfig << frequencylimitconfig_tmp end end @GatewayRouteServerType = params['GatewayRouteServerType'] @GatewayRouteServerName = params['GatewayRouteServerName'] @GatewayRewriteHost = params['GatewayRewriteHost'] @GatewayVersion = params['GatewayVersion'] @GatewayRoutePath = params['GatewayRoutePath'] @GatewayRouteMethod = params['GatewayRouteMethod'] @GatewayRoutePort = params['GatewayRoutePort'] @GatewayRouteEnvId = params['GatewayRouteEnvId'] @GatewayRoutePathMatchType = params['GatewayRoutePathMatchType'] unless params['CustomHeader'].nil? @CustomHeader = CustomHeader.new @CustomHeader.deserialize(params['CustomHeader']) end end |