Class: TencentCloud::Bm::V20180423::DescribeCustomImagesResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180423/models.rb

Overview

DescribeCustomImages返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, customimageset = nil, requestid = nil) ⇒ DescribeCustomImagesResponse



827
828
829
830
831
# File 'lib/v20180423/models.rb', line 827

def initialize(totalcount=nil, customimageset=nil, requestid=nil)
  @TotalCount = totalcount
  @CustomImageSet = customimageset
  @RequestId = requestid
end

Instance Attribute Details

#CustomImageSetObject



825
826
827
# File 'lib/v20180423/models.rb', line 825

def CustomImageSet
  @CustomImageSet
end

#RequestIdObject



825
826
827
# File 'lib/v20180423/models.rb', line 825

def RequestId
  @RequestId
end

#TotalCountObject



825
826
827
# File 'lib/v20180423/models.rb', line 825

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



833
834
835
836
837
838
839
840
841
842
843
844
# File 'lib/v20180423/models.rb', line 833

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['CustomImageSet'].nil?
    @CustomImageSet = []
    params['CustomImageSet'].each do |i|
      customimage_tmp = CustomImage.new
      customimage_tmp.deserialize(i)
      @CustomImageSet << customimage_tmp
    end
  end
  @RequestId = params['RequestId']
end