Class: TencentCloud::Tke::V20180525::DescribeClusterCommonNamesResponse

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

Overview

DescribeClusterCommonNames返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(commonnames = nil, requestid = nil) ⇒ DescribeClusterCommonNamesResponse

Returns a new instance of DescribeClusterCommonNamesResponse.



6103
6104
6105
6106
# File 'lib/v20180525/models.rb', line 6103

def initialize(commonnames=nil, requestid=nil)
  @CommonNames = commonnames
  @RequestId = requestid
end

Instance Attribute Details

#CommonNamesObject

Parameters:

  • CommonNames:

    子账户Uin与其客户端证书的CN字段映射

  • RequestId:

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



6101
6102
6103
# File 'lib/v20180525/models.rb', line 6101

def CommonNames
  @CommonNames
end

#RequestIdObject

Parameters:

  • CommonNames:

    子账户Uin与其客户端证书的CN字段映射

  • RequestId:

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



6101
6102
6103
# File 'lib/v20180525/models.rb', line 6101

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
# File 'lib/v20180525/models.rb', line 6108

def deserialize(params)
  unless params['CommonNames'].nil?
    @CommonNames = []
    params['CommonNames'].each do |i|
      commonname_tmp = CommonName.new
      commonname_tmp.deserialize(i)
      @CommonNames << commonname_tmp
    end
  end
  @RequestId = params['RequestId']
end