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, gatekeeperstatus = nil, requestid = nil) ⇒ DescribeOpenPolicyListResponse

Returns a new instance of DescribeOpenPolicyListResponse.



8897
8898
8899
8900
8901
# File 'lib/v20180525/models.rb', line 8897

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

Instance Attribute Details

#GatekeeperStatusObject

Parameters:

  • OpenPolicyInfoList:

    策略信息列表

  • GatekeeperStatus:

    集群内是否安装了gatekeeper addon

  • RequestId:

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



8895
8896
8897
# File 'lib/v20180525/models.rb', line 8895

def GatekeeperStatus
  @GatekeeperStatus
end

#OpenPolicyInfoListObject

Parameters:

  • OpenPolicyInfoList:

    策略信息列表

  • GatekeeperStatus:

    集群内是否安装了gatekeeper addon

  • RequestId:

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



8895
8896
8897
# File 'lib/v20180525/models.rb', line 8895

def OpenPolicyInfoList
  @OpenPolicyInfoList
end

#RequestIdObject

Parameters:

  • OpenPolicyInfoList:

    策略信息列表

  • GatekeeperStatus:

    集群内是否安装了gatekeeper addon

  • RequestId:

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



8895
8896
8897
# File 'lib/v20180525/models.rb', line 8895

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
# File 'lib/v20180525/models.rb', line 8903

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
  @GatekeeperStatus = params['GatekeeperStatus']
  @RequestId = params['RequestId']
end