Class: TencentCloud::Apigateway::V20180808::UpstreamInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::UpstreamInfo
- Defined in:
- lib/v20180808/models.rb
Overview
后端通道详细信息
Instance Attribute Summary collapse
-
#Algorithm ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CreatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HealthChecker ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#K8sServices ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Nodes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Retries ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Scheme ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Tags ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UniqVpcId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpstreamDescription ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpstreamHost ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpstreamId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpstreamName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpstreamType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 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, tags = nil, healthchecker = nil, upstreamtype = nil, k8sservices = nil, upstreamhost = nil) ⇒ UpstreamInfo
constructor
A new instance of UpstreamInfo.
Constructor Details
#initialize(upstreamid = nil, upstreamname = nil, upstreamdescription = nil, scheme = nil, algorithm = nil, uniqvpcid = nil, retries = nil, nodes = nil, createdtime = nil, tags = nil, healthchecker = nil, upstreamtype = nil, k8sservices = nil, upstreamhost = nil) ⇒ UpstreamInfo
Returns a new instance of UpstreamInfo.
9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 |
# File 'lib/v20180808/models.rb', line 9648 def initialize(upstreamid=nil, upstreamname=nil, upstreamdescription=nil, scheme=nil, algorithm=nil, uniqvpcid=nil, retries=nil, nodes=nil, createdtime=nil, =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 @Tags = @HealthChecker = healthchecker @UpstreamType = upstreamtype @K8sServices = k8sservices @UpstreamHost = upstreamhost end |
Instance Attribute Details
#Algorithm ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9646 9647 9648 |
# File 'lib/v20180808/models.rb', line 9646 def Algorithm @Algorithm end |
#CreatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9646 9647 9648 |
# File 'lib/v20180808/models.rb', line 9646 def CreatedTime @CreatedTime end |
#HealthChecker ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9646 9647 9648 |
# File 'lib/v20180808/models.rb', line 9646 def HealthChecker @HealthChecker end |
#K8sServices ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9646 9647 9648 |
# File 'lib/v20180808/models.rb', line 9646 def K8sServices @K8sServices end |
#Nodes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9646 9647 9648 |
# File 'lib/v20180808/models.rb', line 9646 def Nodes @Nodes end |
#Retries ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9646 9647 9648 |
# File 'lib/v20180808/models.rb', line 9646 def Retries @Retries end |
#Scheme ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9646 9647 9648 |
# File 'lib/v20180808/models.rb', line 9646 def Scheme @Scheme end |
#Tags ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9646 9647 9648 |
# File 'lib/v20180808/models.rb', line 9646 def Tags @Tags end |
#UniqVpcId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9646 9647 9648 |
# File 'lib/v20180808/models.rb', line 9646 def UniqVpcId @UniqVpcId end |
#UpstreamDescription ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9646 9647 9648 |
# File 'lib/v20180808/models.rb', line 9646 def UpstreamDescription @UpstreamDescription end |
#UpstreamHost ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9646 9647 9648 |
# File 'lib/v20180808/models.rb', line 9646 def UpstreamHost @UpstreamHost end |
#UpstreamId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9646 9647 9648 |
# File 'lib/v20180808/models.rb', line 9646 def UpstreamId @UpstreamId end |
#UpstreamName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9646 9647 9648 |
# File 'lib/v20180808/models.rb', line 9646 def UpstreamName @UpstreamName end |
#UpstreamType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
9646 9647 9648 |
# File 'lib/v20180808/models.rb', line 9646 def UpstreamType @UpstreamType end |
Instance Method Details
#deserialize(params) ⇒ Object
9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 |
# File 'lib/v20180808/models.rb', line 9665 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['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end 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 |