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.



5570
5571
5572
5573
# File 'lib/v20180525/models.rb', line 5570

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

Instance Attribute Details

#CommonNamesObject

Parameters:

  • CommonNames:

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

  • RequestId:

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



5568
5569
5570
# File 'lib/v20180525/models.rb', line 5568

def CommonNames
  @CommonNames
end

#RequestIdObject

Parameters:

  • CommonNames:

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

  • RequestId:

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



5568
5569
5570
# File 'lib/v20180525/models.rb', line 5568

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
# File 'lib/v20180525/models.rb', line 5575

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