Class: TencentCloud::Lke::V20231130::ListAppResponse

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

Overview

ListApp返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, list = nil, requestid = nil) ⇒ ListAppResponse

Returns a new instance of ListAppResponse.



7233
7234
7235
7236
7237
# File 'lib/v20231130/models.rb', line 7233

def initialize(total=nil, list=nil, requestid=nil)
  @Total = total
  @List = list
  @RequestId = requestid
end

Instance Attribute Details

#ListObject

Parameters:

  • Total:

    数量

  • List:

    应用列表

  • RequestId:

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



7231
7232
7233
# File 'lib/v20231130/models.rb', line 7231

def List
  @List
end

#RequestIdObject

Parameters:

  • Total:

    数量

  • List:

    应用列表

  • RequestId:

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



7231
7232
7233
# File 'lib/v20231130/models.rb', line 7231

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • Total:

    数量

  • List:

    应用列表

  • RequestId:

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



7231
7232
7233
# File 'lib/v20231130/models.rb', line 7231

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
# File 'lib/v20231130/models.rb', line 7239

def deserialize(params)
  @Total = params['Total']
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      appinfo_tmp = AppInfo.new
      appinfo_tmp.deserialize(i)
      @List << appinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end