Class: TencentCloud::Tke::V20180525::DescribeAddonResponse

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

Overview

DescribeAddon返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(addons = nil, requestid = nil) ⇒ DescribeAddonResponse

Returns a new instance of DescribeAddonResponse.



5113
5114
5115
5116
# File 'lib/v20180525/models.rb', line 5113

def initialize(addons=nil, requestid=nil)
  @Addons = addons
  @RequestId = requestid
end

Instance Attribute Details

#AddonsObject

Parameters:

  • Addons:

    addon列表

  • RequestId:

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



5111
5112
5113
# File 'lib/v20180525/models.rb', line 5111

def Addons
  @Addons
end

#RequestIdObject

Parameters:

  • Addons:

    addon列表

  • RequestId:

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



5111
5112
5113
# File 'lib/v20180525/models.rb', line 5111

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
# File 'lib/v20180525/models.rb', line 5118

def deserialize(params)
  unless params['Addons'].nil?
    @Addons = []
    params['Addons'].each do |i|
      addon_tmp = Addon.new
      addon_tmp.deserialize(i)
      @Addons << addon_tmp
    end
  end
  @RequestId = params['RequestId']
end