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.



13390
13391
13392
13393
13394
# File 'lib/v20180525/models.rb', line 13390

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。



13388
13389
13390
# File 'lib/v20180525/models.rb', line 13388

def Found
  @Found
end

#ImageCacheObject

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

Parameters:

  • Found:

    是否有匹配的镜像缓存

  • ImageCache:

    匹配的镜像缓存

  • RequestId:

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



13388
13389
13390
# File 'lib/v20180525/models.rb', line 13388

def ImageCache
  @ImageCache
end

#RequestIdObject

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

Parameters:

  • Found:

    是否有匹配的镜像缓存

  • ImageCache:

    匹配的镜像缓存

  • RequestId:

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



13388
13389
13390
# File 'lib/v20180525/models.rb', line 13388

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



13396
13397
13398
13399
13400
13401
13402
13403
# File 'lib/v20180525/models.rb', line 13396

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