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.
9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 |
# File 'lib/v20180608/models.rb', line 9045 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
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def CustomHeader @CustomHeader end |
#FrequencyLimitConfig ⇒ Object
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def FrequencyLimitConfig @FrequencyLimitConfig end |
#GatewayRewriteHost ⇒ Object
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def GatewayRewriteHost @GatewayRewriteHost end |
#GatewayRouteAddr ⇒ Object
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def GatewayRouteAddr @GatewayRouteAddr end |
#GatewayRouteClusterId ⇒ Object
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def GatewayRouteClusterId @GatewayRouteClusterId end |
#GatewayRouteCreateTime ⇒ Object
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def GatewayRouteCreateTime @GatewayRouteCreateTime end |
#GatewayRouteDesc ⇒ Object
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def GatewayRouteDesc @GatewayRouteDesc end |
#GatewayRouteEnvId ⇒ Object
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def GatewayRouteEnvId @GatewayRouteEnvId end |
#GatewayRouteMethod ⇒ Object
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def GatewayRouteMethod @GatewayRouteMethod end |
#GatewayRouteName ⇒ Object
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def GatewayRouteName @GatewayRouteName end |
#GatewayRoutePath ⇒ Object
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def GatewayRoutePath @GatewayRoutePath end |
#GatewayRoutePathMatchType ⇒ Object
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def GatewayRoutePathMatchType @GatewayRoutePathMatchType end |
#GatewayRoutePort ⇒ Object
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def GatewayRoutePort @GatewayRoutePort end |
#GatewayRouteProtocol ⇒ Object
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def GatewayRouteProtocol @GatewayRouteProtocol end |
#GatewayRouteServerName ⇒ Object
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def GatewayRouteServerName @GatewayRouteServerName end |
#GatewayRouteServerType ⇒ Object
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def GatewayRouteServerType @GatewayRouteServerType end |
#GatewayVersion ⇒ Object
9043 9044 9045 |
# File 'lib/v20180608/models.rb', line 9043 def GatewayVersion @GatewayVersion end |
Instance Method Details
#deserialize(params) ⇒ Object
9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 |
# File 'lib/v20180608/models.rb', line 9065 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 |