Class: TencentCloud::Ssl::V20191205::LiveInstanceList
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssl::V20191205::LiveInstanceList
- Defined in:
- lib/v20191205/models.rb
Overview
live实例详情 - 异步关联云资源数据结构
Instance Attribute Summary collapse
-
#Error ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#InstanceList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, instancelist = nil, error = nil) ⇒ LiveInstanceList
constructor
A new instance of LiveInstanceList.
Constructor Details
#initialize(totalcount = nil, instancelist = nil, error = nil) ⇒ LiveInstanceList
Returns a new instance of LiveInstanceList.
6113 6114 6115 6116 6117 |
# File 'lib/v20191205/models.rb', line 6113 def initialize(totalcount=nil, instancelist=nil, error=nil) @TotalCount = totalcount @InstanceList = instancelist @Error = error end |
Instance Attribute Details
#Error ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6111 6112 6113 |
# File 'lib/v20191205/models.rb', line 6111 def Error @Error end |
#InstanceList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6111 6112 6113 |
# File 'lib/v20191205/models.rb', line 6111 def InstanceList @InstanceList end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6111 6112 6113 |
# File 'lib/v20191205/models.rb', line 6111 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 |
# File 'lib/v20191205/models.rb', line 6119 def deserialize(params) @TotalCount = params['TotalCount'] unless params['InstanceList'].nil? @InstanceList = [] params['InstanceList'].each do |i| liveinstancedetail_tmp = LiveInstanceDetail.new liveinstancedetail_tmp.deserialize(i) @InstanceList << liveinstancedetail_tmp end end @Error = params['Error'] end |