Class: TencentCloud::Tse::V20201207::KongServiceLightPreview
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::KongServiceLightPreview
- Defined in:
- lib/v20201207/models.rb
Overview
云原生网关服务简洁预览信息
Instance Attribute Summary collapse
-
#CreatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Path ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Protocol ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Retries ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Timeout ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UpstreamInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UpstreamType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, upstreaminfo = nil, upstreamtype = nil, createdtime = nil, path = nil, protocol = nil, retries = nil, timeout = nil) ⇒ KongServiceLightPreview
constructor
A new instance of KongServiceLightPreview.
Constructor Details
#initialize(id = nil, name = nil, upstreaminfo = nil, upstreamtype = nil, createdtime = nil, path = nil, protocol = nil, retries = nil, timeout = nil) ⇒ KongServiceLightPreview
Returns a new instance of KongServiceLightPreview.
8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 |
# File 'lib/v20201207/models.rb', line 8965 def initialize(id=nil, name=nil, upstreaminfo=nil, upstreamtype=nil, createdtime=nil, path=nil, protocol=nil, retries=nil, timeout=nil) @ID = id @Name = name @UpstreamInfo = upstreaminfo @UpstreamType = upstreamtype @CreatedTime = createdtime @Path = path @Protocol = protocol @Retries = retries @Timeout = timeout end |
Instance Attribute Details
#CreatedTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8963 8964 8965 |
# File 'lib/v20201207/models.rb', line 8963 def CreatedTime @CreatedTime end |
#ID ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8963 8964 8965 |
# File 'lib/v20201207/models.rb', line 8963 def ID @ID end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8963 8964 8965 |
# File 'lib/v20201207/models.rb', line 8963 def Name @Name end |
#Path ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8963 8964 8965 |
# File 'lib/v20201207/models.rb', line 8963 def Path @Path end |
#Protocol ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8963 8964 8965 |
# File 'lib/v20201207/models.rb', line 8963 def Protocol @Protocol end |
#Retries ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8963 8964 8965 |
# File 'lib/v20201207/models.rb', line 8963 def Retries @Retries end |
#Timeout ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8963 8964 8965 |
# File 'lib/v20201207/models.rb', line 8963 def Timeout @Timeout end |
#UpstreamInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8963 8964 8965 |
# File 'lib/v20201207/models.rb', line 8963 def UpstreamInfo @UpstreamInfo end |
#UpstreamType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8963 8964 8965 |
# File 'lib/v20201207/models.rb', line 8963 def UpstreamType @UpstreamType end |
Instance Method Details
#deserialize(params) ⇒ Object
8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 |
# File 'lib/v20201207/models.rb', line 8977 def deserialize(params) @ID = params['ID'] @Name = params['Name'] unless params['UpstreamInfo'].nil? @UpstreamInfo = KongUpstreamInfo.new @UpstreamInfo.deserialize(params['UpstreamInfo']) end @UpstreamType = params['UpstreamType'] @CreatedTime = params['CreatedTime'] @Path = params['Path'] @Protocol = params['Protocol'] @Retries = params['Retries'] @Timeout = params['Timeout'] end |