Class: TencentCloud::Tse::V20201207::KongUpstreamPreview
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::KongUpstreamPreview
- Defined in:
- lib/v20201207/models.rb
Overview
云原生网关Upstream信息
Instance Attribute Summary collapse
-
#ID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Target ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, target = nil) ⇒ KongUpstreamPreview
constructor
A new instance of KongUpstreamPreview.
Constructor Details
#initialize(id = nil, name = nil, target = nil) ⇒ KongUpstreamPreview
Returns a new instance of KongUpstreamPreview.
5071 5072 5073 5074 5075 |
# File 'lib/v20201207/models.rb', line 5071 def initialize(id=nil, name=nil, target=nil) @ID = id @Name = name @Target = target end |
Instance Attribute Details
#ID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5069 5070 5071 |
# File 'lib/v20201207/models.rb', line 5069 def ID @ID end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5069 5070 5071 |
# File 'lib/v20201207/models.rb', line 5069 def Name @Name end |
#Target ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5069 5070 5071 |
# File 'lib/v20201207/models.rb', line 5069 def Target @Target end |
Instance Method Details
#deserialize(params) ⇒ Object
5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 |
# File 'lib/v20201207/models.rb', line 5077 def deserialize(params) @ID = params['ID'] @Name = params['Name'] unless params['Target'].nil? @Target = [] params['Target'].each do |i| kongtarget_tmp = KongTarget.new kongtarget_tmp.deserialize(i) @Target << kongtarget_tmp end end end |