Class: TencentCloud::Tiia::V20190529::DescribeImagesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tiia::V20190529::DescribeImagesResponse
- Defined in:
- lib/v20190529/models.rb
Overview
DescribeImages返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(groupid = nil, entityid = nil, imageinfos = nil, requestid = nil) ⇒ DescribeImagesResponse
constructor
A new instance of DescribeImagesResponse.
Constructor Details
#initialize(groupid = nil, entityid = nil, imageinfos = nil, requestid = nil) ⇒ DescribeImagesResponse
758 759 760 761 762 763 |
# File 'lib/v20190529/models.rb', line 758 def initialize(groupid=nil, entityid=nil, imageinfos=nil, requestid=nil) @GroupId = groupid @EntityId = entityid @ImageInfos = imageinfos @RequestId = requestid end |
Instance Attribute Details
#EntityId ⇒ Object
756 757 758 |
# File 'lib/v20190529/models.rb', line 756 def EntityId @EntityId end |
#GroupId ⇒ Object
756 757 758 |
# File 'lib/v20190529/models.rb', line 756 def GroupId @GroupId end |
#ImageInfos ⇒ Object
756 757 758 |
# File 'lib/v20190529/models.rb', line 756 def ImageInfos @ImageInfos end |
#RequestId ⇒ Object
756 757 758 |
# File 'lib/v20190529/models.rb', line 756 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
765 766 767 768 769 770 771 772 773 774 775 776 777 |
# File 'lib/v20190529/models.rb', line 765 def deserialize(params) @GroupId = params['GroupId'] @EntityId = params['EntityId'] unless params['ImageInfos'].nil? @ImageInfos = [] params['ImageInfos'].each do |i| imageinfo_tmp = ImageInfo.new imageinfo_tmp.deserialize(i) @ImageInfos << imageinfo_tmp end end @RequestId = params['RequestId'] end |