Class: TencentCloud::Tke::V20180525::CreateImageCacheResponse

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

Overview

CreateImageCache返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(imagecacheid = nil, requestid = nil) ⇒ CreateImageCacheResponse

Returns a new instance of CreateImageCacheResponse.



3231
3232
3233
3234
# File 'lib/v20180525/models.rb', line 3231

def initialize(imagecacheid=nil, requestid=nil)
  @ImageCacheId = imagecacheid
  @RequestId = requestid
end

Instance Attribute Details

#ImageCacheIdObject

Parameters:

  • ImageCacheId:

    镜像缓存Id

  • RequestId:

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



3229
3230
3231
# File 'lib/v20180525/models.rb', line 3229

def ImageCacheId
  @ImageCacheId
end

#RequestIdObject

Parameters:

  • ImageCacheId:

    镜像缓存Id

  • RequestId:

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



3229
3230
3231
# File 'lib/v20180525/models.rb', line 3229

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



3236
3237
3238
3239
# File 'lib/v20180525/models.rb', line 3236

def deserialize(params)
  @ImageCacheId = params['ImageCacheId']
  @RequestId = params['RequestId']
end