Class: TencentCloud::Tke::V20180525::DescribeEKSClusterCredentialResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeEKSClusterCredentialResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeEKSClusterCredential返回参数结构体
Instance Attribute Summary collapse
- #Addresses ⇒ Object
- #Credential ⇒ Object
- #InternalLB ⇒ Object
- #Kubeconfig ⇒ Object
- #ProxyLB ⇒ Object
- #PublicLB ⇒ Object
- #RequestId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(addresses = nil, credential = nil, publiclb = nil, internallb = nil, proxylb = nil, kubeconfig = nil, requestid = nil) ⇒ DescribeEKSClusterCredentialResponse
constructor
A new instance of DescribeEKSClusterCredentialResponse.
Constructor Details
#initialize(addresses = nil, credential = nil, publiclb = nil, internallb = nil, proxylb = nil, kubeconfig = nil, requestid = nil) ⇒ DescribeEKSClusterCredentialResponse
Returns a new instance of DescribeEKSClusterCredentialResponse.
7677 7678 7679 7680 7681 7682 7683 7684 7685 |
# File 'lib/v20180525/models.rb', line 7677 def initialize(addresses=nil, credential=nil, publiclb=nil, internallb=nil, proxylb=nil, kubeconfig=nil, requestid=nil) @Addresses = addresses @Credential = credential @PublicLB = publiclb @InternalLB = internallb @ProxyLB = proxylb @Kubeconfig = kubeconfig @RequestId = requestid end |
Instance Attribute Details
#Addresses ⇒ Object
7675 7676 7677 |
# File 'lib/v20180525/models.rb', line 7675 def Addresses @Addresses end |
#Credential ⇒ Object
7675 7676 7677 |
# File 'lib/v20180525/models.rb', line 7675 def Credential @Credential end |
#InternalLB ⇒ Object
7675 7676 7677 |
# File 'lib/v20180525/models.rb', line 7675 def InternalLB @InternalLB end |
#Kubeconfig ⇒ Object
7675 7676 7677 |
# File 'lib/v20180525/models.rb', line 7675 def Kubeconfig @Kubeconfig end |
#ProxyLB ⇒ Object
7675 7676 7677 |
# File 'lib/v20180525/models.rb', line 7675 def ProxyLB @ProxyLB end |
#PublicLB ⇒ Object
7675 7676 7677 |
# File 'lib/v20180525/models.rb', line 7675 def PublicLB @PublicLB end |
#RequestId ⇒ Object
7675 7676 7677 |
# File 'lib/v20180525/models.rb', line 7675 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 |
# File 'lib/v20180525/models.rb', line 7687 def deserialize(params) unless params['Addresses'].nil? @Addresses = [] params['Addresses'].each do |i| ipaddress_tmp = IPAddress.new ipaddress_tmp.deserialize(i) @Addresses << ipaddress_tmp end end unless params['Credential'].nil? @Credential = ClusterCredential.new @Credential.deserialize(params['Credential']) end unless params['PublicLB'].nil? @PublicLB = ClusterPublicLB.new @PublicLB.deserialize(params['PublicLB']) end unless params['InternalLB'].nil? @InternalLB = ClusterInternalLB.new @InternalLB.deserialize(params['InternalLB']) end @ProxyLB = params['ProxyLB'] @Kubeconfig = params['Kubeconfig'] @RequestId = params['RequestId'] end |