Class: TencentCloud::Tke::V20180525::DescribeOpenPolicyListResponse

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

Overview

DescribeOpenPolicyList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(openpolicyinfolist = nil, requestid = nil) ⇒ DescribeOpenPolicyListResponse

Returns a new instance of DescribeOpenPolicyListResponse.



8235
8236
8237
8238
# File 'lib/v20180525/models.rb', line 8235

def initialize(openpolicyinfolist=nil, requestid=nil)
  @OpenPolicyInfoList = openpolicyinfolist
  @RequestId = requestid
end

Instance Attribute Details

#OpenPolicyInfoListObject

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

Parameters:

  • OpenPolicyInfoList:

    策略信息列表

  • RequestId:

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



8233
8234
8235
# File 'lib/v20180525/models.rb', line 8233

def OpenPolicyInfoList
  @OpenPolicyInfoList
end

#RequestIdObject

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

Parameters:

  • OpenPolicyInfoList:

    策略信息列表

  • RequestId:

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



8233
8234
8235
# File 'lib/v20180525/models.rb', line 8233

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
# File 'lib/v20180525/models.rb', line 8240

def deserialize(params)
  unless params['OpenPolicyInfoList'].nil?
    @OpenPolicyInfoList = []
    params['OpenPolicyInfoList'].each do |i|
      openpolicyinfo_tmp = OpenPolicyInfo.new
      openpolicyinfo_tmp.deserialize(i)
      @OpenPolicyInfoList << openpolicyinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end