Class: TencentCloud::Tcr::V20190924::DescribeImagesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::DescribeImagesResponse
- Defined in:
- lib/v20190924/models.rb
Overview
DescribeImages返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imageinfolist = nil, totalcount = nil, requestid = nil) ⇒ DescribeImagesResponse
constructor
A new instance of DescribeImagesResponse.
Constructor Details
#initialize(imageinfolist = nil, totalcount = nil, requestid = nil) ⇒ DescribeImagesResponse
Returns a new instance of DescribeImagesResponse.
2990 2991 2992 2993 2994 |
# File 'lib/v20190924/models.rb', line 2990 def initialize(imageinfolist=nil, totalcount=nil, requestid=nil) @ImageInfoList = imageinfolist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ImageInfoList ⇒ Object
2988 2989 2990 |
# File 'lib/v20190924/models.rb', line 2988 def ImageInfoList @ImageInfoList end |
#RequestId ⇒ Object
2988 2989 2990 |
# File 'lib/v20190924/models.rb', line 2988 def RequestId @RequestId end |
#TotalCount ⇒ Object
2988 2989 2990 |
# File 'lib/v20190924/models.rb', line 2988 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 |
# File 'lib/v20190924/models.rb', line 2996 def deserialize(params) unless params['ImageInfoList'].nil? @ImageInfoList = [] params['ImageInfoList'].each do |i| tcrimageinfo_tmp = TcrImageInfo.new tcrimageinfo_tmp.deserialize(i) @ImageInfoList << tcrimageinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |