Class: TencentCloud::Tem::V20210701::DescribeRelatedIngressesResponse

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

Overview

DescribeRelatedIngresses返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result = nil, requestid = nil) ⇒ DescribeRelatedIngressesResponse

Returns a new instance of DescribeRelatedIngressesResponse.



2385
2386
2387
2388
# File 'lib/v20210701/models.rb', line 2385

def initialize(result=nil, requestid=nil)
  @Result = result
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

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

Parameters:

  • Result:

    ingress 数组

  • RequestId:

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



2383
2384
2385
# File 'lib/v20210701/models.rb', line 2383

def RequestId
  @RequestId
end

#ResultObject

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

Parameters:

  • Result:

    ingress 数组

  • RequestId:

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



2383
2384
2385
# File 'lib/v20210701/models.rb', line 2383

def Result
  @Result
end

Instance Method Details

#deserialize(params) ⇒ Object



2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'lib/v20210701/models.rb', line 2390

def deserialize(params)
  unless params['Result'].nil?
    @Result = []
    params['Result'].each do |i|
      ingressinfo_tmp = IngressInfo.new
      ingressinfo_tmp.deserialize(i)
      @Result << ingressinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end