Class: TencentCloud::Tke::V20180525::GetMostSuitableImageCacheResponse

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

Overview

GetMostSuitableImageCache返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(found = nil, imagecache = nil, requestid = nil) ⇒ GetMostSuitableImageCacheResponse

Returns a new instance of GetMostSuitableImageCacheResponse.



12397
12398
12399
12400
12401
# File 'lib/v20180525/models.rb', line 12397

def initialize(found=nil, imagecache=nil, requestid=nil)
  @Found = found
  @ImageCache = imagecache
  @RequestId = requestid
end

Instance Attribute Details

#FoundObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Found:

    是否有匹配的镜像缓存

  • ImageCache:

    匹配的镜像缓存

  • RequestId:

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



12395
12396
12397
# File 'lib/v20180525/models.rb', line 12395

def Found
  @Found
end

#ImageCacheObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Found:

    是否有匹配的镜像缓存

  • ImageCache:

    匹配的镜像缓存

  • RequestId:

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



12395
12396
12397
# File 'lib/v20180525/models.rb', line 12395

def ImageCache
  @ImageCache
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Found:

    是否有匹配的镜像缓存

  • ImageCache:

    匹配的镜像缓存

  • RequestId:

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



12395
12396
12397
# File 'lib/v20180525/models.rb', line 12395

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



12403
12404
12405
12406
12407
12408
12409
12410
# File 'lib/v20180525/models.rb', line 12403

def deserialize(params)
  @Found = params['Found']
  unless params['ImageCache'].nil?
    @ImageCache = ImageCache.new
    @ImageCache.deserialize(params['ImageCache'])
  end
  @RequestId = params['RequestId']
end