Class: TencentCloud::Tione::V20211111::DescribePlatformImagesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tione::V20211111::DescribePlatformImagesResponse
- Defined in:
- lib/v20211111/models.rb
Overview
DescribePlatformImages返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, platformimageinfos = nil, requestid = nil) ⇒ DescribePlatformImagesResponse
constructor
A new instance of DescribePlatformImagesResponse.
Constructor Details
#initialize(totalcount = nil, platformimageinfos = nil, requestid = nil) ⇒ DescribePlatformImagesResponse
Returns a new instance of DescribePlatformImagesResponse.
3905 3906 3907 3908 3909 |
# File 'lib/v20211111/models.rb', line 3905 def initialize(totalcount=nil, platformimageinfos=nil, requestid=nil) @TotalCount = totalcount @PlatformImageInfos = platformimageinfos @RequestId = requestid end |
Instance Attribute Details
#PlatformImageInfos ⇒ Object
3903 3904 3905 |
# File 'lib/v20211111/models.rb', line 3903 def PlatformImageInfos @PlatformImageInfos end |
#RequestId ⇒ Object
3903 3904 3905 |
# File 'lib/v20211111/models.rb', line 3903 def RequestId @RequestId end |
#TotalCount ⇒ Object
3903 3904 3905 |
# File 'lib/v20211111/models.rb', line 3903 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 |
# File 'lib/v20211111/models.rb', line 3911 def deserialize(params) @TotalCount = params['TotalCount'] unless params['PlatformImageInfos'].nil? @PlatformImageInfos = [] params['PlatformImageInfos'].each do |i| platformimageinfo_tmp = PlatformImageInfo.new platformimageinfo_tmp.deserialize(i) @PlatformImageInfos << platformimageinfo_tmp end end @RequestId = params['RequestId'] end |