Class: TencentCloud::Tem::V20210701::ModifyGatewayIngressRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::ModifyGatewayIngressRequest
- Defined in:
- lib/v20210701/models.rb
Overview
ModifyGatewayIngress请求参数结构体
Instance Attribute Summary collapse
-
#EnvironmentId ⇒ Object
-
AUTO(自动重定向http到https) - NONE(不使用重定向).
-
-
#GatewayName ⇒ Object
-
AUTO(自动重定向http到https) - NONE(不使用重定向).
-
-
#GatewayType ⇒ Object
-
AUTO(自动重定向http到https) - NONE(不使用重定向).
-
-
#Mixed ⇒ Object
-
AUTO(自动重定向http到https) - NONE(不使用重定向).
-
-
#Name ⇒ Object
-
AUTO(自动重定向http到https) - NONE(不使用重定向).
-
-
#RewriteType ⇒ Object
-
AUTO(自动重定向http到https) - NONE(不使用重定向).
-
-
#Rules ⇒ Object
-
AUTO(自动重定向http到https) - NONE(不使用重定向).
-
-
#Tls ⇒ Object
-
AUTO(自动重定向http到https) - NONE(不使用重定向).
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, gatewayname = nil, gatewaytype = nil, name = nil, rules = nil, mixed = nil, tls = nil, rewritetype = nil) ⇒ ModifyGatewayIngressRequest
constructor
A new instance of ModifyGatewayIngressRequest.
Constructor Details
#initialize(environmentid = nil, gatewayname = nil, gatewaytype = nil, name = nil, rules = nil, mixed = nil, tls = nil, rewritetype = nil) ⇒ ModifyGatewayIngressRequest
Returns a new instance of ModifyGatewayIngressRequest.
3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 |
# File 'lib/v20210701/models.rb', line 3652 def initialize(environmentid=nil, gatewayname=nil, gatewaytype=nil, name=nil, rules=nil, mixed=nil, tls=nil, rewritetype=nil) @EnvironmentId = environmentid @GatewayName = gatewayname @GatewayType = gatewaytype @Name = name @Rules = rules @Mixed = mixed @Tls = tls @RewriteType = rewritetype end |
Instance Attribute Details
#EnvironmentId ⇒ Object
-
AUTO(自动重定向http到https)
-
NONE(不使用重定向)
3650 3651 3652 |
# File 'lib/v20210701/models.rb', line 3650 def EnvironmentId @EnvironmentId end |
#GatewayName ⇒ Object
-
AUTO(自动重定向http到https)
-
NONE(不使用重定向)
3650 3651 3652 |
# File 'lib/v20210701/models.rb', line 3650 def GatewayName @GatewayName end |
#GatewayType ⇒ Object
-
AUTO(自动重定向http到https)
-
NONE(不使用重定向)
3650 3651 3652 |
# File 'lib/v20210701/models.rb', line 3650 def GatewayType @GatewayType end |
#Mixed ⇒ Object
-
AUTO(自动重定向http到https)
-
NONE(不使用重定向)
3650 3651 3652 |
# File 'lib/v20210701/models.rb', line 3650 def Mixed @Mixed end |
#Name ⇒ Object
-
AUTO(自动重定向http到https)
-
NONE(不使用重定向)
3650 3651 3652 |
# File 'lib/v20210701/models.rb', line 3650 def Name @Name end |
#RewriteType ⇒ Object
-
AUTO(自动重定向http到https)
-
NONE(不使用重定向)
3650 3651 3652 |
# File 'lib/v20210701/models.rb', line 3650 def RewriteType @RewriteType end |
#Rules ⇒ Object
-
AUTO(自动重定向http到https)
-
NONE(不使用重定向)
3650 3651 3652 |
# File 'lib/v20210701/models.rb', line 3650 def Rules @Rules end |
#Tls ⇒ Object
-
AUTO(自动重定向http到https)
-
NONE(不使用重定向)
3650 3651 3652 |
# File 'lib/v20210701/models.rb', line 3650 def Tls @Tls end |
Instance Method Details
#deserialize(params) ⇒ Object
3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 |
# File 'lib/v20210701/models.rb', line 3663 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @GatewayName = params['GatewayName'] @GatewayType = params['GatewayType'] @Name = params['Name'] unless params['Rules'].nil? @Rules = [] params['Rules'].each do |i| ingressrule_tmp = IngressRule.new ingressrule_tmp.deserialize(i) @Rules << ingressrule_tmp end end @Mixed = params['Mixed'] unless params['Tls'].nil? @Tls = [] params['Tls'].each do |i| ingresstls_tmp = IngressTls.new ingresstls_tmp.deserialize(i) @Tls << ingresstls_tmp end end @RewriteType = params['RewriteType'] end |