Class: TencentCloud::Tke::V20180525::DescribeImageCachesResponse

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

Overview

DescribeImageCaches返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, imagecaches = nil, requestid = nil) ⇒ DescribeImageCachesResponse

Returns a new instance of DescribeImageCachesResponse.



8030
8031
8032
8033
8034
# File 'lib/v20180525/models.rb', line 8030

def initialize(totalcount=nil, imagecaches=nil, requestid=nil)
  @TotalCount = totalcount
  @ImageCaches = imagecaches
  @RequestId = requestid
end

Instance Attribute Details

#ImageCachesObject

Parameters:

  • TotalCount:

    镜像缓存总数

  • ImageCaches:

    镜像缓存信息列表

  • RequestId:

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



8028
8029
8030
# File 'lib/v20180525/models.rb', line 8028

def ImageCaches
  @ImageCaches
end

#RequestIdObject

Parameters:

  • TotalCount:

    镜像缓存总数

  • ImageCaches:

    镜像缓存信息列表

  • RequestId:

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



8028
8029
8030
# File 'lib/v20180525/models.rb', line 8028

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    镜像缓存总数

  • ImageCaches:

    镜像缓存信息列表

  • RequestId:

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



8028
8029
8030
# File 'lib/v20180525/models.rb', line 8028

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
# File 'lib/v20180525/models.rb', line 8036

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['ImageCaches'].nil?
    @ImageCaches = []
    params['ImageCaches'].each do |i|
      imagecache_tmp = ImageCache.new
      imagecache_tmp.deserialize(i)
      @ImageCaches << imagecache_tmp
    end
  end
  @RequestId = params['RequestId']
end