Class: TencentCloud::Ecm::V20190719::DescribeImageResponse

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

Overview

DescribeImage返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, imageset = nil, requestid = nil) ⇒ DescribeImageResponse

Returns a new instance of DescribeImageResponse.



3099
3100
3101
3102
3103
# File 'lib/v20190719/models.rb', line 3099

def initialize(totalcount=nil, imageset=nil, requestid=nil)
  @TotalCount = totalcount
  @ImageSet = imageset
  @RequestId = requestid
end

Instance Attribute Details

#ImageSetObject

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

Parameters:

  • TotalCount:

    镜像总数

  • ImageSet:

    镜像数组

  • RequestId:

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



3097
3098
3099
# File 'lib/v20190719/models.rb', line 3097

def ImageSet
  @ImageSet
end

#RequestIdObject

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

Parameters:

  • TotalCount:

    镜像总数

  • ImageSet:

    镜像数组

  • RequestId:

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



3097
3098
3099
# File 'lib/v20190719/models.rb', line 3097

def RequestId
  @RequestId
end

#TotalCountObject

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

Parameters:

  • TotalCount:

    镜像总数

  • ImageSet:

    镜像数组

  • RequestId:

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



3097
3098
3099
# File 'lib/v20190719/models.rb', line 3097

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
# File 'lib/v20190719/models.rb', line 3105

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['ImageSet'].nil?
    @ImageSet = []
    params['ImageSet'].each do |i|
      image_tmp = Image.new
      image_tmp.deserialize(i)
      @ImageSet << image_tmp
    end
  end
  @RequestId = params['RequestId']
end