Class: TencentCloud::Lighthouse::V20200324::DescribeImagesToShareResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::DescribeImagesToShareResponse
- Defined in:
- lib/v20200324/models.rb
Overview
DescribeImagesToShare返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, imageset = nil, requestid = nil) ⇒ DescribeImagesToShareResponse
constructor
A new instance of DescribeImagesToShareResponse.
Constructor Details
#initialize(totalcount = nil, imageset = nil, requestid = nil) ⇒ DescribeImagesToShareResponse
Returns a new instance of DescribeImagesToShareResponse.
3172 3173 3174 3175 3176 |
# File 'lib/v20200324/models.rb', line 3172 def initialize(totalcount=nil, imageset=nil, requestid=nil) @TotalCount = totalcount @ImageSet = imageset @RequestId = requestid end |
Instance Attribute Details
#ImageSet ⇒ Object
3170 3171 3172 |
# File 'lib/v20200324/models.rb', line 3170 def ImageSet @ImageSet end |
#RequestId ⇒ Object
3170 3171 3172 |
# File 'lib/v20200324/models.rb', line 3170 def RequestId @RequestId end |
#TotalCount ⇒ Object
3170 3171 3172 |
# File 'lib/v20200324/models.rb', line 3170 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 |
# File 'lib/v20200324/models.rb', line 3178 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 |