Class: TencentCloud::Apigateway::V20180808::ModifyUpstreamResultInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::ModifyUpstreamResultInfo
- Defined in:
- lib/v20180808/models.rb
Overview
后端通道详细信息
Instance Attribute Summary collapse
-
#Algorithm ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CreatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HealthChecker ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#K8sServices ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Nodes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Retries ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Scheme ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UniqVpcId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpstreamDescription ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpstreamHost ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpstreamId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpstreamName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpstreamType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(upstreamid = nil, upstreamname = nil, upstreamdescription = nil, scheme = nil, algorithm = nil, uniqvpcid = nil, retries = nil, nodes = nil, createdtime = nil, healthchecker = nil, upstreamtype = nil, k8sservices = nil, upstreamhost = nil) ⇒ ModifyUpstreamResultInfo
constructor
A new instance of ModifyUpstreamResultInfo.
Constructor Details
#initialize(upstreamid = nil, upstreamname = nil, upstreamdescription = nil, scheme = nil, algorithm = nil, uniqvpcid = nil, retries = nil, nodes = nil, createdtime = nil, healthchecker = nil, upstreamtype = nil, k8sservices = nil, upstreamhost = nil) ⇒ ModifyUpstreamResultInfo
Returns a new instance of ModifyUpstreamResultInfo.
7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 |
# File 'lib/v20180808/models.rb', line 7997 def initialize(upstreamid=nil, upstreamname=nil, upstreamdescription=nil, scheme=nil, algorithm=nil, uniqvpcid=nil, retries=nil, nodes=nil, createdtime=nil, healthchecker=nil, upstreamtype=nil, k8sservices=nil, upstreamhost=nil) @UpstreamId = upstreamid @UpstreamName = upstreamname @UpstreamDescription = upstreamdescription @Scheme = scheme @Algorithm = algorithm @UniqVpcId = uniqvpcid @Retries = retries @Nodes = nodes @CreatedTime = createdtime @HealthChecker = healthchecker @UpstreamType = upstreamtype @K8sServices = k8sservices @UpstreamHost = upstreamhost end |
Instance Attribute Details
#Algorithm ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7995 7996 7997 |
# File 'lib/v20180808/models.rb', line 7995 def Algorithm @Algorithm end |
#CreatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7995 7996 7997 |
# File 'lib/v20180808/models.rb', line 7995 def CreatedTime @CreatedTime end |
#HealthChecker ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7995 7996 7997 |
# File 'lib/v20180808/models.rb', line 7995 def HealthChecker @HealthChecker end |
#K8sServices ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7995 7996 7997 |
# File 'lib/v20180808/models.rb', line 7995 def K8sServices @K8sServices end |
#Nodes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7995 7996 7997 |
# File 'lib/v20180808/models.rb', line 7995 def Nodes @Nodes end |
#Retries ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7995 7996 7997 |
# File 'lib/v20180808/models.rb', line 7995 def Retries @Retries end |
#Scheme ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7995 7996 7997 |
# File 'lib/v20180808/models.rb', line 7995 def Scheme @Scheme end |
#UniqVpcId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7995 7996 7997 |
# File 'lib/v20180808/models.rb', line 7995 def UniqVpcId @UniqVpcId end |
#UpstreamDescription ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7995 7996 7997 |
# File 'lib/v20180808/models.rb', line 7995 def UpstreamDescription @UpstreamDescription end |
#UpstreamHost ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7995 7996 7997 |
# File 'lib/v20180808/models.rb', line 7995 def UpstreamHost @UpstreamHost end |
#UpstreamId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7995 7996 7997 |
# File 'lib/v20180808/models.rb', line 7995 def UpstreamId @UpstreamId end |
#UpstreamName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7995 7996 7997 |
# File 'lib/v20180808/models.rb', line 7995 def UpstreamName @UpstreamName end |
#UpstreamType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7995 7996 7997 |
# File 'lib/v20180808/models.rb', line 7995 def UpstreamType @UpstreamType end |
Instance Method Details
#deserialize(params) ⇒ Object
8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 |
# File 'lib/v20180808/models.rb', line 8013 def deserialize(params) @UpstreamId = params['UpstreamId'] @UpstreamName = params['UpstreamName'] @UpstreamDescription = params['UpstreamDescription'] @Scheme = params['Scheme'] @Algorithm = params['Algorithm'] @UniqVpcId = params['UniqVpcId'] @Retries = params['Retries'] unless params['Nodes'].nil? @Nodes = [] params['Nodes'].each do |i| upstreamnode_tmp = UpstreamNode.new upstreamnode_tmp.deserialize(i) @Nodes << upstreamnode_tmp end end @CreatedTime = params['CreatedTime'] unless params['HealthChecker'].nil? @HealthChecker = UpstreamHealthChecker.new @HealthChecker.deserialize(params['HealthChecker']) end @UpstreamType = params['UpstreamType'] unless params['K8sServices'].nil? @K8sServices = [] params['K8sServices'].each do |i| k8sservice_tmp = K8sService.new k8sservice_tmp.deserialize(i) @K8sServices << k8sservice_tmp end end @UpstreamHost = params['UpstreamHost'] end |