Class: TencentCloud::Ecm::V20190719::DescribeImageResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::DescribeImageResponse
- Defined in:
- lib/v20190719/models.rb
Overview
DescribeImage返回参数结构体
Instance Attribute Summary collapse
-
#ImageSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, imageset = nil, requestid = nil) ⇒ DescribeImageResponse
constructor
A new instance of DescribeImageResponse.
Constructor Details
#initialize(totalcount = nil, imageset = nil, requestid = nil) ⇒ DescribeImageResponse
Returns a new instance of DescribeImageResponse.
3099 3100 3101 3102 3103 |
# File 'lib/v20190719/models.rb', line 3099 def initialize(totalcount=nil, imageset=nil, requestid=nil) @TotalCount = totalcount @ImageSet = imageset @RequestId = requestid end |
Instance Attribute Details
#ImageSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3097 3098 3099 |
# File 'lib/v20190719/models.rb', line 3097 def ImageSet @ImageSet end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3097 3098 3099 |
# File 'lib/v20190719/models.rb', line 3097 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3097 3098 3099 |
# File 'lib/v20190719/models.rb', line 3097 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 |
# File 'lib/v20190719/models.rb', line 3105 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ImageSet'].nil? @ImageSet = [] params['ImageSet'].each do |i| image_tmp = Image.new image_tmp.deserialize(i) @ImageSet << image_tmp end end @RequestId = params['RequestId'] end |