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.



5557
5558
5559
5560
# File 'lib/v20180525/models.rb', line 5557

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

Instance Attribute Details

#CommonNamesObject

Parameters:

  • CommonNames:

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

  • RequestId:

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



5555
5556
5557
# File 'lib/v20180525/models.rb', line 5555

def CommonNames
  @CommonNames
end

#RequestIdObject

Parameters:

  • CommonNames:

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

  • RequestId:

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



5555
5556
5557
# File 'lib/v20180525/models.rb', line 5555

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
# File 'lib/v20180525/models.rb', line 5562

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