Class: TencentCloud::Tke::V20180525::DescribeImagesResponse

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

Overview

DescribeImages返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, imageinstanceset = nil, requestid = nil) ⇒ DescribeImagesResponse

Returns a new instance of DescribeImagesResponse.



8652
8653
8654
8655
8656
# File 'lib/v20180525/models.rb', line 8652

def initialize(totalcount=nil, imageinstanceset=nil, requestid=nil)
  @TotalCount = totalcount
  @ImageInstanceSet = imageinstanceset
  @RequestId = requestid
end

Instance Attribute Details

#ImageInstanceSetObject

Parameters:

  • TotalCount:

    镜像数量

  • ImageInstanceSet:

    镜像信息列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



8650
8651
8652
# File 'lib/v20180525/models.rb', line 8650

def ImageInstanceSet
  @ImageInstanceSet
end

#RequestIdObject

Parameters:

  • TotalCount:

    镜像数量

  • ImageInstanceSet:

    镜像信息列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



8650
8651
8652
# File 'lib/v20180525/models.rb', line 8650

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    镜像数量

  • ImageInstanceSet:

    镜像信息列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



8650
8651
8652
# File 'lib/v20180525/models.rb', line 8650

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
# File 'lib/v20180525/models.rb', line 8658

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['ImageInstanceSet'].nil?
    @ImageInstanceSet = []
    params['ImageInstanceSet'].each do |i|
      imageinstance_tmp = ImageInstance.new
      imageinstance_tmp.deserialize(i)
      @ImageInstanceSet << imageinstance_tmp
    end
  end
  @RequestId = params['RequestId']
end